Re: [Puppet Users] using ruby dsl in puppet manifest

2014-05-10 Thread Ritesh Nanda
Hello John, Thanks for your reply , ruby code i was trying to run was on client , so i am doing with inline_template right now , yeah but your idea seems good to have a plugin to do it . I would start thinking on it , thanks for your help. Regards, Ritesh On Fri, May 9, 2014 at 11:46 AM, jcbol

Re: [Puppet Users] Parsing issues in 3.5

2014-05-10 Thread Henrik Lindberg
On 2014-09-05 19:22, Joe Topjian wrote: Hello, I keep running into several parsing issues in 3.5 that don't exist in Puppet 3.4. I saw the thread about issues with the future parser and defined types: https://groups.google.com/forum/#!topic/puppet-users/HOVnQ1EXwjY I'm using the future parser

[Puppet Users] Hiera hierarchy question

2014-05-10 Thread twm139
I have the following Hiera.yaml --- :backends: - yaml :hierarchy: - defaults - "%{clientcert}" - "%{environment}" - "users/%{usertype}" - global :yaml: :datadir: The usertype variable is defined in my Foreman parameters and is different for each host group type. The idea is that

Re: [Puppet Users] Hiera.yaml not interpolate variables

2014-05-10 Thread Andreas Ntaflos
On 2014-05-08 17:21, Israel Calvete wrote: > Hi, > > This is my hiera config. > > /---/ > /:backends: - yaml/ > /:hierarchy: - %{::environment}/ > /- common/ You must use double quotes when you want interpolation to work. See http://docs.puppetlabs.com/hiera/1/variables.html#interpol

[Puppet Users] Re: Hiera.yaml not interpolate variables

2014-05-10 Thread twm139
Try something more like...need quotes afaik. --- :backends: - yaml :hierarchy: - defaults - "%{clientcert}" - "%{environment}" - "users/%{usertype}" - global On Thursday, May 8, 2014 8:21:08 AM UTC-7, Israel Calvete wrote: > > Hi, > > This is my hiera config. > > *---* > *:backends:

Re: [Puppet Users] Abridged summary of puppet-users@googlegroups.com - 34 updates in 12 topics

2014-05-10 Thread Ivan Lysov
\\ On May 9, 2014 3:13 PM, wrote: > Today's topic summary > > Group: http://groups.google.com/group/puppet-users/topics > >- Error 400 on SERVER: no 'environments' in >{:root_environment=>#@name=:"*root*", @manifest="/usr/share/puppet/rack/puppetmasterd", >@modulepath=[]> <#145e

Re: [Puppet Users] Service stuck after updating puppet on Windows Server 2003

2014-05-10 Thread cko
After the puppet run the agent service is basically stopped. Although when i run "sc queryex puppet" the output is "STOP_PENDING" (not stopped but not running either). So i have to run "taskkill /f /pid 1234" and then start the service again. On Friday, May 9, 2014 9:45:35 PM UTC+2, Rob Reyno