Skip to content

declarativesystems/onceover-helloworld

Repository files navigation

Onceover::Helloworld

This is an example plugin for Onceover, The gateway drug to automated infrastructure testing with Puppet

Installation

Onceover detects plugins in all gems named onceover-*. Your plugin is then responsible for registering itself and setting up new commands, etc.

This example plugin can be installed by adding it to your Gemfile or by running the following command:

$ gem install onceover-helloworld

Usage

Onceover provides plugins with built-in support for help and argument processing. Here's how to run this example:

Built-in help

$ onceover run helloworld --help

Default execution

$ onceover run helloworld
INFO   -> Hello, World!

Option processing

$ onceover run helloworld --name Wednesday
INFO   -> Hello, Wednesday!

Integration highlights

Development

Finished (for now) - hopefully this makes writing your own plugins for Onceover easier :)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/declarativesystems/onceover-helloworld.