* Correct indentation and README.md.

* Add a default case in the case statement.
This commit is contained in:
gardouille 2015-02-03 14:21:43 +01:00
parent c84e9665a5
commit 409b52a699
4 changed files with 20 additions and 10 deletions

View File

@ -1,6 +1,16 @@
---------------------------------------
###
##### Features
##### Changes
* Correct indentation and README.md.
* Add a default case in the case statement.
---------------------------------------
### 0.2.0 - 2015/02/03
##### Features

View File

@ -5,18 +5,14 @@
1. [Overview](#overview)
2. [Module Description](#module-description)
3. [Setup](#setup)
* [What Proxmox affects](#what-proxmox-affects)
* [What Motd affects](#what-motd-affects)
4. [Usage](#usage)
* [Hypervisor](#hypervisor)
* [VM](#vm)
5. [Reference](#reference)
* [Classes](#classes)
* [Defined types](#defined-types)
* [Parameters](#parameters)
6. [Other notes](#other-notes)
7. [Limitations](#limitations)
8. [Development](#development)
9. [License](#license)
6. [Limitations](#limitations)
7. [Development](#development)
8. [License](#license)
## Overview

View File

@ -11,7 +11,7 @@ class dynmotd::config {
changes => [
"set *[module = 'pam_motd.so']/argument motd=${dynmotd::dynmotd_path}",
],
onlyif => "match *[argument = 'motd=${dynmotd::dynmotd_path}'] size == 0",
onlyif => "match *[argument = 'motd=${dynmotd::dynmotd_path}'] size == 0",
}
}
@ -22,7 +22,7 @@ class dynmotd::config {
changes => [
"set *[module = 'pam_motd.so']/argument motd=${dynmotd::dynmotd_path}",
],
onlyif => "match *[argument = 'motd=${dynmotd::dynmotd_path}'] size == 0",
onlyif => "match *[argument = 'motd=${dynmotd::dynmotd_path}'] size == 0",
}
}

View File

@ -30,5 +30,9 @@ class dynmotd::params {
$print_motd_login = true
}
default: {
fail("This Puppet module has been tested only on Debian OS family.")
}
}
} # Private class: dynmotd::params