Re: [Puppet Users] downgrading package with puppet

2016-02-26 Thread Vladislav Rusanov
Hi! YUM provider has problems with downgrade - https://groups.google.com/forum/#!topic/puppet-users/3Nkx1gtcGyc Maybe it is a good idea to manually remove (and then run puppet) or downgrade the package, cause downgrading is not

Re: [Puppet Users] puppet exec is not working

2016-03-01 Thread Vladislav Rusanov
Hi! Just add backslash before $: >> exec { "file_system_cleanup": >> command => "touch /root/file_system_cleanup.log", >> path=> '/bin/:/sbin/:/usr/bin/:/usr/sbin', >> onlyif => "test `df -h / | tail -1 | awk '{print \$5}' | >> sed 's/%//g'` -g