Core Modules with Puppet pre6?

19 views
Skip to first unread message

Martin Alfke

unread,
Jun 21, 2019, 3:51:13 AM6/21/19
to puppet...@googlegroups.com
Hi,

has anyone tried what will happen if we place the Puppet 6 core modules in a Puppetfile when still having a Puppet 5.x agent?
Will the agent still use the built-in types/providers?

e.g.
Puppetfile:
mod 'puppetlabs/mount_core', :latest
mod 'puppetlabs/augeas_core', :latest
mod 'puppetlabs/zfs_core', :latest
mod 'puppetlabs/yumrepo_core', :latest
mod 'puppetlabs/host_core', :latest
mod 'puppetlabs/selinux_core', :latest
mod 'puppetlabs/zone_core', :latest
mod 'puppetlabs/cron_core', :latest
mod 'puppetlabs/sshkeys_core', :latest
mod 'puppetlabs/nagios_core', :latest
mod 'puppetlabs/mailalias_core', :latest
mod 'puppetlabs/macdslocal_core', :latest
mod 'puppetlabs/maillist_core', :latest
mod 'puppetlabs/k5login_core', :latest

Many thanks,
Martin

Josh Cooper

unread,
Jun 21, 2019, 4:00:55 PM6/21/19
to puppet...@googlegroups.com
> --
> 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/7213AA1A-AE0F-4E03-8135-78D57B02C3BD%40getmailspring.com.
> For more options, visit https://groups.google.com/d/optout.

I would expect puppetserver6 to use the core modules during
compilation, while all agents should pluginsync the core modules and
use their type/providers during catalog application, taking precedent
over the versions in the puppet-agent 5.x package. This is one of the
reasons we had to make the yumrepo_core module retain compatiblility
with 5.x agents:
https://github.com/puppetlabs/puppetlabs-yumrepo_core/commit/d751a380d7aea5ba88b3571a342039dfae3621e4

Josh
Reply all
Reply to author
Forward
0 new messages