Configuration Language: Puppet provides a language that is used to configure Resources. We have to specify what Action has to be applied to which Resource.The Action has three items for each Resource: type, title and list of attributes of a resource. Puppet code is written in Manifests files. Resource Abstraction: We can create Resource Abstraction in Puppet so that we can configure resources on different platforms. Puppet agent uses a Facter for passing the information of an environment to Puppet server. In Facter we have information about IP, hostname, OS etc of the environment. Transaction: In Puppet, Agent sends Facter to Master server. Master sends back the catalog to Client. Agent applies any configuration changes to system. Once all changes are applied, the result is sent to Server.
Node Management: We can manage a large number of nodes with Puppet. Code Management: With Puppet, we can define Infrastructure as code. We can review, deploy, and test the environment configuration for Development, Testing and Production environments. Reporting & Visualization: Puppet provides Graphical tools to visualize and see the exact status of infrastructure configuration. Provisioning Automation: With Puppet, we can automate deployment and creation of new servers and resources. So users and business can get their infrastructure requirements completed very fast with Puppet. Orchestration: For a large Cluster of nodes, we can orchestrate the complete process by using Puppet. It can follow the order in which we want to deploy the infrastructure environments. Automation of Configuration: With Configuration automation, the chances of manual errors are reduced. The process becomes more reliable with this.
What is Puppet?
Puppet is a configuration Tool which is use to automate administration tasks.Puppet Agent(Client) sends request to Puppet Master (Server) and Puppet Master Push Configuration on Agent.
What is Manifests?
Manifests, in Puppet, are the files in which the client configuration is specified.A
What is Module and How it is different from Manifest?
Whatever the manifests we defined in modules, can call or include into other manifests. Which makes easier management of Manifests. It helps you to push specific manifests on specific Node or Agent.
What is Facter?
Sometime you need to write manifests on conditional expression based on agent specific data which is available through Facter. Facter provides information like Kernel version, Dist release, IP Address, CPU info and etc. You can define your facter also.
What is Puppet Kick?
By default Puppet Agent request to Puppet Master after a periodic time which known as “runinterval”. Puppet Kick is a utility which allows you to trigger Puppet Agent from Puppet Master.
What is MCollective?
MCollective is a powerful orchestration framework. Run actions on thousands of servers simultaneously, using existing plugins or writing your own.
Does Puppet runs on windows?
Yes. As of Puppet 2.7.6 basic types and providers do run on Windows, and the test suite is being run on Windows to ensure future compatibility.
How should I upgrade Puppet and Facter?
The best way to install and upgrade Puppet and Facter is via your operating system’s package management system, using either your vendor’s repository or one of Puppet Labs’ public repositories.
If you have installed Puppet from source, make sure you remove old versions entirely (including all application and library files) before upgrading. Configuration data (usually located in/etc/puppet or /var/lib/puppet, although the location can vary) can be left in place between installs.
What is the architecture of Puppet?
It has following architectural components:
What are the main use cases of Puppet Enterprise?
We can use Puppet Enterprise for following scenarios:
Puppet Interview Questions and Answers
What is Puppet?
What is Manifests?
What is Module and How it is different from Manifest?
What is Facter?
What is Puppet Kick?
What is MCollective?
Does Puppet runs on windows?
How should I upgrade Puppet and Facter?
What is the architecture of Puppet?
What are the main use cases of Puppet Enterprise?