Explorar el Código

* Add a new variable to choose the repository suite for Megacli.

master
gardouille hace 5 años
padre
commit
6959d17d0c
Se han modificado 5 ficheros con 22 adiciones y 1 borrados
  1. +7
    -0
      CHANGELOG.md
  2. +12
    -0
      README.md
  3. +1
    -0
      manifests/init.pp
  4. +1
    -0
      manifests/params.pp
  5. +1
    -1
      manifests/repo.pp

+ 7
- 0
CHANGELOG.md Ver fichero

@@ -1,6 +1,13 @@

---------------------------------------

### 0.2.0 -

##### Changes
* Add a new variable to choose the repository suite for Megacli.

---------------------------------------

### 0.1.0 - 2015-03-24

Initial release.


+ 12
- 0
README.md Ver fichero

@@ -7,6 +7,7 @@
3. [Setup](#setup)
* [What megacli affects](#what-megacli-affects)
4. [Usage](#usage)
* [New debian Jessie](#new-debian-jessie)
5. [Reference](#reference)
* [Classes](#classes)
* [Parameters](#parameters)
@@ -38,6 +39,16 @@ To begin using Megacli module with defaults parameters:
include megacli
```

### New Debian Jessie

The default repository doesn't provide (yet?) a repository for the new Debian Stable (aka Jessie). Instead, we can use the Sid one:
```
class { 'megacli':
repo_suite => 'sid',
}
```


## Reference

### Classes
@@ -51,6 +62,7 @@ include megacli
#### megacli
* `repo_ensure`: What to set the repository to. Can be 'present' or 'absent'. Defaults to 'present'.
* `repo_url`: The URL of the repository. Default to 'http://hwraid.le-vert.net/debian/' for Debian systems.
* `repo_suite`: The suite to use for the repository. Default to '$::lsbdistcodename'.
* `repo_key`: The key to ensure the repository is trusted. Defaults to '23B3D3B4' for Debian systems.
* `repo_key_server`: The server used to validate the repository's key. Defaults to 'keyserver.ubuntu.com' for Debian systems.
* `repo_include_src`: If set to 'true', it will include the source packages. Can be 'true' or 'false'. Defaults to 'false'.


+ 1
- 0
manifests/init.pp Ver fichero

@@ -37,6 +37,7 @@
class megacli (
$repo_ensure = $megacli::params::repo_ensure,
$repo_url = $megacli::params::repo_url,
$repo_suite = $megacli::params::repo_suite,
$repo_key = $megacli::params::repo_key,
$repo_key_server = $megacli::params::repo_key_server,
$repo_include_src = $megacli::params::repo_include_src,


+ 1
- 0
manifests/params.pp Ver fichero

@@ -8,6 +8,7 @@ class megacli::params {
# Repository
$repo_ensure = present
$repo_url = 'http://hwraid.le-vert.net/debian/'
$repo_suite = $::lsbdistcodename
$repo_key = '23B3D3B4'
$repo_key_server = 'keyserver.ubuntu.com'
$repo_include_src = false


+ 1
- 1
manifests/repo.pp Ver fichero

@@ -8,7 +8,7 @@ class megacli::repo {
apt::source {'megacli':
ensure => $megacli::repo_ensure,
location => $megacli::repo_url,
release => $::lsbdistcodename,
release => $megacli::repo_suite,
repos => $megacli::repos,
include_src => $megacli::repo_include_src,
key => $megacli::repo_key,


Cargando…
Cancelar
Guardar