Unable to run puppet script after changing hostname on a standalone architecture.

asked 2018-02-28 03:58:54 -0600

keya gravatar image

updated 2018-03-03 14:02:56 -0600

If I try to execute a puppet script with the default hostname, it is being executed successfully. But if I change the hostname and then try to execute the same puppet script, I am getting an error:

Error: Could not autoload puppet/provider/service/ssh: cannot load such file -- net/ssh Error: Could not run: Could not retrieve facts for abc@example.com: Could not autoload puppet/provider/service/ssh: cannot load such file -- net/ssh.

I am using puppet 3.8.7 and running scripts on Windows 10 (1703) host.

Does anyone have any idea how to solve this error?

edit retag flag offensive close merge delete