Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# puppet agent --test
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for master.gacivs.info
Info: Applying configuration version '1430989052'
[...]
Notice: Finished catalog run in 42.09 seconds

OK! (smile)

Agent setup

Set the hostname:

Code Block
# hostnamectl set-hostname node.gacivs.info

Install the 'puppet' to the node:

Code Block
# rpm -Uvh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
[...]
# yum install puppet
[...]

Set the name of the master server:

Code Block
title/etc/puppet/puppet.conf
[agent]
    server = master.gacivs.info

Check the agent's certification:

...