Re: [Puppet-dev] What's the story about modules that need utility code?

2012-06-11 Thread Jo Rhett
While I see your point about ENC, no that's not what I meant. I perhaps should have used a different second example. There are a great many functional classes which aren't necessarily data driven. I have quite a few modules which provide functions used by many other modules, but do not deal w

Re: [Puppet-dev] What's the story about modules that need utility code?

2012-06-11 Thread Eric Sorenson
Jo -- I agree with this sentiment but, assuming you intend the second example below to be complete (this file _only_ contains variable = value pairs, not a mix of pairs and actual resources), I'd describe this as 'data' not 'functional classes'. The direction people are (and should be) taking i

[Puppet-dev] How to use Puppet::Node.new with inherits?

2012-06-11 Thread windowsrefund
Would it be possible to reproduce the following with Puppet::Node.new? node foo inherits bar { } Best, Adam -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-d

[Puppet-dev] Can Puppet::Node.new be used with inherits?

2012-06-11 Thread windowsrefund
Please forgive me if this is turns out to be a duplicate post... Is it possible to reproduce the following with Puppet::Node.new? node foo inherits bar {} -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email

Re: [Puppet-dev] puppetlabs_spec_helper and hiera

2012-06-11 Thread Branan Purvine-Riley
Hi, Thanks for the bug report. None of the modules we developed the spec helper against use hiera, so it's great to hear from the community on this. I've implemented basic hiera support. I'd appreciate any feedback you have on it, especially suggestions on how to make sure hiera-based modules can