bastelfreak
08/02/2022, 5:30 PMjosh
08/02/2022, 5:30 PMtier
variable is set?bastelfreak
08/02/2022, 5:32 PMbastelfreak
08/02/2022, 5:32 PMbastelfreak
08/02/2022, 5:33 PMbastelfreak
08/02/2022, 5:36 PMjosh
08/02/2022, 5:37 PMjosh
08/02/2022, 5:49 PMpuppet lookup
to always use the configured node terminus (in PE, it's classifier.rb
) to retrieve node classes, parameters, etc.josh
08/02/2022, 5:50 PMplain
terminus, so you don't get any of the server side parametersbastelfreak
08/02/2022, 5:50 PMjosh
08/02/2022, 5:53 PMjosh
08/02/2022, 5:54 PMpuppet lookup -E web key
is not well defined.josh
08/02/2022, 5:55 PMkey
in the server-specified environment. We tried to fix that in https://tickets.puppetlabs.com/browse/PUP-7479josh
08/02/2022, 5:56 PMpuppet lookup -E web key
returns the value of key
in environment web
no matter how the classifier is configured.josh
08/02/2022, 5:58 PMclasses
and parameters
Dr Bunsen Honeydew
08/02/2022, 6:02 PMsmortex
08/02/2022, 6:03 PMsmortex
08/02/2022, 6:04 PMDr Bunsen Honeydew
08/02/2022, 6:04 PMpuppetlabs-puppetdb
module at https://forge.puppet.com/puppetlabs/puppetdb?src=slack&channel=office-hourssmortex
08/02/2022, 6:06 PMsmortex
08/02/2022, 6:06 PMjosh
08/02/2022, 6:09 PMpuppetlabs-puppetdb
? I'd check with @binford2k about that.Dr Bunsen Honeydew
08/02/2022, 6:09 PMpuppetlabs-puppetdb
module at https://forge.puppet.com/puppetlabs/puppetdb?src=slack&channel=office-hoursjosh
08/02/2022, 6:10 PMsmortex
08/02/2022, 6:10 PMjosh
08/02/2022, 6:11 PMsmortex
08/02/2022, 6:12 PMjosh
08/02/2022, 6:17 PMpuppet lookup -E web
do you want to know what value the node will get when it next runs (which may not be from env web
!) ?josh
08/02/2022, 6:18 PMweb
(even though the classifier may assign the agent to a different environment when it next runs)?josh
08/02/2022, 6:19 PMweb
(even though the classifier may assign the agent to a different environment when it next runs)?