On Tue, May 1, 2012 at 10:38 PM, bainar <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.