Module jamtur01/cloudkick 0.0.2
| Download |
|
Module description
Cloudkick module
This is the Cloudkick module.
To use it:
include cloudkick
You need need to specify your API secret and key in the cloudkick::params class (manifests/params.pp).
To remove a node change your include to:
include cloudkick::delete
To configure a Cloudkick node you can use the built-in
cloudkick_node type like so:
cloudkick_node { 'node_name':
key => 'key,
secret => 'secret',
ipaddress => '192.168.1.1',
ensure => present,
color => '#000000',
tags => [ 'foo', 'bar' ],
}
Author
James Turnbull james@puppetlabs.com
Copyright
Puppet Labs 2011
License
Apache 2.0
Release notes for version 0.0.2
Added support to add color to nodes
Due to an issue with the API it appears
new nodes don't get colors and tags. Issue
logged with Cloudkick.
Types
cloudkick_node
Description
Manage creation/deletion of Cloudkick nodes.
Parameters
- node
The Cloudkick node name.
- secret
The Cloudkick secret.
- key
The Cloudkick key.
- ipaddress
The IP address of the node.
Properties
- ensure
The basic property that the resource should be in. Valid values are
present,absent.
- color
The color to specify. Should be a Hex color code, ie.
#000000.
- tags
Tags to be added to the Cloudkick node. Specify a tag or an array of tags.
Providers
- cloudkick_node
Manage Cloudkick nodes. Default for
kernel==Linux.
- default
This is a default provider that does nothing.