Small Puppetfile Parser
let puppetfile = Puppetfile::parse(r##"forge "https://forge.puppetlabs.com"
mod 'mayflower/php', '1.0.1'
"##);
See examples
for another simple example or src/bin/pumuckl.rs
as real use case
At rust-ci
Pumuckl checks a Puppetfile for newer versions of modules on the puppet forge Simply run it with:
cargo build
./target/pumuckl path to Puppetfile