Developer(s) | Puppet |
---|---|
Initial release | 2005 |
Stable release | 6.16.0 (June 3, 2020[1]) [±] |
Written in | C++ & Clojure from 4.0,[2] Ruby |
Operating system | Linux, Unix-like, Microsoft Windows |
Type | |
License | Open Source Puppet: Apache for >2.7.0, GPL for prior versions. Puppet Enterprise: proprietary[3] |
Website | puppet |
Puppet is a software configuration management tool which includes its own declarative language to describe system configuration. It is produced by Puppet Inc., founded by Luke Kanies in 2005. Its primary product, Puppet Enterprise,[4] is a proprietary and closed-source version of its open-source Puppet software. They use Puppet's declarative language to manage stages of the IT infrastructure lifecycle, including the provisioning, patching, configuration, and management of operating system and application components in data centers and cloud infrastructures.[5]
Puppet uses an open-core model; its free-software version was released under version 2 of the GNU General Public License (GPL) until version 2.7.0,[6] and later releases use the Apache License, while Puppet Enterprise uses a proprietary license.
Puppet and Puppet Enterprise operate on multiple Unix-like systems (including Linux, Solaris, BSD, Mac OS X, AIX, HP-UX) and has Microsoft Windows support.[7][8] Puppet itself is written in Ruby, Facter is written in C++, and Puppet Server and Puppet DB are written in Clojure.[9]
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.[10]
It comes in two versions, 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.
Puppet usually follows client-server architecture. The client is known as an agent and the server is known as the master. For testing and simple configuration, it can also be used as a stand-alone application run from the command line.
Puppet Server is installed on one or more servers, and Puppet Agent is installed on all the machines to be managed. Puppet Agents communicate with the server and fetch configuration instructions. The Agent then applies the configuration on the system and sends a status report to the server.[11] Devices can run Puppet Agent as a daemon, that can be triggered periodically as a cron job or can be run manually whenever needed.
The Puppet programming language is a declarative language that describes the state of a computer system in terms of "resources", which represent underlying network and operating system constructs. The user assembles resources into manifests that describe the desired state of the system. These manifests are stored on the server and compiled into configuration instructions for agents on request.[12]
Puppet resource syntax:
type { 'title': attribute => value }
Example resource representing a Unix user:
user { 'harry': ensure => present, uid => '1000', shell => '/bin/bash', home => '/var/tmp' }
Puppet allows users to configure systems in a platform-agnostic way by representing operating system concepts as structured data. Rather than specifying the exact commands to perform a system action, the user creates a resource, which Puppet then translates into system-specific instructions which are sent to the machine being configured. For example, if a user wants to install a package on three different nodes, each of which runs a different operating system, they can declare one resource, and Puppet will determine which commands need to be run based on the data obtained from Facter, a program that collects data about the system it is running on, including its operating system, IP address, and some hardware information.[13] Providers on the node use Facter facts and other system details to translate resource types in the catalog into machine instructions that will actually configure the node.
A normal Puppet run has the following stages:
Type | Private[14] |
---|---|
Industry | Computer software[14] |
Founded | 2005citation needed] | [
Headquarters | Portland, Oregon , U.S. |
Key people | Luke Kanies (Founder), Yvonne Wassenaar (CEO), Andrew Shafer |
Products | Puppet, Puppet Enterprise, and Puppet Forge[15] |
Website | puppet |
Puppet's vendor Puppet, Inc, is a privately held information technology (IT) automation software company based in Portland, Oregon , United States .
In 2005, Puppet was founded by former CEO Luke Kanies.[citation needed] On Jan. 29, 2019 Yvonne Wassenaar replaced Sanjay Mirchandani as CEO. Wassenaar previously worked at Airware, New Relic and VMware.
In February 2011 Puppet released its first commercial product, Puppet Enterprise, built on its open-source base, with some extra some commercial components.[16] In September 2011, the company released Puppet Enterprise 2.0, which introduced integration with MCollective, acquired by Puppet in 2010,[17] as well as provisioning for virtual machines on Amazon EC2 and VMware.[18] In June 2013, Puppet released Puppet Enterprise 3.0, which features a rewritten orchestration engine.[19]
Puppet purchased the infrastructure automation firm Distelli in September 2017.[20] Puppet rebranded Distelli's VM Dashboard (a continuous integration / continuous delivery product) as Puppet Pipelines for Applications,[21] and K8S Dashboard as Puppet Pipelines for Containers.[22] The products were made generally available in October, 2017.[23]
In May 2018, Puppet released Puppet Discovery, a tool to discover and manipulate resources in hybrid networks.[24] It is Puppet's third stand-alone enterprise product.
In June of 2018 Puppet raised $42 million for a total of $150 million in funding. The round was led by Cisco and included Kleiner Perkins, True Ventures, EDBI, and VMware.[25]
Puppet partners and has technology integrations with VMware, Amazon Web Services, Cisco, OpenStack, Microsoft Azure, Eucalyptus, Rightscale, and Zenoss.[26]
In April 2022, it was announced Puppet had been acquired by the Minneapolis-headquartered software developer, Perforce.[27] The company subsequently laid off 15% of Puppet's workforce in Portland.[28]