Commit Graph

273 Commits

Author SHA1 Message Date
Alexander Klimov a4384b6dd3 Profile `icingaweb2_dev': include zend_framework
refs #6842
2014-09-11 10:30:06 +02:00
Alexander Klimov d22e251b59 Add module/class `zend_framework'
refs #6842
2014-09-11 10:28:05 +02:00
Alexander Klimov 8881d96f6b Revert "Add module `grep'"
This reverts commit 01807c26a7.
2014-09-11 10:21:27 +02:00
Alexander Klimov d892ae5670 Revert "mysql::database::populate: require module `grep'"
This reverts commit 645a2ec380.

Conflicts:
	.vagrant-puppet/modules/mysql/manifests/database/populate.pp
2014-09-11 10:20:59 +02:00
Alexander Klimov dc28f53033 Revert "pgsql::database::populate: require module `grep'"
This reverts commit 9bb68c42a0.

Conflicts:
	.vagrant-puppet/modules/pgsql/manifests/database/populate.pp
2014-09-11 10:18:18 +02:00
Alexander Klimov 0b1f3183ad Make `icingaweb2::config::general' responsible for parent directory creation
refs #6842
2014-09-10 18:41:49 +02:00
Alexander Klimov e5ca8eb626 Profile `icingaweb2_dev': include php
refs #6842
2014-09-10 18:27:27 +02:00
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 65a65ae2b3 Profile `icingaweb2_dev': require module `apache'
refs #6842
2014-09-10 11:48:14 +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 a33042bcc9 Profile `icingaweb2_dev': add `path' for Exec
refs #6842
2014-09-10 11:27:28 +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 924a511386 Profile `icingaweb2_dev': add config files to 'modules/monitoring'
backends.ini
config.ini
instances.ini

refs #6842
2014-09-09 18:00:26 +02:00
Alexander Klimov 07c4591499 Profile `icingaweb2_dev': add config file 'config.ini'
refs #6842
2014-09-09 17:46:00 +02:00
Alexander Klimov 0fbe072747 Profile `icingaweb2_dev': add config file 'authentication.ini'
refs #6842
2014-09-09 16:27:26 +02:00
Alexander Klimov 858e7c2f9e Profile `icingaweb2_dev': add config file 'resources.ini'
refs #6842
2014-09-09 16:18:09 +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 7e4feb748d Profile `icingaweb2_dev': softcode '/etc/icingaweb' as $cfgpath
refs #6842
2014-09-09 14:45:04 +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 77719be042 Profile `icingaweb2_dev': deduplicate DB creation/population
refs #6842
2014-09-09 13:19:12 +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 2c0d71ad95 Rename profile `icingaweb2' to `icingaweb2_dev'
refs #6842
2014-09-08 12:24:28 +02:00
Alexander Klimov 4d32685316 Module (profile) 'icinga2_dev': add documentation
refs #6842
2014-09-02 16:41:16 +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
Alexander Klimov 5c0f998085 Clean up module `icinga2-mysql'
refs #6842
2014-08-28 13:49:50 +02:00
Alexander Klimov f6a9c67fa2 Clean up `icinga2::feature'
refs #6842
2014-08-28 13:08:42 +02:00
Alexander Klimov 75ea24361d Clean up module `icinga2'
refs #6842
2014-08-28 12:38:52 +02:00
Alexander Klimov 42a564dc8b Outsource yumrepo `icinga-packages' into module `icinga-packages'
refs #6842
2014-08-28 12:37:06 +02:00
Alexander Klimov 99133823dd profile::nodejs: include epel because it's required
refs #6842
2014-08-22 17:32:34 +02:00
Alexander Klimov ee9f87b4e4 profile::icinga2-dev: remove parameter`icinga2Version'
refs #6842
2014-08-22 15:45:44 +02:00
Alexander Klimov aa030111bd Rename `profile::icinga2' to `profile::icinga2-dev'
refs #6842
2014-08-22 13:45:47 +02:00
Alexander Klimov 5a6995f67f Outsource `icinga2' stuff, `icinga2-mysql' stuff and `icinga2::feature' into modules
refs #6842
2014-08-22 13:37:27 +02:00
Eric Lippmann 114a648b4f deduplicate puppet code: Fix merge conflicts 2014-08-22 11:37:46 +02:00
Eric Lippmann 96dcc79f11 Merge branch 'master' into feature/deduplicate-puppet-code-6842
Conflicts:
	.vagrant-puppet/manifests/default.pp
