On 15 Dec 2015, at 07:33, 辛建国 <
xjg2...@gmail.com> 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?