new question: is there an easy way to tell, from a...
# puppet-enterprise
j
new question: is there an easy way to tell, from a PE server's command line, whether code manager is enabled on the machine or not? i.e. is there a specific
puppet config print
setting that changes, or something added or changed in
/etc/puppetlabs/puppet/puppet.conf
, or maybe a file or directory which is created when code manager is enabled and deleted when it's disabled?
i'm writing internal documentation for "how to build a development PE server", one of the steps will be "make sure code manager is disabled", and i'm hoping there's a simple one-line command that people can use, rather than telling them to check their hiera files and hoping they've set things up so far that the settings in hiera are actually being used (the people following these directions will be "varying degrees of junior")
a
Look for
Copy code
puppetlabs.code-manager.services/code-manager-v1
in
/etc/puppetlabs/puppetserver/bootstrap.cfg
j
okay ... so it exists if code manager is enabled, and is removed when code manager is disabled ... sounds like a plan, thanks
👍 1