On 04/19/2011 11:52 PM, fafaforza wrote: > One last somewhat unrelated question, but one that might help someone > with a similar setup: > > How do I ensure that nss_ldap is installed only after 'sudo', as > otherwise, installing nss_ldap from ports would trigger the openldap > and sudo packages, which I don't want. > > "require => Package['port-sudo']" wouldn't work, and I don't see an > 'onlyif' or similar parameter under "package"
Yes it does. What semantics are you gunning for? "Only install X on boxes where Y is getting installed" is a tough call. You could use custom facts to find out about your Y. Otherwise, the require is a nice choice, because your catalog should fail where Y is not in the catalog. HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.