Veewee, Vagrant, Puppet, Erlang and RabbitMQ [closed]
I ran into this same issue after upgrading to Puppet 3.0.
From the release notes I eventually found this:
Due to misleading values, the HOME and USER environment variables are now unset when running commands.
The solution that worked for me was adding environment => "HOME=/root"
to the Exec resource:
exec{"rabbitmq-plugins":
path => "/usr/bin:/usr/sbin:/bin",
environment => "HOME=/root",
command => "rabbitmq-plugins enable rabbitmq_management",
require => Package["rabbitmq-server"]
}
Hope this helps!