Upgrading to Puppet 4 - what about the modules

45 views
Skip to first unread message

Ugo Bellavance

unread,
May 3, 2017, 9:44:04 PM5/3/17
to Puppet Users
Hi,

I'm currently running a puppet 3 server that serves about 20 puppet 3 clients.  I use a number of modules, and most of them are not compatible with puppet 4.  There is at least one module that is not compatible with puppet 4. Is puppet 4 backwards compatible somehow or do we need to have all our modules puppet 4-ready before upgrading?

Thanks,

Ugo

Rob Nelson

unread,
May 3, 2017, 11:11:23 PM5/3/17
to puppet...@googlegroups.com
Generally speaking, modules created for Puppet 3 are likely to work in puppet 4 without changes. Of course, that's not to say that all will, you will have to test and make sure yourself since the module author has not.

However, if a module on the forge does not support puppet 3 by now, that may be a warning sign that development has stalled or the module has been migrated to another namespace. You should attempt to discover if either are the case, so you can plan accordingly - there's no guarantee a module designed for Puppet 3 that is incidentally compatible with Puppet 4 will also be compatible with future versions of puppet 5, and a lack of bug fixes may be problematic as well. Something to explore, anyway.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/fc974974-b393-46d9-a5f2-4670ccd7d686%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Rob Nelson

mobios

unread,
May 4, 2017, 2:35:17 AM5/4/17
to Puppet Users
As i updated to puppet 4 i had to modify my modules to be puppet 4 ready.
 
   For example:

   All custom defines need to be in there own manifest and cant be included in other manifests. 

   Regards
   mobios

Ugo Bellavance

unread,
May 4, 2017, 9:51:35 PM5/4/17
to Puppet Users
Oh, so modules that claim to be non-puppet3-compatible from now on is because they implemented things that are only supported in Puppet 4?  It's clearer in my head now.  I'll try the modules I use under puppet 4 and see which break.  I'm pretty sure that my current puppet setup will not work as I still use import statements.  It was deprecated in puppet3, I guess it is not supported in 4?

Thanks,

Ugo

Henrik Lindberg

unread,
May 5, 2017, 9:50:21 AM5/5/17
to puppet...@googlegroups.com
While being a recommendation that is not true in general. If you don't
follow that rule, there are other rules you must follow.

- henrik

--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

Reply all
Reply to author
Forward
0 new messages