puppet 2.6.8 (client/server)
# puppet kick -f ubuntu4.ttinet
Triggering ubuntu4.ttinet
Host ubuntu4.ttinet failed: Error 400 on SERVER: 'save ' is not an allowed value for method directive
ubuntu4.ttinet finished with exit code 2
Failed: ubuntu4.ttinet
root@ubuntu4:~# cat /etc/puppet/auth.conf
path /run
method save
allow *
root@ubuntu4:~# cat /etc/puppet/namespaceauth.conf
[puppetrunner]
allow *
root@ubuntu4:~# grep listen /etc/puppet/*
/etc/puppet/puppet.conf: listen = true
--
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig...@ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com
Need help communicating between generations at work to achieve your desired success? Let us help!
I spent enough time looking through puppet documentation and googling and couldn't solve it so I asked...
On Tuesday, July 12, 2011 at 4:21 PM, Craig White wrote:
Can't seem to make it work
puppet 2.6.8 (client/server)
# puppet kick -f ubuntu4.ttinet
Triggering ubuntu4.ttinet
Host ubuntu4.ttinet failed: Error 400 on SERVER: 'save ' is not an allowed value for method directive
ubuntu4.ttinet finished with exit code 2
Failed: ubuntu4.ttinet
root@ubuntu4:~# cat /etc/puppet/auth.conf
path /run
method save
allow *
root@ubuntu4:~# cat /etc/puppet/namespaceauth.conf
[puppetrunner]
allow *
root@ubuntu4:~# grep listen /etc/puppet/*
/etc/puppet/puppet.conf: listen = true
--
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig...@ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com
Need help communicating between generations at work to achieve your desired success? Let us help!
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
> On Tuesday, July 12, 2011 at 4:21 PM, Craig White wrote:
>
>> Can't seem to make it work
>>
>> puppet 2.6.8 (client/server)
>>
>> # puppet kick -f ubuntu4.ttinet
>> Triggering ubuntu4.ttinet
>> Host ubuntu4.ttinet failed: Error 400 on SERVER: 'save ' is not an allowed value for method directive
>> ubuntu4.ttinet finished with exit code 2
>> Failed: ubuntu4.ttinet
>>
>> root@ubuntu4:~# cat /etc/puppet/auth.conf
>> path /run
>> method save
>> allow *
>>
>> root@ubuntu4:~# cat /etc/puppet/namespaceauth.conf
>> [puppetrunner]
>> allow *
>>
>> root@ubuntu4:~# grep listen /etc/puppet/*
>> /etc/puppet/puppet.conf: listen = true
>>
> It looks like you have a trailing space on your "method save" line, and Puppet is taking that to mean method "save " (note the space). Remove that and you should be okay.
>
> See ticket #5010.
> http://projects.puppetlabs.com/issues/5010
----
indeed - which of course comes from Pro Puppet which gives it all as a one liner...
path /run method save allow foreman.example.com
which clearly didn't work which is when I put them on separate lines but obviously leaving the space there for it to give me that error. Ugh
Thanks
Craig