Re: [Puppet Users] Upgrading from 0.25.1 to 3.7.4

2015-04-15 Thread James Perry
Hunter:
Thanks for the bit about the classes.txt. file. That was exactly what I was
needing.

Martin:
I am in the process of doing that work now. I have been playing with
Foreman as a front end to be able to use the smart parameters to clean up a
lot of classes. The import and inherits are plentiful!

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAOU0SJTvezT%2B_FDX8jeunFz_O9HVR783aNUfCdXYZ1AFZK%3D4mw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Upgrading from 0.25.1 to 3.7.4

2015-04-01 Thread Martin Alfke
Hi James,

a horrible task (I am still busy at a customer upgrading the puppet DSL code 
from 2.7.23).

You want to get rid of:
- non-scoped variables (in manifests, modules and templates)
- import in class files

You might need to:
- clean up node classification
- rewrite classes to have parameters
- rewrite self developed facts, functions, types, providers

And you definitely want to have rspec tests in place.

Good luck.

Martin

P.S. I know of at least one installation where they did not upgrade, but a 
complete rewrite and a new puppet master.

On 01 Apr 2015, at 17:17, James Perry  wrote:

> I have been tasked to upgrade puppet 0.25.1 to 3.7.4.  There has been a lot 
> of past admins tweaking this puppet server and most of the existing modules 
> are all ad-hoc creations. I want to ensure I do not miss any expected 
> dependencies, but I also do not have months to manually traverse the entire 
> Puppet site.pp file by hand.
> 
> Is there some tool, script or puppet command that will show me a quick 
> digestion for each node as to what modules it includes and inherits? 
> 
> Thanks!
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/1971bf52-6c44-4b96-80fb-72c9dc096355%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/703D6255-BAE5-4648-855E-68BD1D7689E5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Upgrading from 0.25.1 to 3.7.4

2015-04-01 Thread Hunter Haugen
Wow, that's a pretty big jump :).

It's not super terribly helpful, but each node should have a "classfile"
that is often in the $vardir/classes.txt or $statedir/classes.txt that
contains all the classes a node has applied to it in the last puppet run. I
think `puppetd --configprint classfile` on a node will mention where it is.



-Hunter

On Wed, Apr 1, 2015 at 8:17 AM, James Perry  wrote:

> I have been tasked to upgrade puppet 0.25.1 to 3.7.4.  There has been a
> lot of past admins tweaking this puppet server and most of the existing
> modules are all ad-hoc creations. I want to ensure I do not miss any
> expected dependencies, but I also do not have months to manually traverse
> the entire Puppet site.pp file by hand.
>
> Is there some tool, script or puppet command that will show me a quick
> digestion for each node as to what modules it includes and inherits?
>
> Thanks!
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/1971bf52-6c44-4b96-80fb-72c9dc096355%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAJaQvGA6KZJvGv0kaD-XN7W3bTFe1CdQC8SNHDj_sLegXyHgOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Upgrading from 0.25.1 to 3.7.4

2015-04-01 Thread James Perry
I have been tasked to upgrade puppet 0.25.1 to 3.7.4.  There has been a lot 
of past admins tweaking this puppet server and most of the existing modules 
are all ad-hoc creations. I want to ensure I do not miss any expected 
dependencies, but I also do not have months to manually traverse the entire 
Puppet site.pp file by hand.

Is there some tool, script or puppet command that will show me a quick 
digestion for each node as to what modules it includes and inherits? 

Thanks!

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1971bf52-6c44-4b96-80fb-72c9dc096355%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.