Puppet Interview Question:

 1. What is Puppet ?

Answer: Puppet is a configuration Tool which is used to automate administration tasks. Puppet Agent(Client) sends a request to Puppet Master (Server) and Puppet Master Push Configuration on Agent.

2. What is Manifests ?
Answer: Manifests, in Puppet, are the files in which the client configuration is specified.

3. What is Module and How it is different from Manifest ?
Answer: 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.
4. What are the Commands to check requests of Certificates ?
Answer: 
puppetca –list (2.6)
puppet ca list (3.0)

5. What are the Commands to sign Requested Certificates ?
Answer: 
puppetca –sign hostname-of-agent (2.6)
puppet ca sign hostname-of-agent (3.0)

6. Where Puppet Master Stores Certificates
Answer: /var/lib/puppet/ssl/ca/signed

7. What is Facter ?
Answer: Sometimes 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, etc. You can defined your facter also.

8. What is the use of etckeeper-commit-post and etckeeper-commit-pre on Puppet Agent ?
etckeeper-commit-post: In this configuration file you can define command and scripts which execute after pushing configuration on Agente
etckeeper-commit-pre: In this configuration file you can define command and scripts which execute before pushing configuration on Agent

9. What is Puppet Kick ?
By default Puppet Agent request to Puppet Master after a periodic time which was known as “runinterval”. Puppet Kick is a utility which allows you to trigger Puppet Agent from Puppet Master.

10. What is MCollective ?
MCollective is a powerful orchestration framework. Run actions on thousands of servers simultaneously, using existing plugins or writing your own.

No comments:

Post a Comment