[Puppet-dev] Re: Decision: Near future of resource expressions

2014-07-25 Thread Henrik Lindberg
On 2014-25-07 22:43, John Bollinger wrote: On Thursday, July 24, 2014 7:32:13 PM UTC-5, Andy Parker wrote: Howdy, Henrik, David, Erik, John, and others have been having some pretty epic conversations around resource expressions, precedence, order of evaluation, and several oth

Re: [Puppet-dev] Re: Decision: Near future of resource expressions

2014-07-25 Thread John Bollinger
On Friday, July 25, 2014 11:25:37 AM UTC-5, Andy Parker wrote: > > On Thu, Jul 24, 2014 at 6:04 PM, Henrik Lindberg < > henrik@cloudsmith.com > wrote: > >> On 2014-25-07 2:32, Andy Parker wrote: >> >>> >>> >>> DECISION SEVEN >>> >>>undef is not allowed as a title >>> >>> Not much to say h

[Puppet-dev] Re: Decision: Near future of resource expressions

2014-07-25 Thread John Bollinger
On Thursday, July 24, 2014 7:32:13 PM UTC-5, Andy Parker wrote: > > Howdy, > > Henrik, David, Erik, John, and others have been having some pretty epic > conversations around resource expressions, precedence, order of evaluation, > and several other topics. What kicked all of that off was us loo

Re: [Puppet-dev] rsepc example for testing file manipulation

2014-07-25 Thread Andy Parker
Hi Johan, On Fri, Jul 25, 2014 at 5:08 AM, Johan De Wit wrote: > Hi, > > Does someone knows more rspec code examples for working with files ? > > I stumbled across https://github.com/puppetlabs/puppetlabs-inifile/blob/ > master/spec/unit/puppet/provider/ini_setting/ruby_spec.rb , > > but cannot

Re: [Puppet-dev] Re: Decision: Near future of resource expressions

2014-07-25 Thread Andy Parker
On Thu, Jul 24, 2014 at 6:04 PM, Henrik Lindberg < henrik.lindb...@cloudsmith.com> wrote: > On 2014-25-07 2:32, Andy Parker wrote: > >> >> >> DECISION SEVEN >> >>undef is not allowed as a title >> >> Not much to say here. notify { undef: } fails (or anything that >> evaluates to undef) >> >> >

Re: [Puppet-dev] Re: Decision: Near future of resource expressions

2014-07-25 Thread Spencer Krum
Okay. Thanks. On Fri, Jul 25, 2014 at 5:39 AM, Henrik Lindberg < henrik.lindb...@cloudsmith.com> wrote: > On 2014-25-07 3:32, Spencer Krum wrote: > >> I'm not sure if this is the correct time to mention this, but I wonder >> if you considered arrays of hashes in decision eight? >> >> I guess the

[Puppet-dev] Re: Decision: Near future of resource expressions

2014-07-25 Thread Henrik Lindberg
On 2014-25-07 3:32, Spencer Krum wrote: I'm not sure if this is the correct time to mention this, but I wonder if you considered arrays of hashes in decision eight? I guess they are not really arrays of hashes but whatever this is: [ '/root/file1' => {'owner' => 'root'}, '/root/file1' =>

[Puppet-dev] rsepc example for testing file manipulation

2014-07-25 Thread Johan De Wit
Hi, Does someone knows more rspec code examples for working with files ? I stumbled across https://github.com/puppetlabs/puppetlabs-inifile/blob/master/spec/unit/puppet/provider/ini_setting/ruby_spec.rb , but cannot find more examples, and struggling a bit in writing good rspec tests for th