Made a subsection for Debmon repo usage.
This commit is contained in:
parent
0b7336f9cf
commit
2a0096fc1d
1 changed files with 17 additions and 2 deletions
19
README.md
19
README.md
|
@ -112,8 +112,6 @@ class { 'icinga2::server':
|
|||
|
||||
When the `server_db_type` parameter is set, the right IDO database connection packages are automatically installed and the schema is loaded.
|
||||
|
||||
If you want to use [Debmon repository](http://debmon.org/packages) for Debian 7, you have to set `use_debmon_repo` to true when you call `icinga2::server` class.
|
||||
|
||||
**Note:** For production use, you'll probably want to get the database password via a [Hiera lookup](http://docs.puppetlabs.com/hiera/1/puppet.html) so the password isn't sitting in your site manifests in plain text:
|
||||
|
||||
<pre>
|
||||
|
@ -149,6 +147,23 @@ icinga2::object::idopgsqlconnection { 'postgres_connection':
|
|||
|
||||
In a future version, the module will automatically create the IDO connection objects.
|
||||
|
||||
**Using the Debmon repository on Debian systems**
|
||||
|
||||
If you would like to use the [Debmon repository](http://debmon.org/packages) for Debian 7 systems, set `use_debmon_repo` to true when you call the `icinga2::server` class:
|
||||
|
||||
<pre>
|
||||
class { 'icinga2::server':
|
||||
server_db_type => 'pgsql',
|
||||
# default to false
|
||||
use_debmon => true,
|
||||
db_host => 'localhost'
|
||||
db_port => '5432'
|
||||
db_name => 'icinga2_data'
|
||||
db_user => 'icinga2'
|
||||
db_password => 'password',
|
||||
}
|
||||
</pre>
|
||||
|
||||
**NRPE and Nagios plugin packages**
|
||||
|
||||
If you will be installing NRPE or the Nagios plugins packages with the `icinga2::nrpe` class on a node that also has the `icinga2::server` class applied, be sure to set the `$server_install_nagios_plugins` parameter in your call to `icinga2::server` to `false`:
|
||||
|
|
Loading…
Reference in a new issue