confine File.exists?(/path/to/binary)
HiI know it's possible to confine a fact by other facts like "confine :operatingsystem => :Fedora".But i have a fact which requires a binary from a rpm package which is only installed by puppet. For the first puppet run tries to execute the not-yet installed binary and fails.is it possible to use something like this to confine based on existing files?confine File.exists?(/path/to/binary)
confine :exists => "/path/to/binary"HiI know it's possible to confine a fact by other facts like "confine :operatingsystem => :Fedora".But i have a fact which requires a binary from a rpm package which is only installed by puppet. For the first puppet run tries to execute the not-yet installed binary and fails.is it possible to use something like this to confine based on existing files?
confine File.exists?(/path/to/binary)
Or what is the best practice for such facts which rely on things installed by puppet manifests?- Thomas
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/3cc22965-5c92-49da-a370-36589d6c0dc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.