jmp242
2014-Oct-01 12:35 UTC
[Puppet Users] Migrate from config file environments to directory environments
Ok, I use TheForeman, and recently updated from puppet 3.4.3 to 3.7.1. I also updated TheForeman to 1.6.0. I have had config file environments. One wrinkle was I had modules as $confdir/environments/dev - and all the modules are under here, no sub modules dir. I tried to migrate to directory environments by moving my modules to $confdir/environments/dev/modules for instance, and removing the config definitions in puppet.conf and adding environmentpath=$confdir/environments to puppet.conf.I restarted apache, but my clients could no longer find their modules. I've poured over the docs, but can't see what I did wrong. Is there a doc with step by step example of converting the type of environments to be puppet4 compatible? Because of TheForeman, I don't have anything in site.pp... But maybe I need blank site.pp in each environment? Can Puppet work without a default manifest? The docs imply it should process a blank one if one doesn't exist... Do I have to have an environment.conf that specifies an empty site.pp? It is really not clear from the docs. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/68d765ab-ac8a-442a-bb38-0ae0c6933d59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.