redat
10/20/2025, 2:32 PMif defined(Class['my_super_class']) {
class { 'my_other_super_class': }
}
Might result in an issue if the ordering in Puppet is not at our advantage, how would do the same thing ? I want to include a class, only if another class is already present.bastelfreak
10/20/2025, 2:41 PMbastelfreak
10/20/2025, 2:42 PMredat
10/20/2025, 2:43 PMredat
10/20/2025, 2:43 PMcsharpsteen
10/20/2025, 2:47 PMredat
10/20/2025, 2:49 PM[my_application_class] [my_global_logs_conf_class]
if my_global_logs_conf_class
[my_small_logs_class]
But my_application_class should not fail because the my_global_logs_conf_class is not declared.. Maybe on this node we don't want to have the log mechanism that we have on other nodestuxmea
10/20/2025, 2:54 PMvchepkov
10/21/2025, 6:09 PMbastelfreak
10/21/2025, 6:41 PMvchepkov
10/21/2025, 8:08 PMrunlolarun
10/23/2025, 5:36 PM--only-checks ghostbuster_classes,ghostbuster_files,ghostbuster_templates, but, for some reason, not getting any results. I’m sure i have some unused templates, manifests, etc… My google search is not pointing to any else useful. Any suggestions? Thank you!Adrian Parreiras Horta
10/23/2025, 6:24 PMpdk validate will run the linters, and adding -a will do autocorrectAdrian Parreiras Horta
10/23/2025, 6:25 PMCVQuesty
10/27/2025, 1:40 PMcsharpsteen
10/27/2025, 2:01 PMcsharpsteen
10/27/2025, 2:02 PMCVQuesty
10/27/2025, 2:23 PMCVQuesty
10/27/2025, 2:27 PMCVQuesty
10/27/2025, 2:37 PMLoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-4.0.26/build out/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-4.0.26
PassengerDefaultRuby /usr/bin/ruby
PassengerHighPerformance On
PassengerMaxPoolSize 12
PassengerPoolIdleTime 1500
PassengerMaxRequests 1000
PassengerStatThrottleRate 120
Listen 8140CVQuesty
10/27/2025, 2:50 PMcsharpsteen
10/27/2025, 3:08 PMCVQuesty
10/27/2025, 4:05 PMcsharpsteen
10/27/2025, 4:08 PMCVQuesty
10/27/2025, 4:16 PMrmeden
10/29/2025, 6:38 PMbastelfreak
10/29/2025, 7:23 PMLeon Ross
11/04/2025, 9:40 AMOleksandr Lytvyn
11/04/2025, 11:38 AMa-dfweq-pgk-001 /etc/puppetlabs/puppet # puppet agent -t
Error: Connection to <https://d-dfweq-vua-011.example.com:8140/puppet-ca/v1> failed, trying next route: Request to <https://d-dfweq-vua-011.example.com:8140/puppet-ca/v1> failed after 0.005 seconds: Connection reset by peer - SSL_connect
Wrapped exception:
Connection reset by peer - SSL_connect
Error: No more routes to ca
Error: No more routes to ca
I can see that puppet agent didn't created certificates:
a-dfweq-pgk-001 /etc/puppetlabs/puppet # tree ssl
ssl
├── certificate_requests
├── certs
├── private
├── private_keys
└── public_keys
What interesting when i check on the client VM nslookup, ping, and nc -vz d-dfweq-vua-011.example.com 8140 everything is ok.
I even checked tcpdump on Puppet server -> traffic is going ok in both directions.
Also i checked SELinux, restarted puppetserver service, checked puppet.conf on client VM.
Could you please help me to fix this issue? (also i was using ChatGPT to troubleshoot it, followed all suggestions and it is still not resolved)bastelfreak
11/04/2025, 11:43 AM