Stephanos,

You said your notebook is "a standalone node that won't connect to a 
master". If that's the case, then "puppet agent -t" is not what you should 
be running.

The "puppet agent" command will attempt to talk to a Puppetserver 
<https://puppet.com/docs/puppet/7/services_agent_windows.html#services_agent_windows>
 
(master) to fetch a catalog and then enforce it.
But as you say this will be a standalone node, there's no Puppetserver to 
talk to, which is expected.

Also, you will not be able to run Puppetserver on your notebook because 
Puppetserver can only run on Linux hosts 
<https://puppet.com/docs/puppet/7/server/install_from_packages.html#supported-operating-systems>,
 
not Windows.

What was the reason you installed puppet-agent on your notebook? If not to 
talk to a Puppetserver, what else were you planning on doing with it?
Perhaps you meant to use "puppet apply"? 
https://puppet.com/docs/puppet/7/services_apply.html


Regards,
Nate
On Wednesday, November 16, 2022 at 8:37:07 AM UTC-8 noveltym...@gmail.com 
wrote:

> Hi Puppet Users,
>
> I have installed the puppet agent 7.20.0 as a standalone node that won't 
> connect to a master, on my notebook (Windows 11 Home).  
>
> I tried to run the puppet agent and I received an error described in the 
> puppet_agent_error_1 screenshot.
>
> Then  I used the "puppet agent --test" command from cmd (run it as 
> administrator) and  I received the error described in puppet_agent_error_2 
> screenshot.
>
> Then I used the "puppet resource service puppetserver ensure=running" 
> command from cmd (run it as administrator) and I received the error "Error: 
> Will not start disabled service puppetserver without managing enable. 
> Specify 'enable => false' to override.".  I tried to override by using the 
> command "puppet resource service puppetserver enable=false" and then I used 
> the "puppet resource service puppetserver ensure=running" but in vain, I 
> received the error described in puppet_agent_error_3 screenshot.
>
> Then I have created an inboud rule on Windows firewall for the port 8140 
> but again I received the same error "Error: Connection to 
> https://puppet:8140/puppet-ca/v1 failed, trying next route: Request to 
> https://puppet:8140/puppet-ca/v1 failed after 2.698 seconds: Failed to 
> open TCP connection to puppet:8140 (getaddrinfo: No such host is known. )".
>
> Lastly I deactivated temporarily my Avast antivirus  but again connection 
> to puppet:8140 failed.
>
> In case it is helpful I have also attached the content of the puppet.conf 
> (attached file puppet-config_print.txt)
>
> Could you please help me to resolve this issue?
>
> Thank you in advance for your time.
>
> Best regards,
>
> Stephanos
>
>
>
>
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/b59dacd4-ace1-43fb-8c40-75dbceb9b7e1n%40googlegroups.com.

Reply via email to