On Dec 18, 2010, at 3:50 AM, Ken Barber wrote:

> For the record, an alternative that I don't believe was mentioned is to do 
> something like:
> 
> if !defined(Package["foo"]) {
>   package {"foo": ensure => installed }
> }

In general this is a bad idea though.  Mostly because it can surprise you in 
bad ways.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to