Interested to know why Ruby Ubuntu is the Unbelievable


All about Ruby Ubuntu:

Ruby Ubuntu: Puppet is an open-source configuration supervision tool. It is written inside Ruby & released beneath GPL until version 2 . not 7. 0, then Apache 2. 0 license, and then. It is supported by various Cpanel flavors, UNIX like os in this handset & windows. It is operating in a client-server fashion. With a puppet, everything which it could handle will be mentioned with understandable language. This declarative language is called Domain Distinct Language(DSL) or Ruby DSL.

Ruby Ubuntu: Puppet is a good companion for any system administrators (Sys Admins). It will be pretty handy even though configuring many systems/desktops/servers. Guess we need to have some 100 models configured with LAMP(Linux-Apache-MySQL-PHP). The following, installing everything manually could kill the time/day/mood of a system administrator.

Ruby Ubuntu: In this problem, the puppet can be a savior for any Sys Admins. By establishing a single PC as a webserver & adding all other Laptops or computers (whatever they are), seeing that clients the above mentioned (LAMP) matter can be easily achieved.

Ruby Ubuntu: In this article, I will be covering an elementary idea about the Master-Client setting. Explaining all/every/half often the puppet’s aspects is a very, really hard task. So, we will use a brief introduction only. Also, I will be covering the installation/configuration with Ubuntu PC’s only. It’ll be slightly different on other Linux styles, even though the essential idea is the same.

Adding Puppet on Ubuntu

sudo apt-get update

sudo apt-get install puppetmaster (This will probably install a master on appliance A)

sudo apt-get put up puppet (This will put up the client on machine B)

Once this is done, we must establish connectivity between a couple of PCs A & C (master & client).

Before that, we have to make sure that the two puppetmasters & clients can efficiently resolve each other’s labels. For that, we have to add the particular corresponding entries in the record /etc/hosts.

On master

sudo vim /etc/hosts

Now add the following entries,

192. 168. 1. 15 puppet client. Illustration. com (edit it accordingly)

On client

sudo vim /etc/hosts

Now append these entries,

192. 168. 1 ) 10 puppetmaster. Example. com (edit it accordingly)

Today, issue the following command coming from the client ( machine B)

puppet -server puppetmaster. Illustration. com -waitforcert 60 -test

You will see some information showing on the screen. It will be just like,

info: Creating a new certificates request for puppet client. Example. com

warning: peer certificate definitely won’t be verified in this SSL treatment

notice: Did not receive certificates

At the moment, you can ignore that one.

On machine A, since root user, type these commands.

puppet -list

Ruby Ubuntu: If the connectivity is established correctly, you can view the certificate request from the puppet client. Now, we need to signal the certificate from the puppet client to implement the proper online connectivity.

For this, from puppetmaster, work the following command,

puppets -sign puppet client. Example. com

Today, the client-server connection is made in a secure/proper manner.

If you would like to start the client on method boot itself, do the next,