[Puppet Users] Puppet Resource API - provider get method

2019-10-27 Thread gramsa49
What is the best way to implement the get method in a new custom provider where information from the resource is required when using the Resource API? Using the management of public or private keys as an example, the get method cannot return a list of resources without certain information from

Re: [Puppet Users] Puppet Resource API - provider get method

2019-10-28 Thread gramsa49
alogue is available (like the puppet resource > command) and make regular usage a lot more complex. > > would love to hear your thoughts. > > cheers, David > > On Sun, 27 Oct 2019, 22:07 gramsa49, > > wrote: > >> What is the best way to implement the get

[Puppet Users] Re: New User / New setup

2019-11-11 Thread gramsa49
It looks like you're attempting to apply manifest.pp not using the agent. The apply is looking for the class/type definitions locally, which don't exist. Why not update manifest/site.pp on the puppet master for the applicable environment, then use puppet agent -t? On my PM, I use Hiera to man

[Puppet Users] Re: added puppet CA into the ruby environment

2019-11-11 Thread gramsa49
Check that the cert used by puppetdb matches the puppet ca. First the Puppet DB: root@puppettest1:~# openssl s_client -connect puppet:8140 CONNECTED(0005) depth=2 CN = Puppet Root CA: ed17137d0debfe verify error:num=19:self signed certificate in certificate chain --- Certificate chain 0 s:CN

Re: [Puppet Users] Re: added puppet CA into the ruby environment

2019-11-13 Thread gramsa49
HA,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA" > ssl-protocols = TLSv1.2 > > > I'm guessing the ciphers are wrong or there is something wrong with the > cipher setup ? Maybe It should be a ersa (the