All, I''m looking for additional information regarding Puppet and Hudson. Specifically, I am looking to automatically push successful environment builds (say for Dev, QA, Production environments) from Hudson to Puppet. Thus, when a puppet configuration is checked into Hudson and the build succeeds, I want that configuration pushed via Puppet to its managed servers. A RedMonk podcast (http:// www.redmonk.com/cote/2008/06/11/puppet-at-google-redmonk-radio-episode-48/) indicates Google uses this setup, and a few users here have alluded they have a similar setup. However, I cannot find any documentation on how to integrate the two. A short how-to or tutorial would be appreciated! Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Wed, Dec 29, 2010 at 7:28 AM, Scott <blueseas318@gmail.com> wrote:> All, > > I''m looking for additional information regarding Puppet and Hudson. > Specifically, I am looking to automatically push successful > environment builds (say for Dev, QA, Production environments) from > Hudson to Puppet. Thus, when a puppet configuration is checked into > Hudson and the build succeeds, I want that configuration pushed via > Puppet to its managed servers. A RedMonk podcast (http:// > www.redmonk.com/cote/2008/06/11/puppet-at-google-redmonk-radio-episode-48/) > indicates Google uses this setup, and a few users here have alluded > they have a similar setup. However, I cannot find any documentation > on how to integrate the two. A short how-to or tutorial would be > appreciated!I think I was on that podcast, but can''t bring myself to suffer through listening to my own voice right now :) and I mustn''t have been clear. We didn''t use Hudson at Google with Puppet. We manually tested due to having so many laptop installations and operating systems like OS X that are difficult to test full installs programmatically with. We used environments for the release process, along the lines of Debian with unstable -> testing -> stable, and had things set up so you could PXE boot against specific servers and environments. If that process succeeded, we would promote the given environment through the release process. I do know other people have set up CI with Puppet/Hudson, so hopefully they''ll chime in here soon.> > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hey Scott, I wrote a puppet-sync tool which syncs a git branch from Git to puppet masters. http://sts.ono.at/blog/2010/12/22/synchronize-puppet-with-git/ Maybe you could trigger it from hudson and sync the build from the Git repository. Only thing which might still be missing, is to specify a revision of a branch. Have a look at it and tell me if its useable and whether you need a parameter to sync a specific version of a Git branch. If so I''ll just patch it. Regards, Stefan. On Dec 29, 2010, at 16:28 , Scott wrote:> All, > > I''m looking for additional information regarding Puppet and Hudson. > Specifically, I am looking to automatically push successful > environment builds (say for Dev, QA, Production environments) from > Hudson to Puppet. Thus, when a puppet configuration is checked into > Hudson and the build succeeds, I want that configuration pushed via > Puppet to its managed servers. A RedMonk podcast (http:// > www.redmonk.com/cote/2008/06/11/puppet-at-google-redmonk-radio-episode-48/) > indicates Google uses this setup, and a few users here have alluded > they have a similar setup. However, I cannot find any documentation > on how to integrate the two. A short how-to or tutorial would be > appreciated! > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >-- Stefan Schlesinger ////////////////////////////////////////// /////// sts@ono.at +43.676.4911123 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Thanks, Nigel. That actually gives me a few more ideas re: PXE booting against specific bootstrap images. I''ll keep that in mind! On Dec 29, 12:04 pm, Nigel Kersten <ni...@puppetlabs.com> wrote:> On Wed, Dec 29, 2010 at 7:28 AM, Scott <blueseas...@gmail.com> wrote: > > All, > > > I''m looking for additional information regarding Puppet and Hudson. > > Specifically, I am looking to automatically push successful > > environment builds (say for Dev, QA, Production environments) from > > Hudson to Puppet. Thus, when a puppet configuration is checked into > > Hudson and the build succeeds, I want that configuration pushed via > > Puppet to its managed servers. A RedMonk podcast (http:// > >www.redmonk.com/cote/2008/06/11/puppet-at-google-redmonk-radio-episod...) > > indicates Google uses this setup, and a few users here have alluded > > they have a similar setup. However, I cannot find any documentation > > on how to integrate the two. A short how-to or tutorial would be > > appreciated! > > I think I was on that podcast, but can''t bring myself to suffer > through listening to my own voice right now :) and I mustn''t have been > clear. We didn''t use Hudson at Google with Puppet. > > We manually tested due to having so many laptop installations and > operating systems like OS X that are difficult to test full installs > programmatically with. > > We used environments for the release process, along the lines of > Debian with unstable -> testing -> stable, and had things set up so > you could PXE boot against specific servers and environments. If that > process succeeded, we would promote the given environment through the > release process. > > I do know other people have set up CI with Puppet/Hudson, so hopefully > they''ll chime in here soon. > > > > > > > > > > > Thanks in advance. > > > -- > > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Stefan, This is a great start, thank you! This is what I needed; once I check in the source code revision (and it passes the requisite tests) I can have Hudson trigger the sync tool on the puppet masters. It will work as-is; but if you could add the option for a specific revision I would be grateful as it would make reverting to an earlier version much easier. Thanks again. On Dec 29, 7:13 pm, Stefan Schlesinger <s...@ono.at> wrote:> Hey Scott, > > I wrote a puppet-sync tool which syncs a git branch from Git to puppet > masters.http://sts.ono.at/blog/2010/12/22/synchronize-puppet-with-git/ > > Maybe you could trigger it from hudson and sync the build from the Git > repository. Only thing which might still be missing, is to specify a > revision of a branch. > > Have a look at it and tell me if its useable and whether you need a > parameter to sync a specific version of a Git branch. If so I''ll just > patch it. > > Regards, Stefan. > > On Dec 29, 2010, at 16:28 , Scott wrote: > > > > > > > > > > > All, > > > I''m looking for additional information regarding Puppet and Hudson. > > Specifically, I am looking to automatically push successful > > environment builds (say for Dev, QA, Production environments) from > > Hudson to Puppet. Thus, when a puppet configuration is checked into > > Hudson and the build succeeds, I want that configuration pushed via > > Puppet to its managed servers. A RedMonk podcast (http:// > >www.redmonk.com/cote/2008/06/11/puppet-at-google-redmonk-radio-episod...) > > indicates Google uses this setup, and a few users here have alluded > > they have a similar setup. However, I cannot find any documentation > > on how to integrate the two. A short how-to or tutorial would be > > appreciated! > > > Thanks in advance. > > > -- > > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en. > > -- > Stefan Schlesinger ////////////////////////////////////////// /////// > s...@ono.at +43.676.4911123-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
* Scott [2010-12-29]:> I''m looking for additional information regarding Puppet and Hudson.I blogged about our company''s puppet setup here: http://blog.nistu.de/Continuous_Integration_for_Puppet.html Since that post I wrote cucumber-puppet, allowing me to implement some kind of automated test suite and added a deploy job to hudson, automatically deploying successful builds to our puppetmaster''s testing environment. We added a manual step, updating the production environment from the testing environment. The former is a git clone from the latter, so a git pull is all it takes to update production. HTH, Nikolay -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Would it be better to be able to have checkout a specific revision, or should I rather add support for checking out a tagged version? Regards, Stefan. On Dec 30, 2010, at 02:57 , Scott wrote:> Stefan, > > This is a great start, thank you! This is what I needed; once I check > in the source code revision (and it passes the requisite tests) I can > have Hudson trigger the sync tool on the puppet masters. It will work > as-is; but if you could add the option for a specific revision I would > be grateful as it would make reverting to an earlier version much > easier. > > Thanks again. > > On Dec 29, 7:13 pm, Stefan Schlesinger <s...@ono.at> wrote: >> Hey Scott, >> >> I wrote a puppet-sync tool which syncs a git branch from Git to puppet >> masters.http://sts.ono.at/blog/2010/12/22/synchronize-puppet-with-git/ >> >> Maybe you could trigger it from hudson and sync the build from the Git >> repository. Only thing which might still be missing, is to specify a >> revision of a branch. >> >> Have a look at it and tell me if its useable and whether you need a >> parameter to sync a specific version of a Git branch. If so I''ll just >> patch it. >> >> Regards, Stefan. >> >> On Dec 29, 2010, at 16:28 , Scott wrote: >> >> >> >> >> >> >> >> >> >>> All, >> >>> I''m looking for additional information regarding Puppet and Hudson. >>> Specifically, I am looking to automatically push successful >>> environment builds (say for Dev, QA, Production environments) from >>> Hudson to Puppet. Thus, when a puppet configuration is checked into >>> Hudson and the build succeeds, I want that configuration pushed via >>> Puppet to its managed servers. A RedMonk podcast (http:// >>> www.redmonk.com/cote/2008/06/11/puppet-at-google-redmonk-radio-episod...) >>> indicates Google uses this setup, and a few users here have alluded >>> they have a similar setup. However, I cannot find any documentation >>> on how to integrate the two. A short how-to or tutorial would be >>> appreciated! >> >>> Thanks in advance. >> >>> -- >>> You received this message because you are subscribed to the Google Groups "Puppet Users" group. >>> To post to this group, send email to puppet-users@googlegroups.com. >>> To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. >>> For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en. >> >> -- >> Stefan Schlesinger ////////////////////////////////////////// /////// >> s...@ono.at +43.676.4911123 > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >-- Stefan Schlesinger ////////////////////////////////////////// /////// sts@ono.at +43.676.4911123 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Thu, 30 Dec 2010, Stefan Schlesinger wrote:> Would it be better to be able to have checkout a specific revision, or > should I rather add support for checking out a tagged version?Both are useful. Some people might find it more convenient to switch from one tag to another, while other people might find it more convenient to time travel within the history of a single branch; the time travelers might occasionally want to switch from one branch to another. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.