When we have Puppet installed on the system, the following step is to arrange it to complete certain initial operations.
To happen the Puppet server achieve the client’s server centrally, one wants to open a stated port on all the machines, i.e. 8140 can be used if it is not in use in any of the machines which we are trying to configure. We want to allow both TCP and UDP communication on all the machines.
The key conformation file for Puppet is etc/puppet/puppet.conf. All the conformation files get formed in a package-based configuration of Puppet. Maximum of the configuration which is essential to configure Puppet is kept in these files and when the Puppet run takes place, it picks up those conformations mechanically. Though, for some exact tasks such as configuring a web server or an external Certificate Authority (CA), Puppet has distinct configuration for files and settings.
Server configuration files are situated in conf.d directory which is also recognized as the Puppet master. These files are by default located under /etc/puppetlabs/puppetserver/conf.d path. These config files are in HOCON format, which retains the basic structure of JSON but it is clearer. When the Puppet startup takes place it picks up all .cong files from conf.d directory and uses them for making any configurational changes. Any variations in these files only takes place when the server is restarted.
There are changed configuration files in Puppet which are exact to each component in Puppet.
Puppet.conf file is Puppet’s key configuration file. Puppet customs the same configuration file to organize all the obligatory Puppet command and services. All Puppet connected settings such as the definition of Puppet master, Puppet agent, Puppet apply and certificates are defined in this file. Puppet can refer them as per requirement.
The config file look like a standard ini file where the settings can go into the exact application section of the main section.
Puppet Master Config File
In Puppet arrangement, the file which is going to be used has numerous arrangement sections where every section has altered kinds of multiple number of settings.
Puppet arrangement file principally consists of the resulting config sections.
Resulting are the key mechanisms of Config file.
In Puppet, any statement line starts with (#) sign. This might intend with any quantity of space. We can have a limited comment as well within the same line.
Settings line must consist of −
In maximum of the cases, the value of settings will be a only word but in some singular cases, there are few distinct values.
In arrangement file settings, take a list of directories. While starting these directories, one must keep in attention that they must be divided by the system path separator character, which is (:) in *nix platforms and semicolons (;) on Windows.
In the description, the file directory which is listed first is scanned and then in future moves to the other directory in the list, if it doesn’t find one.
All the situations that take a single file or directory can receive an elective hash of consents. When the server is starting up, Puppet will enforce those files or directories in the list.
In the overhead code, the allowable hash are owner, group, and mode. There are individual two valid values of the owner and group keys.
Puppet (software) Related Interview Questions
|ITIL Configuration Management Interview Questions||Change Management Interview Questions|
|Perl Scripting Interview Questions||Python Interview Questions|
|Cloud Computing Interview Questions||Hadoop Interview Questions|
|Amazon Web Services (AWS) Interview Questions||Hadoop Administration Interview Questions|
|Nagios Admin Interview Questions||Advanced Linux Interview Questions|
|VMware Interview Questions||Configuration Manager Interview Questions|
|Aws Devops Interview Questions|
Puppet (software) Related Practice Tests
|ITIL Configuration Management Practice Tests||Change Management Practice Tests|
|Perl Scripting Practice Tests||Python Practice Tests|
|Cloud Computing Practice Tests||Hadoop Practice Tests|
|Amazon Web Services (AWS) Practice Tests||Hadoop Administration Practice Tests|
Puppet (software) Tutorial
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.