On 15 Dec 2015, at 07:33, 辛建国 <[email protected]> wrote: > hi,when I exec "sudo -u puppet /etc/puppet/node.rb puppet.server.com" > command on puppet server ~ it turned out that ": No such file or directory", > but when I run "sudo -u puppet ruby /etc/puppet/node.rb puppet.server.com" > command on puppet server,it works fine. how do I resolve it?
The command (/etc/puppet/node.rb) needs to be executable if you want to run it directly. What does your puppet.conf file on the master has configured in external_nodes setting? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/87C5BF20-3553-4B57-BA52-E1B5D6011E6E%40gmail.com. For more options, visit https://groups.google.com/d/optout.
