On Sunday, November 18, 2012 1:36:18 PM UTC-6, Rajul Vora wrote: > > > Trying to install mcollective with RabbitMQ. The following package install > produces the errors listed below in Bold. > > I know exec resource unsets HOME and USER now starting with 3.0 and the > workaround for that is to set "environment => 'HOME=/root'" for the exec > resource. > > It looks like it is the same situation when running post-installation > script during package install. And there doesn't seem to be any workaround > for that since one can not pass environment parameter to package install. > > Any ideas how to solve this? > > Report the problem to the package provider; it is his. No package should be sensitive to the environment in which the package manager runs. If it is, that defeats a key objective of using packages in the first place: reliable, consistent installs. Indeed, that's exactly what has happened to you.
In the meantime, your best alternative is to build a local, bugfixed version of the package, and to load it from your own local repository in preference to the buggy one. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/_wQ3gCrOnGEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
