How to add Ubuntu 14.0x to Puppet master as node

On node run the following set of command

Make sure that node can access puppet server by they hostname

edit

/etc/hosts and make sure that similar is there

192.168.1.250 puppet

192.168.1.250 learn.localdomain.com

You can check puppet website for available packages here

https://apt.puppetlabs.com/

$ wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb

$ sudo dpkg -i puppetlabs-release-trusty.deb

$ sudo apt-get update

then run

apt-get install puppet

$ sudo apt-get update
$ sudo puppet resource package puppet ensure=latest

You’ll need to restart the puppet service after upgrading.

you may need to edit /etc/default/puppet and change line

START=no to START=yes

This will enable you to use

service puppet start – command to run agent on node

Once this is completed you should be able to see a request in your Puppet Enterprise console

Please keep in mind that this quick how to is based on learn puppet Vmware and my own vmware server

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s