Le jeudi 15 janvier 2015 11:24:27 UTC+1, simon.o...@gmail.com a écrit : > > > exec {'rpm updates': >> command => '/bin/rpm -Uvh /tmp/facter-1.7.6-1.el6.x86_64.rpm', >> onlyif => "/bin/rpm -q facter and ('/usr/bin/facter -v' != >> facter-1.7.6)", >> } >> >> > I think the problem lies in the onlyif rule, have you tried running that > command on a machine? It should be a valid command and result in an exit > code 0 to be true and nonzero to be false... > > yes it's my problem my onlyif rule but i not understand where is the problem ...
regards > /Simon > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c6ea5eb7-c3d1-4a85-9a32-eded69f76daf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.