Re: [Puppet Users] Site module with Puppet Enterprise

2012-05-17 Thread Jeff McCune
On Thu, May 17, 2012 at 11:30 AM, Rufus McDufus wrote: > I had a bit of a play with this today and couldn't get anything working... Hrm, I'm sure we'll be able to sort it out. > Are you actually trying to overload the real motd module? No, the module named site and the module named motd can exi

Re: [Puppet Users] Site module with Puppet Enterprise

2012-05-17 Thread Rufus McDufus
I had a bit of a play with this today and couldn't get anything working... (I am something of as puppet newbie as you can tell so go easy on me!). In Jeff's example above: --- # motd module: class motd($motd_content='UNSET') { $motd_content_real = $motd_content ? { UNSET => template("mo

Re: [Puppet Users] Site module with Puppet Enterprise

2012-05-16 Thread Rufus McDufus
Ah, thanks Jeff - that's a nifty way of doing it! I've been setting templatedir which appears to override the templatedir of each module which seems to work, but I can't figure a way of doing this with files - I tried an entry [modules] in fileserver.conf as a test and this seems to just be ign

Re: [Puppet Users] Site module with Puppet Enterprise

2012-05-16 Thread Jeff McCune
On Wed, May 16, 2012 at 6:11 AM, Rufus McDufus wrote: > In the Puppet Enterprise docs below, they mention using a 'Site > Module' > > http://docs.puppetlabs.com/pe/2.5/quick_writing.html#using-a-site-module > > However I can't find any examples of people using such a method. I'm > interested in th