2014-08-22 11:37:40 +02:00
Alexander Fuhr 36a275371f Delete unnecessary configurations files from .vagrant-puppet
fixes #5749
2014-08-20 16:26:52 +02:00
Alexander Fuhr e0b9730f17 Update configurations source paths in puppet default.pp
refs #5749
2014-08-20 16:01:08 +02:00
Alexander Fuhr bef639ecb8 Update deprecated output variable in puppet files 2014-08-20 15:16:42 +02:00
Alexander Klimov bb65fb396a Merge branch 'bugfix/sensitive-custom-vars-6641'
fixes #6641
2014-08-20 12:29:45 +02:00
Johannes Meyer 09dfcca0bc Merge branch 'master' into bugfix/styled-history-views-6637 2014-08-20 11:39:03 +02:00
Johannes Meyer 4eaf94cdf1 Show only acknowledgement and user comments by default 2014-08-20 11:33:22 +02:00
Alexander Klimov c6d4ab4c44 Vagrant/Puppet: add file '/etc/icingaweb/modules/monitoring/config.ini'
refs #6641
2014-08-19 15:04:43 +02:00
Eric Lippmann 1c74fd7028 Merge branch 'master' into feature/display-documentation-4820
Conflicts:
	modules/doc/library/Doc/DocParser.php
2014-08-19 13:39:48 +02:00
Alexander Fuhr c69af6c5d2 Move "modules" to "System" menu
resolves #6934
2014-08-19 11:14:18 +02:00
Alexander Fuhr aec0591001 Add monitoring-plugins Puppet module and drop direct download of the
plugins

fixes #6953
2014-08-18 16:52:59 +02:00
Alexander Klimov 59c5b70f71 Correct path to icinga2-ido-mysql's schema file 2014-08-18 13:51:06 +02:00
Alexander Klimov 67efe52141 Revert "Put always a ',' after a parameter because explicit is better than implicit"
This reverts commit 26205a76b3.
2014-08-18 11:00:30 +02:00
Alexander Klimov 0677105d45 Unify/Deduplicate some icinga2::features
refs #6842
2014-08-15 13:10:38 +02:00
Alexander Klimov 26205a76b3 Put always a ',' after a parameter because explicit is better than implicit
refs #6842
2014-08-15 11:10:47 +02:00
Alexander Klimov 392e725d8a Outsource specific parts into profiles icinga-mysql, icinga-pgsql, icinga2, icingaweb2 and nodejs
refs #6842
2014-08-06 13:27:16 +02:00
Alexander Klimov 05afbeebe0 Outsource 'icing_web' database creation into mysql::database::create
refs #6842
2014-08-05 16:29:44 +02:00
Alexander Klimov a110b25071 Outsource 'icingaweb' database creation into mysql::database::create
refs #6842
2014-08-05 16:29:02 +02:00
Alexander Klimov 73a29abac3 Outsource 'icinga_unittest' database creation into mysql::database::create
refs #6842
2014-08-05 16:16:05 +02:00
Alexander Klimov 2e1afd7194 Make privileges customizable in mysql::database::create (and mysql::database::populate)
refs #6842
2014-08-05 16:12:47 +02:00
Alexander Klimov 920a784beb Split mysql::database into mysql::database::create and mysql::database::populate
refs #6842
2014-08-05 15:43:23 +02:00
Alexander Klimov 538088d177 The name of pgsql::database::create MUST NOT be create-pgsql-*-db 2014-08-05 15:37:49 +02:00
Alexander Klimov ee711679e6 Outsource 'icingaweb' database creation into pgsql::database::create
refs #6842
2014-08-05 15:20:43 +02:00
Alexander Klimov 9a50cb8fa3 Outsource 'icinga_unittest' database creation into pgsql::database::create
refs #6842
2014-08-05 15:15:46 +02:00