Installing Mac OS Agent
First you need to grab the latest installer of the agent.
Once the download is complete you can open in finder and run the installer.
Let’s add the executable to our PATH, edit the ~/.bash_profile file.
export PATH=/opt/puppetlabs/bin:$PATH
Let’s add our master to the config file.
puppet config set server centosa.home
Let’s try to connect our agent to the master.
puppet agent --waitforcert 60 --test