Simple Puppet Manifest - Puppet Typing CST Test
Loading…
Simple Puppet Manifest — Puppet Code
A simple Puppet manifest to install and start Nginx on a node.
# puppet/demo.pp
package { 'nginx':
ensure => installed,
}
service { 'nginx':
ensure => running,
enable => true,
}Puppet Language Guide
Puppet is an open-source configuration management and automation tool that allows system administrators to define infrastructure as code and manage servers, applications, and services in a consistent, automated manner.
Primary Use Cases
- ▸Server configuration management
- ▸Automated application deployment
- ▸Compliance enforcement and auditing
- ▸Infrastructure orchestration
- ▸Managing multi-environment infrastructures consistently
Notable Features
- ▸Declarative Puppet DSL
- ▸Idempotent configuration management
- ▸Centralized orchestration via Puppet Server
- ▸Supports both agent-based and agentless execution
- ▸Extensible with modules and custom types/providers
Origin & Creator
Created by Luke Kanies in 2005 and developed by Puppet, Inc.
Industrial Note
Used heavily in large-scale IT infrastructures, enterprise DevOps, and regulated industries for ensuring compliance, repeatability, and auditability of server configurations.