Slackbot
05/16/2022, 6:52 PMnatemccurdy
05/16/2022, 6:56 PMnatemccurdy
05/16/2022, 7:16 PMbastelfreak
05/16/2022, 7:38 PM/puppet/v3/facts/
isnt there, but at https://puppet.com/docs/puppet/7/http_api/http_facts.html ?Oleksandr Lytvyn
05/16/2022, 8:18 PM$ puppet config print --section server | grep "^ca"
ca = true
ca_name = Puppet CA: <http://puppet5.example.com|puppet5.example.com>
ca_server = <http://puppet5.example.com|puppet5.example.com>
What exatly does it mean? If i will create new host (for example) "puppet7.example.com" and import CA will there by any issues with it?
Or it (mention of old "puppet5.example.com") will be replaced when i import CA from old server but provide new "--certname" ?
import:
--config CONF Path to puppet.conf
--private-key KEY Path to PEM encoded key
--cert-bundle BUNDLE Path to PEM encoded bundle
--crl-chain CHAIN Path to PEM encoded chain
--certname NAME Common name to use for the master cert
--subject-alt-names NAME[,NAME]
David Manouchehri
05/16/2022, 9:52 PMLumiere
05/16/2022, 10:02 PMinclude module
in a site.pp, yesnatemccurdy
05/16/2022, 10:05 PMnode
definition will apply to all nodes. And yeah, site.pp
is usually where people do that.natemccurdy
05/16/2022, 10:06 PMnode
definition will apply to all nodes. And yeah, site.pp
is usually where people do that.David Manouchehri
05/16/2022, 10:07 PMLumiere
05/16/2022, 10:09 PMLumiere
05/16/2022, 10:10 PMLumiere
05/16/2022, 10:11 PMnatemccurdy
05/16/2022, 10:13 PMnode
definition in site.pp
will technically work, but it’s really not a recommended approach.
Like Lumiere mentioned, it’s preferred to plan your node classification a bit and use node
definitions or an External Node Classifier (ENC).
It’s also recommend to follow the Roles and Profiles pattern as that makes it clear where classes are coming from.natemccurdy
05/16/2022, 10:14 PMif
conditional around the os
Fact.natemccurdy
05/16/2022, 10:15 PMif
conditional around the os
Fact.Lumiere
05/16/2022, 10:15 PMnatemccurdy
05/16/2022, 10:17 PMinclude <my_class>
in the global space in site.pp
.
If this is for a real Puppet environment that’s managing real servers, I’d reject that change request and say to put the include
in a profile 🙂hbui
05/17/2022, 2:09 AMhbui
05/17/2022, 2:13 AMmanifests/*.pp
work:https://puppet.com/docs/puppet/6/dirs_manifest.htmlYury Bushmelev
05/17/2022, 7:26 AMYury Bushmelev
05/17/2022, 7:26 AMSlackbot
05/17/2022, 7:39 AMYury Bushmelev
05/17/2022, 9:44 AMapt
is deprecating apt-key
usage and [signed-by=...]
option is pushed now.. is there any support for this from puppetlabs/apt
? I see no support from first quick look...Lumiere
05/17/2022, 12:45 PMLumiere
05/17/2022, 12:45 PMSlackbot
05/17/2022, 1:11 PMJoshua Smeda
05/17/2022, 1:12 PMJoshua Smeda
05/17/2022, 1:15 PMRobDog
05/17/2022, 1:39 PM