Re: [Puppet Users] Re: Writing modules to gracefully skip OS's they don't support

2014-10-10 Thread Felix Frank
On 10/10/2014 04:28 PM, jmp242 wrote: > I may be doing something really stupid per Felix.Frank, but we decided > to make all our modules have: Come, now. I said it was "dangerous". As often, this is a result of actually being a bit too clever. I'm trying hard not to be Linus (anymore ;-) -- You

Re: [Puppet Users] Re: Writing modules to gracefully skip OS's they don't support

2014-10-10 Thread Atom Powers
While this sounds like a good idea, I would argue that it breaks the principle of leas surprise. If I assign a module to a server I would expect that module to do what it is intended to do. If it can't do that and it doesn't tell me that it can't do that then I may assume that the module has done

[Puppet Users] Re: Writing modules to gracefully skip OS's they don't support

2014-10-10 Thread jmp242
I may be doing something really stupid per Felix.Frank, but we decided to make all our modules have: Case $kernel { 'linux': { } 'windows'{ } } form... It seems to work well for us? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group