CVQuesty
06/17/2022, 2:48 PMCVQuesty
06/17/2022, 2:49 PMJonathon Anderson
06/17/2022, 2:50 PMCVQuesty
06/17/2022, 2:50 PMJonathon Anderson
06/17/2022, 2:50 PMCVQuesty
06/17/2022, 2:50 PMJonathon Anderson
06/17/2022, 2:51 PMJonathon Anderson
06/17/2022, 2:51 PMCVQuesty
06/17/2022, 2:52 PMJonathon Anderson
06/17/2022, 2:52 PMCVQuesty
06/17/2022, 2:53 PMJonathon Anderson
06/17/2022, 2:53 PMCVQuesty
06/17/2022, 2:54 PMpuppet config print
natemccurdy
06/17/2022, 2:54 PMCVQuesty
06/17/2022, 2:54 PMCVQuesty
06/17/2022, 2:55 PMJonathon Anderson
06/17/2022, 2:55 PMJonathon Anderson
06/17/2022, 2:56 PMnatemccurdy
06/17/2022, 2:56 PMsudo puppet config print environment --section main
vs.
sudo puppet config print environment --section agent
CVQuesty
06/17/2022, 2:57 PMCVQuesty
06/17/2022, 2:58 PMfacter puppet-settings.main.environment environment=production
CVQuesty
06/17/2022, 2:59 PM# These facter facts return the value of the Puppet vardir and environment path
# settings for the node running puppet or puppet agent. The intent is to
# enable Puppet modules to automatically have insight into a place where they
# can place variable data, or for modules running on the puppet master to know
# where environments are stored.
Jonathon Anderson
06/17/2022, 3:00 PMCVQuesty
06/17/2022, 3:00 PMCVQuesty
06/17/2022, 3:00 PMCVQuesty
06/17/2022, 3:01 PMJonathon Anderson
06/17/2022, 3:01 PM$facts['agent_specified_environemt']
CVQuesty
06/17/2022, 3:03 PMJonathon Anderson
06/17/2022, 3:03 PMCVQuesty
06/17/2022, 3:03 PM