Dan White
2013-Apr-12 12:55 UTC
[Puppet Users] puppet module upgrade dilemma with Subversion
I use Subversion to maintain the $confdir of my puppet-masters and I just discovered that when one does an upgrade, the entire tree is blown away and replaced -- all my .svn directories are gone. I see nothing in the documentation (man page and such) to address this. Suggestions ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Felix Frank
2013-Apr-14 18:12 UTC
Re: [Puppet Users] puppet module upgrade dilemma with Subversion
On 04/12/2013 02:55 PM, Dan White wrote:> I use Subversion to maintain the $confdir of my puppet-masters and I just discovered that when one does an upgrade, the entire tree is blown away and replaced -- all my .svn directories are gone. > > I see nothing in the documentation (man page and such) to address this. > > Suggestions ?Subversion may not be the cleanest approach anyhow. I hear they invented that configuration management system... ;-) Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Ellison Marks
2013-Apr-15 07:36 UTC
[Puppet Users] Re: puppet module upgrade dilemma with Subversion
What OS are you on, and what package manager are you using to install/upgrade puppet? On Friday, April 12, 2013 5:55:52 AM UTC-7, Ygor wrote:> > I use Subversion to maintain the $confdir of my puppet-masters and I just > discovered that when one does an upgrade, the entire tree is blown away and > replaced -- all my .svn directories are gone. > > I see nothing in the documentation (man page and such) to address this. > > Suggestions ? > > “Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Dan White
2013-Apr-15 12:48 UTC
Re: [Puppet Users] Re: puppet module upgrade dilemma with Subversion
Red Hat Enterprise Linux 5 and yum “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) ----- Original Message ----- From: "Ellison Marks" <gtyaoi@gmail.com> To: puppet-users@googlegroups.com Sent: Monday, April 15, 2013 3:36:53 AM Subject: [Puppet Users] Re: puppet module upgrade dilemma with Subversion What OS are you on, and what package manager are you using to install/upgrade puppet? On Friday, April 12, 2013 5:55:52 AM UTC-7, Ygor wrote: I use Subversion to maintain the $confdir of my puppet-masters and I just discovered that when one does an upgrade, the entire tree is blown away and replaced -- all my .svn directories are gone. I see nothing in the documentation (man page and such) to address this. Suggestions ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en . For more options, visit https://groups.google.com/groups/opt_out . -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Nic Waller
2013-Jul-24 03:52 UTC
[Puppet Users] Re: puppet module upgrade dilemma with Subversion
I also have my puppetmaster files in Subversion, and I''m running into the same problem with upgrading modules from Puppet Forge. This question on Stack Exchange (http://stackoverflow.com/q/5664666/190298) doesn''t have any fancy solutions either. Here are some of the ideas I''ve come up with so far: - Write a shell script to automate the process of deleting, committing, re-downloading, re-committing, so that it takes place as quickly as possible. - Set up a "QA" environment based on the same SVN repository. Do the module upgrade here and commit. Then a single "svn up" on the production files will bring them all in line. - Use git instead of subversion. It doesn''t suffer from the same source tree pollution that .svn folders do. - It might be possible to have a git working copy instead of the svn working copy, but add the .git hidden folder to svn:ignore. Then git could be used to pull updates from GitHub, where most of the puppet forge modules are developed. -- Nic On Friday, 12 April 2013 05:55:52 UTC-7, Ygor wrote:> > I use Subversion to maintain the $confdir of my puppet-masters and I just > discovered that when one does an upgrade, the entire tree is blown away and > replaced -- all my .svn directories are gone. > > I see nothing in the documentation (man page and such) to address this. > > Suggestions ? > > “Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.