I deployed puppet agent to linux target as scale by using puppetlabs-pe_bulk_agent_install.
I added ssh authorized key on target and private key on my puppet master already.
Manual connect with private key from puppet master to target is fine too.
The command debug show below.
puppet bulk install --nodes nodes.txt --credentials credentials.json --debug
(at /usr/local/share/gems/gems/puppet-4.9.1/lib/puppet.rb:167:in `<module:Puppet>')
Debug: Runtime environment: puppet_version=4.9.1, ruby_version=2.0.0, run_mode=user, default_encoding=UTF-8
Debug: Credentials File: {:username=>"root", :ssh_key_file=>"/root/.ssh/id_rsa", :ssh_key_passphrase=>"D!G!-$Y$-*(@", :master=>"puppetmaster.xxx.xx"}
Debug: #<IO:0x0000000158a240>
Debug: Nodes:["target.xxx.xx"]
Debug: Options: {:nodes=>"nodes.txt", :credentials=>"credentials.json", :threads=>8, :script=>"install.bash"}
Notice: Processing target: target.xxx.xx
Error: target:target.xxx.xx error:No route to host - connect(2)
Hostname Exit Status
target.xxx.xx No route to host - connect(2)
Nice day for all you guys.