On Thu, Jan 10, 2013 at 2:13 PM, iamauser <tapas.sara...@gmail.com> 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/bin/enclassfier node_name
> ---
> environment:
> classes:
>   - defaultcls
>   - dyd::agents
>
>
What user were you using to run that command?  I see the hash, so I assume
it's root.  Try running this as the 'puppet' user - does it spit out the
same thing?  Remember that Puppet runs the script as the user which is
running the puppet master service (which is usually 'puppet').  I just want
to clarify this before we go on :)


> To cross check whether puppetmaster is reading the external_nodes
> correctly, I tried the following command :
>
> ~]# puppet master --configprint external_nodes node_name
> /usr/local/bin/enclassifier
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/a0P6X7DjuOQJ.
>
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>



-- 
Gary Larizza
Professional Services Engineer

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to