Posts

Showing posts from December, 2015

Puppet : Addinng additional Client Nodes

In my initial blog at http://zaman4linux.blogspot.com/2014/11/quick-howto-puppet-installation-and.html , we had seen how to install and configure Puppet Server and Client.

Now we will see further in adding additional clients to the puppet server .

The steps are as follows:

1.  Edit puppet.conf on server to add the entry for new client as shown below
     dns_alt_names = xqa2.example.com , xqa3.example.com

2. Edit site.pp to add the entry for new host with the rule to add a file

      node "xqa3.example.com" {
            file { "/home/blaskar/zamanhosts.txt":
                             ensure => file,
                             owner  => "root",
                             group  => "root",
                             mode   => 0644
                            content => "Node1.example.com"
                   }
           } 


On puppet client we will execute the following steps

1. First install the puppet software

yum …