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
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.