Users' questions

What is DSL in Puppet?

What is DSL in Puppet?

I was O’Reilly’s Velocity conference back in June, giving a talk on hacking Puppet, and Puppet’s configuration language came up a lot. All of these languages are examples of what the programming world calls a ‘domain specific language’, or DSL, a language tailored to the needs of a specific problem domain.

What language is used in Puppet DSL?

Ruby
Intro to the Puppet Language. Puppet itself is written in Ruby and Puppet manifests can be extended with Ruby so if you are familiar with Ruby or similar languages, Puppet DSL won’t be a huge leap for you.

What is Puppet code called?

manifest
The agent sends these facts to the primary server in the form of a special Puppet code file called a manifest .

What does manifest stand for in puppet DSL?

Manifest is a directory containing puppet DSL files. Those files have a.pp extension. The.pp extension stands for puppet program. The puppet code consists of definitions or declarations of Puppet Classes.

What do you need to know about Puppet software?

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”.

What does the.pp extension stand for in puppet?

The .pp extension stands for puppet program. The puppet code consists of definitions or declarations of Puppet Classes. Modules are a collection of files and directories such as Manifests, Class definitions. They are the re-usable and sharable units in Puppet.

How is the configuration language used in puppet?

Architecture. Configuration language: 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.