Hi All,
I have a requirement to initiate puppet runs of different services in
a phase wise manner. I have the following setup in my nodes.pp
node /^(host1|host2)\.domain\.local$/ inherits basenode {
include role_service1
}
node /^(host3|host4)\.domain\.local$/ inherits basenode {
include role_service2
}
Now i want to run puppet on host1 and host3 and then on host2 and
host4. In short i would like to group the hosts into phases
phase1 - host1|host3
phase2 - host2|host4
I would like to make a class something like phase1 and phase2 and then
use mcollective to initiate a puppet run:
mco puppetd -Wphase1 runonce.
I am unable to get an idea how do i accomplish this or change anything
in my manifests. Any suggestions would be of great help.
Regards,
Kevin
--
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.