grep for your hostname from /etc/puppetlabs/puppet...
# puppet-enterprise
c
grep for your hostname from /etc/puppetlabs/puppet/puppet.conf and then grep for “server” in that. then, if you get the answer, don’t run the command, otherwise run it.