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

2014-07-24 Thread Spencer Krum
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' => {'owner' => 'nibz'}, ] Right now we often

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

2014-07-24 Thread Henrik Lindberg
On 2014-25-07 2:32, Andy Parker wrote: DECISION TWO Resource instantiations are value producing expressions The expression based grammar that puppet 4 will be based on changed almost everything into a general expression, which allowed a lot of composition that wasn't possible before. This di

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

2014-07-24 Thread Andy Parker
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 looking for some feedback on decisions we were making for the Puppet 4 language ab

[Puppet-dev] Module PR Triage Notes 2014-07-24

2014-07-24 Thread Igor Galić
Fellow humans, This week we triaged PRs for puppetlabs-dhcp, puppetlabs-mysql, and bits of puppetlabs-rabbitmq puppetlabs-dhcp === #32 Remove deprecation warnings for templates and use of concat::setup #36 Add patches from foreman-dhcp * we have a release pending here. puppetlabs-m

Re: [Puppet-dev] how to comment and uncomment lines in a file with puppet

2014-07-24 Thread Spencer Krum
I agree with Felix. On Jul 24, 2014 8:12 AM, "Felix Frank" wrote: > On 07/24/2014 05:05 PM, Supriya Uppalapati wrote: > > *Please help me* > > While I'm not averse to that, I really think you should renew your > inquiry to the users list. Cross-posting is frowned upon, and this is > not a develop

Re: [Puppet-dev] how to comment and uncomment lines in a file with puppet

2014-07-24 Thread Felix Frank
On 07/24/2014 05:05 PM, Supriya Uppalapati wrote: > *Please help me* While I'm not averse to that, I really think you should renew your inquiry to the users list. Cross-posting is frowned upon, and this is not a development issue. Best, Felix -- You received this message because you are subscri

Re: [Puppet-dev] how to comment and uncomment lines in a file with puppet

2014-07-24 Thread Supriya Uppalapati
Hi, I did like this using file_line resource *file_line { 'replace a line to /home/infauser/.bash_profile': path => '/home/infauser/.bash_profile', line => 'export INFA_CODEPAGENAME=UTF-8', #match => '^# export INFA_CODEPAGENAME=UTF-8.*',* *But it is giving me an error:*