On Tue, May 1, 2012 at 10:38 PM, bainar <andrew.r.b...@gmail.com> wrote:

> Can anyone tell me if it is possible to explicitly specify the only
> allowed packages on a host (modules on a node?) - i.e. a white list?
> This is for hardening a VPS in the cloud.
>
>
Shouldn't it work using a resource default, something like:

Package {
 ensure => absent,
}

$whitelist = ["foo", "bar", "baz"]

package { $whitelist:
 ensure => present,
}



-- 
Grtz,
Jörgen Maas

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

Reply via email to