Added basic server usage section.
This commit is contained in:
parent
33bae0af54
commit
e7f85ba5f6
1 changed files with 15 additions and 1 deletions
16
README.md
16
README.md
|
@ -50,7 +50,21 @@ When the `server_db_type` parameter is set, the right IDO database connection pa
|
||||||
|
|
||||||
####Server usage
|
####Server usage
|
||||||
|
|
||||||
Coming soon...
|
To install Icinga 2 with a Postgres database, first set up the database.
|
||||||
|
|
||||||
|
Once the database is set up, use the `icinga2::server` class with the database connection parameters to specify
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
#Install Icinga 2:
|
||||||
|
class { 'icinga2::server':
|
||||||
|
server_db_type => 'pgsql',
|
||||||
|
db_host => 'localhost'
|
||||||
|
db_port => '5432'
|
||||||
|
db_name => 'icinga2_data'
|
||||||
|
db_user => 'icinga2'
|
||||||
|
db_password => 'password'
|
||||||
|
}
|
||||||
|
</pre>
|
||||||
|
|
||||||
####Client usage
|
####Client usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue