Project

pupmin

0.0
No release in over 3 years
Low commit activity in last 3 years
Collection of methods and bindings for quick access to various puppet administrative tasks
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 10.0

Runtime

 Project Readme

Pupmin

Pupmin is a toolkit and utility collection for working with a Puppet cluster. Most options will require a working PuppetDB server. This gem isn't meant to replace or be an alternative to other Puppet/PuppetDB gems, but rather just serve to be a shortcut and interface into some common administrative and management tasks.

Installation

Add this line to your application's Gemfile:

gem 'pupmin'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pupmin

Usage

In Script/Application

Include the gem, then set the configuration before calling any of the classes/methods. At minimum, you need the PuppetDB server that you'll query:

Pupmin.configure({:puppetdb_url => 'http://puppetdb.yourdomain.tld:8080'})

The PuppetDB class essentially just wraps the VoxPupuli PuppetDB Gem, so the same configuration block for SSL connections can be used here.

License

The gem is available as open source under the terms of the MIT License.