ISoLA & AISoLA 2026

International Symposium on Leveraging Applications of Formal Methods, Verification, and Validation • Kos, Greece

Talk

Semantics of a Subset of Puppet 4.8 Mechanized in Why3

Time: Saturday, 24.10

Room: Room 1

Authors: Frédéric Loulergue, Mohamed Haady Tiemtore

Abstract: Practical Infrastructure-as-Code tools such as Puppet are used for configuration management, but their semantics is usually defined by implementations and manuals. We present mechapuppet, a Why3 mechanization of a Puppet~4.8 subset derived from µpuppet, Fu et al.'s paper semantics, and revised where Puppet behaviour differs. The development combines small-step rules with executable step functions over the same abstract syntax, and verifies the latter against the former. We also prove several meta-theoretic properties of the semantics. Extracted OCaml code and a front-end yield a compiler whose catalogues are compared with Puppet 4.8 on about two thousand tests.

Paper: 978-3-032-40124-3_3