Removed trailing whitespaces.

This commit is contained in:
Nick Chappell 2014-10-09 23:34:48 -07:00
parent 2826c0fa9f
commit cc69fa52e4

View file

@ -46,7 +46,7 @@ Icinga 2 requires either a [MySQL](http://www.mysql.com/) or a [Postgres](http:/
Currently, this module does not set up any databases. You'll have to create one before installing Icinga 2 via the module.
If you would like to set up your own database, either of the Puppet Labs [MySQL](https://github.com/puppetlabs/puppetlabs-mysql) or [Postgres](https://github.com/puppetlabs/puppetlabs-postgresql) modules can be used.
If you would like to set up your own database, either of the Puppet Labs [MySQL](https://github.com/puppetlabs/puppetlabs-mysql) or [Postgres](https://github.com/puppetlabs/puppetlabs-postgresql) modules can be used.
The example below shows the [Puppet Labs Postgres module](https://github.com/puppetlabs/puppetlabs-postgresql) being used to install Postgres and create a database and database user for Icinga 2:
@ -72,7 +72,7 @@ This defined type creates custom files in the `/etc/icinga2/conf.d` directory.
The `icinga2::conf` type has `target_dir`, `target_file_name`, `target_file_owner`, `target_file_group` and `target_file_mode` parameters just like the `icinga2::object` types.
The content of the file can be managed with two parameters:
The content of the file can be managed with two parameters:
* `template` is an ERB tmplate to use for the content (ie. `site/icinga2/baseservices.conf.erb`)
* `source` is the file server source URL for a static file (ie. `puppet:///modules/site/icinga2/baseservices.conf`)
@ -100,7 +100,7 @@ Once the database is set up, use the `icinga2::server` class with the database c
<pre>
#Install Icinga 2:
class { 'icinga2::server':
class { 'icinga2::server':
server_db_type => 'pgsql',
db_host => 'localhost'
db_port => '5432'
@ -165,7 +165,7 @@ This will stop the `icinga2::server` class from trying to install the plugins pa
If you would like to install packages to make a `mail` command binary available so that Icinga 2 can send out notifications, set the `install_mail_utils_package` parameter to **true**:
<pre>
class { 'icinga2::server':
class { 'icinga2::server':
...
install_mail_utils_package => true,
...
@ -198,7 +198,7 @@ class { 'icinga2::nrpe':
<pre>
#Install Icinga 2:
class { 'icinga2::server':
class { 'icinga2::server':
server_db_type => 'pgsql',
server_install_nagios_plugins => false,
}