On Thu, Mar 4, 2010 at 1:26 PM, Paul Lathrop <paul.lath...@gmail.com> wrote:
> In case anyone is looking at this, Asif and I spent some time in
> #puppet talking about this and we've eliminated:
>
> * formatting of the YAML (whitespace, etc.)
> * missing "environment:" parameter in YAML (doesn't appear to be required)
>
> --Paul

following Paul's advice I updated the config.ru
(/usr/share/puppet/rack/puppetmasterd/config.ru)

ARGV << "--debug"

and now I see this in the puppetd on client

debug: Calling puppetmaster.getconfig
err: Could not call puppetmaster.getconfig: #<RuntimeError:
HTTP-Error: 500 Internal Server Error>
err: Could not retrieve catalog: HTTP-Error: 500 Internal Server Error



>
> On Thu, Mar 4, 2010 at 10:08 AM, Asif Iqbal <vad...@gmail.com> wrote:
>> still not worky. any help would be appreciated.
>>
>> On Thu, Mar 4, 2010 at 1:15 AM, Asif Iqbal <vad...@gmail.com> wrote:
>>> Hi I am running puppet client 0.24.7 and puppet master 0.25.1
>>>
>>> Here is my classifier
>>>
>>> (root)@sys-ubuntu:/usr/local/bin# cat external.sh
>>> #!/bin/sh
>>> # Super-simple external_node script for versions 0.23 and later
>>> cat <<"END"
>>> ---
>>> classes:
>>>  - stb
>>>  - securid::server
>>> parameters:
>>>  puppet_server: puppet.example.net
>>> END
>>> exit 0
>>>
>>> here is the dir structure for the securid module
>>>
>>> (root)@sys-ubuntu:/etc/puppet/manifests# ls -lR classes/stb.pp
>>> -rw-r--r-- 1 puppet puppet 195 2010-02-25 14:51 classes/stb.pp
>>>
>>> (root)@sys-ubuntu:/etc/puppet/modules# ls -lR securid/
>>> securid/:
>>> total 12
>>> drwxr-xr-x 2 puppet puppet 4096 2010-03-03 22:28 files
>>> drwxr-xr-x 3 puppet puppet 4096 2010-03-03 23:48 manifests
>>> drwxr-xr-x 2 puppet puppet 4096 2010-03-03 22:28 templates
>>>
>>> securid/files:
>>> total 0
>>>
>>> securid/manifests:
>>> total 8
>>> drwxr-xr-x 2 root root 4096 2010-03-03 23:48 RCS
>>> -rw------- 1 root root  376 2010-03-03 23:48 server.pp
>>>
>>> securid/templates:
>>> total 0
>>>
>>> Any idea why puppet client is showing absolutely no sign of any class
>>> when running it? I tried many other classes with same result
>>>
>>> I tried to put a "/bin/date > /tmp/nodes" as the top line of the
>>> classifier and it is continuously updating that file
>>>
>>> (root)@sys-ubuntu:/usr/local/bin# cat external.sh
>>> #!/bin/sh
>>> # Super-simple external_node script for versions 0.23 and later
>>> /bin/date > /tmp/nodes  # this generates and updates continuously
>>> cat <<"END"
>>> ---
>>> classes:
>>>  - stb
>>>  - securid::server
>>> parameters:
>>>  puppet_server: puppet.example.net
>>> END
>>> exit 0
>>>
>>> So it does read the classifier file but not making any attempt to call
>>> the classes
>>>
>>> Here is the puppet client report
>>>
>>> http://pastie.org/853080
>>>
>>> It stopped working. I had been using the same classifier to manage my nodes.
>>>
>>> --
>>> Asif Iqbal
>>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
>>> A: Because it messes up the order in which people normally read text.
>>> Q: Why is top-posting such a bad thing?
>>>
>>
>>
>>
>> --
>> Asif Iqbal
>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
>> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To post to this group, send email to puppet-us...@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.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@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.
>
>



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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