Re: [Puppet Users] Puppet agent is not running on Windows 11

2022-11-04 Thread Stephanos Economides
locales
localesource = puppet:///locales
location_trusted = false
log_level = notice
logdest =
logdir = C:/ProgramData/PuppetLabs/puppet/var/log
manage_internal_file_permissions = false
manifest = C:/ProgramData/PuppetLabs/code/environments/production/manifests
masterport = 8140
max_deprecations = 10
max_errors = 10
max_warnings = 10
maximum_uid = 4294967290
maxwaitforcert = unlimited
maxwaitforlock = 60
merge_dependency_warnings = false
mkusers = false
module_groups =
module_repository = https://forgeapi.puppet.com
module_working_dir = C:/Users/steph/AppData/Local/Temp
modulepath = 
C:/ProgramData/PuppetLabs/code/environments/production/modules;C:/ProgramData/PuppetLabs/code/modules;C:/Program
 
Files/Puppet Labs/Puppet/puppet/modules
name = config
named_curve = prime256v1
no_proxy = localhost, 127.0.0.1
node_cache_terminus =
node_name_fact =
node_name_value = laptop-j2mk58hv
node_terminus = plain
noop = false
number_of_facts_soft_limit = 2048
onetime = false
passfile = C:/ProgramData/PuppetLabs/puppet/etc/ssl/private/password
path = none
payload_soft_limit = 16777216
pidfile = C:/ProgramData/PuppetLabs/puppet/var/run/main.pid
plugindest = C:/ProgramData/PuppetLabs/puppet/cache/lib
pluginfactdest = C:/ProgramData/PuppetLabs/puppet/cache/facts.d
pluginfactsource = puppet:///pluginfacts
pluginsignore = .svn CVS .git .hg
pluginsource = puppet:///plugins
pluginsync = true
postrun_command =
preferred_serialization_format = json
preprocess_deferred = true
prerun_command =
preview_outputdir = C:/ProgramData/PuppetLabs/puppet/cache/preview
priority =
privatedir = C:/ProgramData/PuppetLabs/puppet/etc/ssl/private
privatekeydir = C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys
profile = false
publicdir = C:/ProgramData/PuppetLabs/puppet/public
publickeydir = C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys
puppet_trace = false
puppetdlog = C:/ProgramData/PuppetLabs/puppet/var/log/puppetd.log
report = true
report_include_system_store = false
report_port = 8140
report_server = puppet
reportdir = C:/ProgramData/PuppetLabs/puppet/cache/reports
reports = store
reporturl = http://localhost:3000/reports/upload
requestdir = C:/ProgramData/PuppetLabs/puppet/etc/ssl/certificate_requests
resourcefile = C:/ProgramData/PuppetLabs/puppet/cache/state/resources.txt
resubmit_facts = false
rich_data = true
route_file = C:/ProgramData/PuppetLabs/puppet/etc/routes.yaml
rundir = C:/ProgramData/PuppetLabs/puppet/var/run
runinterval = 1800
runtimeout = 3600
serial = C:/Windows/System32/serial
server = puppet
server_datadir = C:/ProgramData/PuppetLabs/puppet/cache/server_data
server_list =
serverport = 8140
settings_catalog = true
show_diff = false
signeddir = C:/Windows/System32/signed
skip_tags =
sourceaddress =
splay = false
splaylimit = 1800
srv_domain =
ssl_client_header = HTTP_X_CLIENT_DN
ssl_client_verify_header = HTTP_X_CLIENT_VERIFY
ssl_lockfile = C:/ProgramData/PuppetLabs/puppet/etc/ssl/ssl.lock
ssl_trust_store =
ssldir = C:/ProgramData/PuppetLabs/puppet/etc/ssl
statedir = C:/ProgramData/PuppetLabs/puppet/cache/state
statefile = C:/ProgramData/PuppetLabs/puppet/cache/state/state.yaml
statettl = 2764800
static_catalogs = true
storeconfigs = false
storeconfigs_backend = puppetdb
strict = warning
strict_environment_mode = false
strict_variables = false
summarize = false
supported_checksum_types = ["sha256", "sha384", "sha512", "sha224", "md5"]
syslogfacility = daemon
tags =
tasks = false
top_level_facts_soft_limit = 512
trace = false
transactionstorefile = 
C:/ProgramData/PuppetLabs/puppet/cache/state/transactionstore.yaml
trusted_external_command =
trusted_oid_mapping_file = 
C:/ProgramData/PuppetLabs/puppet/etc/custom_trusted_oid_mapping.yaml
use_cached_catalog = false
use_last_environment = true
use_srv_records = false
usecacheonfailure = true
user = puppet
vardir = C:/ProgramData/PuppetLabs/puppet/cache
vendormoduledir = C:\Program Files\Puppet Labs\Puppet\puppet\vendor_modules
versioned_environment_dirs = false
waitforcert = 120
waitforlock = 0
write_catalog_summary = true
yamldir = C:/ProgramData/PuppetLabs/puppet/cache/yaml

Thank you in advance for your time,

Best,
Stephanos


On Tuesday, November 1, 2022 at 6:24:08 PM UTC+2 jimm...@gmail.com wrote:

> What does the contents of your puppet.conf look like on the host. It 
> appears that the agent is trying to reach the hostname puppet but cannot 
> resolve the name in DNS or on the local host file. You should have entries 
> in the puppet.conf that looks something like this
>
> [main]
> server=myserver.mydomain.com
>
> [agent]
> certname=mynode.mydomain.com
>
> On Mon, Oct 31, 2022, 12:05 PM Stephanos Economides  
> wrote:
>
>> Hi Puppet Users,
>>
>> I am a new user of the puppet software and I ask your help to tackle the 
>> following problem:
>>
>> I have installed the puppet agent 7.20.0 as a standalone node that won't 
>> connect to

Re: [Puppet Users] Puppet agent is not running on Windows 11

2022-11-04 Thread Stephanos Economides
Thank you Martin for your feedback,

Best,

On Tuesday, November 1, 2022 at 9:39:52 AM UTC+2 Martin Alfke wrote:

> Hi Stephan’s,,
>
> You can not run puppetserver on Windows.
> Puppetserver is a Linux only process.
>
> If you run Windows only, you can make use of the puppetserver docker 
> container.
>
> hth,
> Martin
>
>
> On 31. Oct 2022, at 17:32, Stephanos Economides  
> wrote:
>
> Hi Puppet Users,
>
> I am a new user of the puppet software and I ask your help to tackle the 
> following problem:
>
> 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 (screenshot: 
> puppet_agent_error_1).
>
> Then  I used the "puppet agent --test" command from cmd (run it as 
> administrator) and  I received an error (screenshot: puppet_agent_error_2).
>
> 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 
> again the "puppet resource service puppetserver ensure=running" command but 
> in vain (screenshot: puppet_agent_error_3).
>
> Then I created an inbound rule on Windows firewall for 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 software but again connection 
> to puppet:8140 failed.
>
> 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...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/4918e75e-85ed-48cc-b650-617f0280c505n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/puppet-users/4918e75e-85ed-48cc-b650-617f0280c505n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 
> 
>
>
>

-- 
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/96aa80e3-4c76-4301-b7ca-59ae9228a146n%40googlegroups.com.