Top Answers to Puppet Interview Questions

1. What is Puppet?

First let us compare Puppet with Ansible:

CriteriaPuppet Ansible
Ease of setupNot very easyEasy
ManagementNot very easyEasy
Configuration languagePuppetDSLYAML(Python)
ScalabilityGoodGood

The Puppet is a configuration management tool that is extensively used for automating the administration tasks. Puppet tool helps you deploy, manage and configure your servers.

2. What is Manifests?

The Manifests are just files in Puppet wherein the client configuration is specified.

CTA

Watch this Puppet Tutorial for Beginners video

Top Puppet Interview Questions And Answers Interested in Learning DevOps? Click Here

3. What is the difference between a Module and a Manifest?

The manifests that we define in modules can be included in the manifests. This makes it easier to manage the manifests. It is possible to push the chosen manifest on to the specific agent or node.

4. What is Facter?

The Facter is a system profiling library which is used to gather system information during a Puppet run. The Facter offers your information regarding the IP address, version of kernel, CPU and others.

5. What is Puppet Kick?

Puppet Kick lets you trigger the Puppet Agent from Puppet Master. During the run interval the Puppet Agent will send a request to Puppet Master.

6. What is MCollective?

The MCollective is a tool that is developed by the Puppet labs for server orchestration. MCollective helps to run thousands of jobs in parallel using your own or existing plugins.

7. is it possible to manage Workstations with Puppet?

You can use the Puppet tool for managing machines which are laptops, desktops and even workstations.

8. Does Puppet run on Windows?

Beginning with Puppet 2.7.6 it is possible to run on Windows and this ensures future compatibility.

9. What type of organizations can use Puppet?

There is no strict rule about the type of organizations that can benefit from Puppet. But an organization with only a few servers is less likely to benefit from Puppet. An organization with huge number of servers can benefit from Puppet as this eliminates the need to manually manage the servers.

10. Can Puppet run on servers that are unique?

Puppet can run on servers that are unique. Even though there might be very less chances of servers being unique since within an organization there are a lot of similarities that exist like the operating system that they are running on, and so on.

11. What is Puppet Labs?

Puppet Labs is the company that is interested in solving the Puppet automation problem.

12. How to upgrade Puppet and Facter?

You can upgrade Puppet and Facter through your operating system package management system. You can do this either through the vendor’s repository or through the Puppet Labs’ public repositories.

13. What are the characters permitted in a class and module name?

The characters that are permitted in a class and module name can be lowercase letters, underscores, numbers. It should being with a lowercase letter, you can use “::” as a namespace separator. The variable names can be including alphanumeric characters and underscore and can be case sensitive.

14. How are the variables like $ operating system set?

You can set the variables by Facter. It is possible to get the complete list of variables and the values if you run the facter in a shell by itself.

Leave a Reply

Your email address will not be published. Required fields are marked *

Interview Questions