Ohad Levy wrote: > sure, I know / do this, but I though that one of the goals of puppet > is to avoid ssh and a for loop.... but seriously, what happens if ssh > doesn't work? ( I mean, usually you need push when something is > broken) > > or you need to deploy something only on a subset of machines, restart > a service, or whatever?
dsh -- http://www.netfort.gr.jp/~dancer/software/dsh.html Granted, it only works if ssh does, but it does let you shell to pre-defined groups of systems, arbitrary lists of machines, and optionally run them concurrently. Some sharper person than me might work up a clean way of managing the dsh configuration files with exported resources -- one file containing all machines managed by puppet in /etc/dsh/machines.list and/or /etc/dsh/group/all, another file per group of systems identified by hostgroup ( http://reductivelabs.com/trac/puppet/wiki/Recipes/HostgroupFact ) into /etc/dsh/group/${group}, etc. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
