Commit Graph

103 Commits

Author SHA1 Message Date
Alexander Klimov d5bfb3dbda Make `icinga2::feature' responsible for parent directory creation
refs #6842
2014-09-10 18:14:32 +02:00
Alexander Klimov 03100d0d9a icinga2::config: outsource parent directory creation into module `parent_dirs'
refs #6842
2014-09-10 18:02:00 +02:00
Alexander Klimov 413634280e Exec: prefer "user => ..." rather than "command => 'sudo -u ..."
refs #6842
2014-09-10 17:49:17 +02:00
Alexander Klimov de4380e233 Module `icinga2': add user `icinga'
refs #6842
2014-09-10 17:19:43 +02:00
Alexander Klimov a82bafc07b Make `icinga2::config' responsible for parent directory creation
refs #6842
2014-09-10 16:58:06 +02:00
Alexander Klimov 4a2259a0df Module `icinga2': notify Service[...] rather than requiring (the whole) Class[...]
refs #6842
2014-09-10 15:36:42 +02:00
Alexander Klimov a5b3601d44 Make `icinga2::feature' responsible for `icinga2::config'
refs #6842
2014-09-10 15:14:14 +02:00
Alexander Klimov 4008b86e33 icinga2::feature: replace `exec' with `file'
refs #6842
2014-09-10 14:59:44 +02:00
Alexander Klimov e124a4254d icinga2::config: hardcode '/etc/icinga2' once less
refs #6842
2014-09-10 14:38:18 +02:00
Alexander Klimov a99dbab4d4 icinga2::feature: don't require Package[icinga2]
refs #6842
2014-09-10 14:10:30 +02:00
Alexander Klimov 203dddbb24 Module `icinga2_mysql': require `Icinga2::Config[...]' rather than `File[...]'
refs #6842
2014-09-10 13:57:37 +02:00
Alexander Klimov 2576a3bc32 Module `icinga2_mysql': require `icinga2::config'
refs #6842
2014-09-10 12:48:22 +02:00
Alexander Klimov d61e883422 icingaweb2::config::general: require module `apache'
refs #6842
2014-09-10 11:45:57 +02:00
Alexander Klimov 5e3f60d42b Module `apache': add user `apache'
refs #6842
2014-09-10 11:38:10 +02:00
Alexander Klimov 260ec95771 Rename `icingaweb2::config' to `icingaweb2::config::general'
refs #6842
2014-09-10 11:24:15 +02:00
Alexander Klimov 930416b0dc pgsql::database::populate: Exec: add '/bin' to `path'
refs #6842
2014-09-10 11:14:55 +02:00
Alexander Klimov 406f3ba6f7 mysql::database::populate: Exec: add '/bin' to `path'
refs #6842
2014-09-10 11:05:13 +02:00
Alexander Klimov 9bb68c42a0 pgsql::database::populate: require module `grep'
refs #6842
2014-09-10 10:23:32 +02:00
Alexander Klimov 645a2ec380 mysql::database::populate: require module `grep'
refs #6842
2014-09-10 10:20:22 +02:00
Alexander Klimov 01807c26a7 Add module `grep'
refs #6842
2014-09-10 10:04:27 +02:00
Alexander Klimov 1e511a0e3a Rename `icingaweb2::config::monitoring' to `icingaweb2::config::module'
refs #6842
2014-09-09 14:48:55 +02:00
Alexander Klimov 6aa2dcdd72 Profile `icingaweb2_dev': outsource Icinga Web 2 config file provision into (new) `define's
icingaweb2::config
icingaweb2::config::monitoring

