[Puppet Users] Help needed in setting up a simple ENC

2013-02-20 Thread serwei2014
puppet maser conf: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl [master] classfile = $vardir/classes.txt localconfig = $vardir/localconfig user = root group = root fileserverconfig = /etc/puppet/fileserver.conf reportdir = /home/

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
Yep... Typo indeed... It all works now... Thanks for your patience It now prints out the notification in the class dyd::agents... Cheers On Thursday, January 10, 2013 5:42:57 PM UTC-6, Gary Larizza wrote: > > > > > On Thu, Jan 10, 2013 at 3:36 PM, Gary Larizza > > > wrote: > >> >> >>

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
On Thu, Jan 10, 2013 at 3:36 PM, Gary Larizza wrote: > > > > On Thu, Jan 10, 2013 at 3:18 PM, iamauser wrote: > >> Running puppet agent with a blank node default didn't throw any error and >> prints out the notification. I get this message when puppet agent runs on >> 'node_name'. >> >> Notice:

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
On Thu, Jan 10, 2013 at 3:38 PM, iamauser wrote: > I guess I figured it out after looking at the PuppetlabConf video on > youtube :) > Need to restart the puppetmaster. There was a laugh about during in the > talk !huh! > > It doesn't solve my problem though. It now ends up with another error

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
I guess I figured it out after looking at the PuppetlabConf video on youtube :) Need to restart the puppetmaster. There was a laugh about during in the talk !huh! It doesn't solve my problem though. It now ends up with another error. First warning and then error : ]$ sudo puppet agent --s

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
On Thu, Jan 10, 2013 at 3:18 PM, iamauser wrote: > Running puppet agent with a blank node default didn't throw any error and > prints out the notification. I get this message when puppet agent runs on > 'node_name'. > > Notice: I AM DEFAULTing... > Notice: /Stage[main]//Node[default]/Notify[I AM

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
Running puppet agent with a blank node default didn't throw any error and prints out the notification. I get this message when puppet agent runs on 'node_name'. Notice: I AM DEFAULTing... Notice: /Stage[main]//Node[default]/Notify[I AM DEFAULTing...]/message: defined 'message' as 'I AM DEFAULTi

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
On Thu, Jan 10, 2013 at 2:56 PM, iamauser wrote: > Hi, > > Here is the output. Sorry I didn't get it the first time :) > > ]# su -s /bin/sh puppet -c "/usr/local/bin/enclassifier node_name" > --- > environment: production > classes: >defaultcls: >dyd::agents: > Cool. Okay, so you said i

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
Hi, Here is the output. Sorry I didn't get it the first time :) ]# su -s /bin/sh puppet -c "/usr/local/bin/enclassifier node_name" --- environment: production classes: defaultcls: dyd::agents: Thanks On Thursday, January 10, 2013 4:36:14 PM UTC-6, Gary Larizza wrote: > > > > > On Thu, J

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
On Thu, Jan 10, 2013 at 2:13 PM, iamauser wrote: > On Thursday, January 10, 2013 4:07:45 PM UTC-6, Gary Larizza wrote: > >> What happens when you run `/usr/local/bin/enclassifier node_name`as the >> puppet user? >> >> > > This is what it prints out if I run it on puppet-server. > > ~]# /usr/local

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
On Thursday, January 10, 2013 4:07:45 PM UTC-6, Gary Larizza wrote: > What happens when you run `/usr/local/bin/enclassifier node_name`as the > puppet user? > > This is what it prints out if I run it on puppet-server. ~]# /usr/local/bin/enclassfier node_name --- environment: classes: - defa

Re: [Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread Gary Larizza
What happens when you run `/usr/local/bin/enclassifier node_name`as the puppet user? On Thu, Jan 10, 2013 at 1:41 PM, iamauser wrote: > Hello, > > I am trying to set up a simple ENC, but definitely missing pieces because > of which the client data is not propagated to the master. Any help is >

[Puppet Users] Help needed in setting up a simple ENC

2013-01-10 Thread iamauser
Hello, I am trying to set up a simple ENC, but definitely missing pieces because of which the client data is not propagated to the master. Any help is appreciated. Here is what I do after following some of puppetlab docs (which is not very verbose TBH) : In the puppet-master the yaml containin