Module has been updated to use use -q flag instead of array slices. This
has been solved.
On Wednesday, November 5, 2014 3:40:34 PM UTC-8, Jerry Higgs wrote:
>
> It appears that there is an error in:
>
> puppetlabs-rabbitmq <https://github.com/puppetlabs/puppetlabs-rabbitmq&g
/ provider
<https://github.com/puppetlabs/puppetlabs-rabbitmq/tree/master/lib/puppet/provider>
/ rabbitmq_vhost
<https://github.com/puppetlabs/puppetlabs-rabbitmq/tree/master/lib/puppet/provider/rabbitmq_vhost>
/ *rabbitmqctl.rb*
On Wednesday, November 5, 2014 12:40:08 PM UTC-8, Jer
In lastest version of rabbitmqctl the "...done" line has been removed,
which is causing errors:
In the rabbitmq provider they currently use:
rabbitmqctl('list_vhosts').split(/\n/)[1..-2]
*Before:*
# rabbitmqctl list_vhosts
Listing vhosts ...
/
/mcollective
...done.
The provider needs to be
sssd (???)
├── sudo (???)
├── sysctl (???)
└── wfsudoers (???)
/opt/puppet/share/puppet/modules
├── puppetlabs-pe_accounts (v1.0.4)
├── puppetlabs-pe_compliance (v0.0.7)
├── puppetlabs-pe_mcollective (v0.0.54)
└── puppetlabs-stdlib (v3.1.1)
So when I run that manifest on the Redhat installat
Thanks Silviu, you was right, it is definitely a path problem with tar
and puppet seems to ignore the path (?)
I solved it by using gunzip and tar after another (piped):
$unzip = "/usr/bin/unzip"
$tar= "/usr/sbin/tar"
$bunzip = "/usr/bin/bunzip2"
$gunzip = "/usr/bin/gunzip"
$extra
Thanks for your tip! Path is set early in base inheritance class to:
Exec { path => "/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/
sbin:/sbin" }
But even if I set this path env var in the exec block it fails:
# here I always get an error
exec { "extract-$name":
cwd => "/usr/loca
I do have a really strange issue with exec a tar command with puppet
2.6.0. If I run it with puppetmasterd I get the following error
message:
(//my.domain.net//Stage[main]/Workerzone/Build::Install[top]/
Exec[extract-top]/returns) change from notrun to 0 failed: /bin/bash -
c '/usr/sbin/tar -xzvf