On Fri, 16 May 2014 07:28:23 +0200 David Schmitt <da...@dasz.at> wrote:
> easy solution: create a local site module (e.g. "matthew") an put > every thing there. Manage it like all other modules. I did that at > > https://github.com/DavidS/dasz-configuration/tree/master/modules/dasz > and never looked back. I second that! And it's also quite easy to separate modules that are managed by puppet (or librarian, or r10k, or...) from those which would be "custom" ones, from a private VCS for instance, into different "modulepath" directories. I have this in my [master] (puppet 3.4) : manifest = $confdir/environments/$environment/manifests/site.pp modulepath = $confdir/environments/$environment/modules:$confdir/environments/$environment/site With r10k and git branch mapping to $environment, with the "site" modules managed inside git alongside the Puppetfile, you'll never look back :-) With these tools, hiera and/or an ENC, nowadays it's very easy to have an empty site.pp and no (or empty) node blocks. All nice 'n clean ;-) Also, if you might move manifests between custom modules, I'd suggest you use the $module_path variable in file source parameters and template paths to make your life easier. HTH, Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██████████████ Mail/XMPP: matth...@saou.eu ████ ██████ ████ ██████████████████████ GPG: 4096R/E755CC63 ██ ██████████████ ██ 8D91 7E2E F048 9C9C 46AF ██ ██ ██ ██ 21A9 7A51 7B82 E755 CC63 ████ ████ -- 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/20140516095328.68436d94%40r2d2.marmotte.net. For more options, visit https://groups.google.com/d/optout.