In regard to: [Puppet Users] upgrading puppet, Paolo said (at 2:08am on Nov...:
> I have an old puppet infrastructure that runs puppet 0.24.4 (client and
> server) and I was finally given the go ahead to upgrade (both client and
> server) :-) I have a few questions:
> 1. To which version should I upgrade puppet to? I was thinking of upgrading
> to the latest 2.6 version...
I think the answer is, "it depends".
I personally would want to upgrade to puppet 3.0.x. Since you''re going
to go through the pain of upgrading anyway, it would be best to upgrade
to what''s current, so you avoid a separate upgrade from 2.6 or 2.7 to
3.x. Of course, there''s always a chance that doing separate upgrades
will be less work overall, but I''m skeptical about that in this case.
The main "gotcha" is that 3.x introduces a number of incompatible, so
it might require changes to some of your classes to upgrade to 3.x than
it would to go to 2.6. It all depends on what features you''ve made
use of and how your classes are written.
If you don''t decide to upgrade to 3.x, you should at least consider
2.7. I can''t think of any compelling reason to choose 2.6 over 2.7,
at this point.
> 2. Anyone knows of any pitfalls I should watch out for in upgrading from
> such an old version?
Scoping with variable names and facts is probably the big one.
Another one that we had to adjust is classes with a - in the name. That
even breaks in some of the later 2.7 versions, though there''s a setting
in
2.7.20 that allows it to work again.
My recommendation is that you install 3.0.x somewhere, install
puppet-lint, and use puppet-lint and "puppet parser validate" on your
manifests. Study the output from both, and adjust accordingly.
Tim
--
Tim Mooney Tim.Mooney@ndsu.edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
--
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.