* Add .gitignore for swp and puppet module's pkg files.

* Publish the 0.1.0 version to puppet forge labs:
https://forge.puppetlabs.com/gardouille/ipmi/readme
This commit is contained in:
gardouille 2015-01-20 08:55:41 +01:00
parent 22f665ad77
commit 8b2268cdfc
4 changed files with 38 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
pkg/
*.swp

View File

@ -3,7 +3,7 @@
### 0.1.0 - 2015/01/19
Inital release.
##### Changes
* Install package ipmitool
@ -11,3 +11,4 @@
* Load one needed module (for Debian) one time
* Update README.md file.
* Add a defined type to manage IPMI's user and channel.
* Add .gitignore for swp and puppet module's pkg files.

View File

@ -58,7 +58,22 @@ the fancy stuff with your module here.
### Defined types
* Not yet implemented
* `ipmi::ressource::channel`: Manage IPMI's channel configuration (only lan right now).
```
ipmi::ressource::channel { '1':
ipaddr => '192.168.100.1',
netmask => '255.255.255.0',
}
```
* `ipmi::ressource::user`: Manage IPMI's user (can't create a new one):
```
ipmi::ressource::user { 'admin':
password => 'my_new_password',
}
```
### Parameters

View File

@ -5,6 +5,24 @@
# === Parameters
#
# [*channel_id*]
# _default_: +$title+, the title/name of the ressource
#
# Is the channel identifier.
#
# [*ipaddr*]
# _default_: +0.0.0.0+
#
# The ip address to allow remote access from lan.
#
# [*netmask*]
# _default_: +0.0.0.0+
#
# The netmask associated to the previous ip address.
#
# [*remote_access*]
# _default_: +on+
#
# Allow remote access from lan (+on+) or disable it (+off+).
#
define ipmi::ressource::channel ( $channel_id = $title, $ipaddr = '0.0.0.0', $netmask = '0.0.0.0', $remote_access = 'on' ) {