refs #6842
2014-09-09 13:40:16 +02:00
Alexander Klimov be7bae8cd6 pgsql::database::populate: populate the DB only if it's empty
refs #6842
2014-09-09 12:32:21 +02:00
Alexander Klimov 4484a3117b mysql::database::populate: populate the DB only if it's empty
refs #6842
2014-09-09 12:30:35 +02:00
Alexander Klimov 7b45e5cc8e Module 'pgsql': add documentation
refs #6842
2014-09-02 16:19:33 +02:00
Alexander Klimov 65f305159d Module 'mysql': add documentation
refs #6842
2014-09-02 16:18:06 +02:00
Alexander Klimov 96e98c8c53 Module 'icinga_packages': add documentation
refs #6842
2014-09-02 15:51:30 +02:00
Alexander Klimov d3d64e3efe Module 'icinga2_mysql': add documentation
refs #6842
2014-09-02 15:47:18 +02:00
Alexander Klimov 2de3af2505 Module 'icinga2': add documentation
refs #6842
2014-09-02 15:08:21 +02:00
Alexander Klimov d602f82db8 Puppet style guide: modified MySQL and PgSQL database creation and population resources to fit autoload module layout
refs #6842
2014-09-02 13:29:43 +02:00
Alexander Klimov 62def403dc Puppet style guide: don't define define inside a class
refs #6842
2014-09-02 13:12:41 +02:00
Alexander Klimov e31e6a8972 Puppet style guide: don't list optional parameters before required parameters
refs #6842
2014-09-02 12:54:03 +02:00
Alexander Klimov 1b3c42ff8a Puppet style guide: use two-space soft tabs
refs #6842
2014-09-02 12:49:29 +02:00
Alexander Klimov f3d2347432 Puppet style guide: align indentation of => properly
refs #6842
2014-09-02 12:42:27 +02:00
Alexander Klimov e8dfbe6887 Puppet style guide: Avoid double quoted strings containing no variables
refs #6842
2014-09-02 12:17:39 +02:00
Alexander Klimov 809b7149c4 Puppet style guide: neither class nor defined type names may contain dashes
refs #6842
2014-09-02 12:11:36 +02:00
Alexander Klimov bec1b65c13 Module 'icinga2': add package 'icinga2-debuginfo'
refs #6842
2014-09-01 16:27:46 +02:00
Alexander Klimov 26132c4b0a Move profile `icingaweb2' to `profiles/icingaweb2'
refs #6842
2014-09-01 15:13:18 +02:00
Alexander Klimov 4114e73626 Move profile `icinga-pgsql' to `profiles/icinga-pgsql'
refs #6842
2014-09-01 15:10:17 +02:00
Alexander Klimov 58c854d731 Move profile `icinga-mysql' to `profiles/icinga-mysql'
refs #6842
2014-09-01 15:07:08 +02:00
Alexander Klimov 9ebf011e36 Move profile `nodejs' to `profiles/nodejs'
refs #6842
2014-09-01 14:53:58 +02:00
Alexander Klimov 6c52b5233f Move profile `icinga2-dev' and its files to `profiles/icinga2-dev'
refs #6842
2014-08-29 11:43:09 +02:00
Alexander Klimov f1d18c1725 Module `icinga2': add some `icinga2::feature's
refs #6842
2014-08-29 10:25:36 +02:00
Alexander Klimov cc4907bae6 icinga2-mysql: remove file '/etc/icinga2/features-enabled/ido-mysql.conf'
refs #6842
2014-08-28 16:56:10 +02:00
Alexander Klimov 3d75d2e9c9 Move '/etc/icinga2/features-available/ido-mysql.conf' into the `icinga2-mysql' module
refs #6842
2014-08-28 16:17:54 +02:00
Alexander Klimov 3e5a0af696 Avoid dependency cycle
refs #6842
2014-08-28 15:13:47 +02:00
Alexander Klimov f2fd9f1fc4 Set exec path in `mysql::database::populate' and `pgsql::database::populate'
refs #6842
2014-08-28 14:54:22 +02:00
Alexander Klimov 146f315b44 Enable service mysqld
refs #6842
2014-08-28 14:35:06 +02:00
Alexander Klimov 4dc1541459 Clean up `pgsql::database'
refs #6842
2014-08-28 14:24:18 +02:00
Alexander Klimov 5f977328a9 Clean up `mysql::database'
refs #6842
2014-08-28 14:16:21 +02:00