Projects per year
Abstract / Description of output
Puppet is a popular declarative framework for specifying and managing complex system configurations. The Puppet framework includes a domain-specific language with several advanced features inspired by object-oriented programming, including user-defined resource types, `classes’ with a form of inheritance, and dependency management. Like most real-world languages, the language has evolved in an ad hoc fashion, resulting in a design with numerous features, some of which are complex, hard to understand, and difficult to use correctly.
We present an operational semantics for $\mu$Puppet, a representative subset of the Puppet language that covers the distinctive features of Puppet, while excluding features that are either deprecated or work-in-progress. Formalizing the semantics sheds light on difficult parts of the language, identifies opportunities for future improvements, and provides a foundation for future analysis or debugging techniques, such as static typechecking or provenance tracking. Our semantics leads straightforwardly to a reference implementation in Haskell. We also discuss some of Puppet’s idiosyncrasies, particularly its handling of classes and scope, and present an initial corpus of test cases supported by our formal semantics.
We present an operational semantics for $\mu$Puppet, a representative subset of the Puppet language that covers the distinctive features of Puppet, while excluding features that are either deprecated or work-in-progress. Formalizing the semantics sheds light on difficult parts of the language, identifies opportunities for future improvements, and provides a foundation for future analysis or debugging techniques, such as static typechecking or provenance tracking. Our semantics leads straightforwardly to a reference implementation in Haskell. We also discuss some of Puppet’s idiosyncrasies, particularly its handling of classes and scope, and present an initial corpus of test cases supported by our formal semantics.
Original language | English |
---|---|
Title of host publication | 31st European Conference on Object-Oriented Programming (ECOOP 2017) |
Publisher | Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik, Germany |
Pages | 1-29 |
Number of pages | 28 |
ISBN (Print) | 978-3-95977-035-4 |
DOIs | |
Publication status | Published - 13 Jun 2017 |
Event | 31st European Conference on Object-Oriented Programming - Barcelona, Spain Duration: 18 Jun 2017 → 23 Jun 2017 https://2017.ecoop.org/track/ecoop-2017-papers |
Publication series
Name | Leibniz International Proceedings in Informatics (LIPIcs) |
---|---|
Publisher | Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik |
Volume | 74 |
ISSN (Print) | 1868-8969 |
Conference
Conference | 31st European Conference on Object-Oriented Programming |
---|---|
Abbreviated title | ECOOP 2017 |
Country/Territory | Spain |
City | Barcelona |
Period | 18/06/17 → 23/06/17 |
Internet address |
Fingerprint
Dive into the research topics of 'µPuppet: A Declarative Subset of the Puppet Configuration Language'. Together they form a unique fingerprint.Projects
- 3 Finished
-
Provenance for configuration Language Security
UK industry, commerce and public corporations
1/09/14 → 31/12/17
Project: Research
-
From Data Types to Session Types - A Basis for Concurrency and Distribution
20/05/13 → 19/11/20
Project: Research
-