On Thu, Dec 20, 2012 at 8:11 AM, Steve Button <[email protected]> wrote:
> Hi,
>
> I've written a new resolv class, but I only want it to get pushed out (for
> instance) UAT servers for now. Or perhaps just servers which have apache
> installed, or just the ones which are part of project xyz.
There are a couple of ways how you can achieve that depending
on your existing setup of Puppet:
* via ENC (external node classifier)
http://docs.puppetlabs.com/guides/external_nodes.html
* node definition
http://docs.puppetlabs.com/puppet/2.7/reference/lang_node_definitions.html
* good ol' case statements in your site.pp
case $::fqdn {
....
}
* manual execution of puppet apply with that single class given to it
echo 'your_class' | puppet apply
Please let us know a bit more about your setup.
Thanks,
Roman.
--
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.