On Jul 12, 2010, at 6:31 PM, nate wrote: > On Jul 12, 9:33 am, bmort <propertywholesa...@gmail.com> wrote: >> Whew.... I am struggling on a puppet architecture design learning >> curve. >> >> I believe if i could find a good 'stand alone' example, it would >> clarify a lot of the questions I have and it would help me set up a >> test machine. >> >> I hoping to find an example of a stand alone that has a process flow >> similar to: >> >> - start puppet with Capistrano >> - puppet checks the 'repository' and determines changes have been >> made >> - applies any changes >> >> Please share any instructions or good reads ... >> >> I am looking to support a set of servers that support 10+ clients, >> each client has a dev, test and production server for 5 different web >> applications. >> >> Regards. > > i'm sort of looking to do similar things. basically, i'm trying to > hash out the best way to run puppet without a puppetmaster. > > i support various businesses with mostly lenient outbound firewalls, > though some restrict traffic on high ports and the like.
What about running the puppetmaster on a low port? > one way around this is to run puppet locally. i have some basic > groundwork to keep all the manifests and modules, etc. in a git repo > which then gets checked out via http by the clients. > > i'm looking to use git hooks to run puppet. something simple like this > seemed to work, though puppet didn't actually run on the client. no > error checking or anything in this yet… just quick and dirty. > > #!/bin/bash > # post-checkout testing > # stored in .git/hooks/post-checkout > # 100712, initial version, nate > # > /usr/bin/logger -t PUPPET -i "running puppet..." > /usr/bin/puppet -v /etc/pconfig/manifests/site.pp > /usr/bin/logger -t PUPPET -i "puppet run complete" > > > > instead of using capistrano, would a post pull/clone hook do what you > want? > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-us...@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. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.