Skip to content

Instantly share code, notes, and snippets.

@gangsta
Last active December 20, 2017 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gangsta/1d18ffb0065df8a385451879b6beb8cd to your computer and use it in GitHub Desktop.
Save gangsta/1d18ffb0065df8a385451879b6beb8cd to your computer and use it in GitHub Desktop.
Puppet agent centos 7

Install Puppet agent 4 Centos 7

yum install -y https://yum.puppetlabs.com/puppetlabs-release-pc1-el-7.noarch.rpm
yum -y install puppet-agent
/opt/puppetlabs/bin/puppet config set server foreman.domain.com --section agent
/opt/puppetlabs/bin/puppet agent -t
/opt/puppetlabs/bin/puppet resource service puppet ensure=running enable=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment