>         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...

/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/5a3520d7-3cd7-4d08-bd1c-ba6936d46d02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to