Puppet (software)

Puppet
Developer(s) Puppet
Initial release 2005 (2005)
Stable release 4.8.0 (November 1, 2016 (2016-11-01)[1]) [±]
Preview release 4.0-rc1 (April 15, 2015 (2015-04-15)) [±]
Written in Ruby
Operating system Linux, Unix-like, Microsoft Windows
Type
License Apache for >2.7.0, GPL for prior versions
Website www.puppet.com

In computing, Puppet is an open-source configuration management tool. It runs on many Unix-like systems as well as on Microsoft Windows, and includes its own declarative language to describe system configuration.

Puppet is produced by Puppet, founded by Luke Kanies in 2005. It is written in Ruby and released as free software under the GNU General Public License (GPL) until version 2.7.0 and the Apache License 2.0 after that.[2]

Overview

Puppet is designed to manage the configuration of Unix-like and Microsoft Windows systems declaratively. The user describes system resources and their state, either using Puppet's declarative language or a Ruby DSL (domain-specific language). This information is stored in files called "Puppet manifests". Puppet discovers the system information via a utility called Facter, and compiles the Puppet manifests into a system-specific catalog containing resources and resource dependency, which are applied against the target systems. Any actions taken by Puppet are then reported.

Puppet consists of a custom declarative language to describe system configuration, which can be either applied directly on the system, or compiled into a catalog and distributed to the target system via client–server paradigm (using a REST API), and the agent uses system specific providers to enforce the resource specified in the manifests. The resource abstraction layer enables administrators to describe the configuration in high-level terms, such as users, services and packages without the need to specify OS specific commands (such as rpm, yum, apt).

Puppet is model-driven, requiring limited programming knowledge to use.[3]

Puppet comes in two flavors, Puppet Enterprise and Open Source Puppet. In addition to providing functionalities of Open Source Puppet, Puppet Enterprise also provides GUI, API and command line tools for node management.

Architecture

Puppet manually invoked on a client

Puppet usually follows client-server architecture. The client is known as agent and the server is known as master. It can also be used as a stand-alone application.

Puppet Master is installed on one or more servers and the systems that need to be configured install Puppet Agent. Puppet Agents communicate with the server and fetch configuration instructions. The Agent then applies the configuration on the system and sends the status report to the server.[4] Devices can run Puppet Agent as a daemon, that can be triggered periodically as a cron job or can be run manually whenever needed.

Puppet architecture consists of:

type { 'title':
  attribute => value
}

Example:

user { 'harry':
  ensure => present,
  uid    => '1000',
  shell  => '/bin/bash',
  home   => '/var/tmp'
}

Characteristics

Platforms and users

Built to be cross-platform, Puppet works on all major Linux distributions, as well as on other Unix-like systems (Solaris, BSD, Mac OS X, AIX, HP-UX), and has Microsoft Windows support.[6][7]

Puppet is used by the Wikimedia Foundation,[8] ARIN, Mozilla,[9] Reddit,[10] CERN,[11] Dell, Rackspace, Zynga, Twitter, the New York Stock Exchange, PayPal, Disney, Citrix Systems, Spotify, TubeMogul,[12] Oracle, Yandex, the University of California Los Angeles, the University of North Texas, the Los Alamos National Laboratory, Stanford University, Purdue University, Lexmark, QVC, Intel, Bright Computing and Google, among others.[13]

See also

References

  1. "Puppet 4.8 Release Notes". Puppet. Retrieved 18 November 2016.
  2. "Puppet Frequently Asked Questions". Puppet Labs. Retrieved 10 March 2010.
  3. "Deploying Apache Tomcat Applications With Puppet". tomcatexpert.com. Retrieved 23 January 2015.
  4. "Overview of Puppet's architecture — Documentation — Puppet". docs.puppet.com. Retrieved 2016-09-14.
  5. 1 2 Krum, Hevelingen, Kero, Turnbull, McCune. Pro Puppet. Apress. ISBN 978-1430260400.
  6. "PE 3.7 » Installing » System Requirements — Documentation — Puppet Labs". puppetlabs.com. Retrieved 23 January 2015.
  7. "Puppet Open Source » Supported Platforms and System Requirements — Documentation — Puppet Labs". puppetlabs.com. Retrieved 23 January 2015.
  8. Ever wondered how the Wikimedia servers are configured? — Wikimedia blog. Blog.wikimedia.org (2011-09-19). Retrieved on 2013-12-09.
  9. "ReleaseEngineering/PuppetAgain". mozilla.org. Retrieved 4 March 2015.
  10. We are sysadmins @ reddit. Ask us anything! : sysadmin. Reddit.com (2012-03-21). Retrieved on 2013-12-09.
  11. "CERN Configuration Management System User Guide". cern.ch. Retrieved 30 March 2015.
  12. "Puppet Camp Paris: Improving Operations Efficiency With Puppet". shell-tips.com. 2015-04-20.
  13. Google, VMware, Cisco stuff Puppet with $8.5M
This article is issued from Wikipedia - version of the 11/26/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.