Commit Graph

223 Commits

Author SHA1 Message Date
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
Alexander Klimov ccbc1f5aa0 Split pgsql::database into pgsql::database::create and pgsql::database::populate
refs #6842
2014-08-05 15:15:01 +02:00
Alexander Klimov e42f400f38 Outsource Icinga database creation and population into pgsql::database
refs #6842
2014-08-05 14:42:01 +02:00
Alexander Klimov fe11ca4744 Merge branch 'master' into feature/deduplicate-puppet-code-6842 2014-08-05 13:50:23 +02:00
Alexander Klimov 82fa6e690f Outsource Icinga (2) database population into mysql::database 2014-08-05 13:09:33 +02:00
Alexander Klimov 8f23f61e00 Don't use `UNDEF' default values 2014-08-05 11:48:25 +02:00
Alexander Klimov 261a5dd43d Don't declare the variable $icinga_packages because it's used only once 2014-08-05 11:17:17 +02:00
Alexander Klimov 8806583289 Outsource Icinga (2) database creation into mysql::database
refs #6842
2014-08-04 13:40:11 +02:00
Michael Friedrich 3e4944c60a Vagrant: Update monitoring-plugins/livestatus
Move all hardcoded versions to the header too.

fixes #6818
2014-07-30 14:04:57 +02:00
Michael Friedrich 0b1aee8a35 Vagrant: Fix Icinga 2 MySQL creation
refs #6741
2014-07-29 13:04:20 +02:00
Eric Lippmann a0867ce33a doc module/Vagrant: Add menu.ini
refs #4820
2014-07-28 19:26:39 +02:00
Eric Lippmann ce4fa1fd3d Vagrant/doc module: Add menu link to the documentation module
refs #4820
2014-07-28 19:14:50 +02:00
Johannes Meyer 3105c2059e Remove license headers from all files
refs #6309
2014-07-15 13:43:52 +02:00
Johannes Meyer b046023623 Ensure that our menu inis are in sync and up2date
The menu configurations for vagrant missed the entries for the timeline,
applicationlog and contacts-view.

fixes #6512
2014-07-11 08:49:58 +02:00
Johannes Meyer d4a4cf90ad Fix vagrant provisioning for icinga1.x access 2014-07-02 08:39:49 +02:00
Thomas Gelf 79cdd8c94a servicematrix: show only problems per default
a) because it makes sense
b) because there seems to be a bug with unfiltered matrix

I'll investigate this, in the meantime it works like this - and is
more useful than it used to be.
2014-06-21 05:03:23 +02:00
Thomas Gelf f9b18828c1 menu/monitoring: get rid of raw_timestamp
We use this only internally, raw_timestamp should not be accessible
2014-06-20 19:07:43 +02:00
Marius Hein 89ae3713cd Vagrant/finalize: Do not remount /vagrant/var/log
If you do multiple provisioning calls mount point
/vagrant/var/log is mounted multiple times.
2014-06-06 11:01:20 +02:00
Marius Hein e3cd50ef16 Puppet: Remove stuff from manifest we do not need again 2014-06-06 10:50:58 +02:00
Marius Hein 58b509b8ee Puppet: Use /vagrant directory to deliver web files
Apache uses now /vagrant/public instead of /var/www/html
symlinks.

fixes #6421
2014-06-06 10:48:22 +02:00
Thomas Gelf 72a2ec41ba Vagrant: FollowSymlinks instead of ...IfOwnerMatch
Dirty like the rest of that setup :p
2014-06-05 15:07:41 +00:00
Thomas Gelf 176588c87d installation: get rid of .htaccess, less automake
Trying to remove a bunch of autoconf and .htaccess-related stuff.
This commit is the last one from a series now finally allowing to run
icingaweb directly from a git checkout.

refs #4075
2014-06-05 14:54:00 +00:00
Michael Friedrich 8fe804bbd4 Enable icinga snapshot repository and fetch latest icinga2 packages
Furthermore get rid of multiple 'exec' calls and use 'package' instead.
Additional refactoring for icinga 2 features.

fixes #6405
2014-06-04 16:09:50 +02:00
Marius Hein 29f593a357 Authentication: Add backend to handle external authentication
Drop external auth configuration from config.ini and move
implementation into a single backend provider named
'autologin'. This provider can strip realm names from
username with a custom regexp.

fixes #6081
2014-06-03 17:59:22 +02:00
Marius Hein 9b5c704da8 Puppet/Icinga2: Fix installation for Icinga2-2.0.0beta2 2014-06-03 14:44:13 +02:00
Eric Lippmann 274fc58d0f Vagrant: Fix file permissions of mount.vboxsf
refs #5982
2014-06-03 13:17:07 +02:00
Eric Lippmann 02007cf9fb Vagrant: No longer remount the config/ directory
The virtual machine uses its own config files beneath /etc/icingaweb.
2014-06-03 13:11:28 +02:00
Eric Lippmann 473d986dfb Revert "Vagrant/finalize.sh: Remove dmode and fmode options from mount.vboxsf"
This reverts commit 3a25f019c5.

The "wrong" permissions do of course come from fmode=775 rather than dmode=775. I'm just blind.

refs #5982
2014-06-02 18:15:19 +02:00
Eric Lippmann 3a25f019c5 Vagrant/finalize.sh: Remove dmode and fmode options from mount.vboxsf
The dmode and fmode options seem to set the execute bit even when the mode is 775.

refs #5982
2014-06-02 10:47:44 +02:00
Michael Friedrich 9a8965510a Install icingacli and bash completion in Vagrant VM
fixes #6264
refs #5803
2014-05-23 15:26:46 +02:00
Gunnar Beutner 4a5fa5f17b Update Icinga 2 version in the Puppet manifest
fixes #6219
2014-05-16 13:33:30 +02:00
Gunnar Beutner be6844c458 Fix problems with the Puppet manifest when PostgreSQL's default encoding isn't UTF-8
fixes #6211
2014-05-15 13:44:21 +02:00
Michael Friedrich f6d42944f7 Update Vagrant Icinga 2 test config
refs #6127
2014-05-14 17:45:40 +02:00
Gunnar Beutner 87054c8121 Make sure line-endings for Puppet manifests are LFs only.
fixes #6181
2014-05-10 09:34:21 +02:00
Marius Hein d681031b7b Vagrant/Icinga2: Add dependencies for test config
refs #6127
2014-05-09 18:40:46 +02:00
Marius Hein 8d42914a84 Vagrant/Icinga2: Upgrade to snapshots and optimize configuration
refs #6127
2014-05-09 18:36:35 +02:00
Marius Hein fb44940dea Vagrant/Icinga2: Optimize test configuration 2014-05-09 18:36:34 +02:00
Marius Hein 5dd85a7ee1 Vagrant: Add Icinga2 and test configuration
refs #6127
2014-05-09 18:36:34 +02:00
Marius Hein c4e36ec467 Puppet: File resources.ini set replace to false
fixes #6016
2014-04-30 13:23:50 +02:00
Marius Hein eeb399a4d4 Revert "Puppet: Change of icingaweb2 configuration deploy"
This reverts commit f98a39fd5a.
2014-04-30 13:04:41 +02:00
Johannes Meyer f209393711 Add Mockery when provisioning vagrant
resolves #5623
2014-04-15 10:07:48 +02:00
Marius Hein f98a39fd5a Puppet: Change of icingaweb2 configuration deploy
- Only ensure presence no replacement if changed
- Config files pulled out of the working tree
- To restore, delete icingaweb configuration directory
2014-04-01 10:18:10 +02:00
Thomas Gelf 8d29620350 Rename state history links 2014-03-27 09:47:52 +00:00
Thomas Gelf b677a631f0 Use new web router for Vagrant box too 2014-03-27 07:27:28 +00:00
Thomas Gelf cb5d90ad41 Simplify pre-bootstrapping web routing 2014-03-27 07:25:53 +00:00
Thomas Gelf b0c2d9a0ac Symlink svg dir in vagrant box 2014-03-21 13:57:58 +00:00
Johannes Meyer 617b6822d7 Add pagination support to the servicematrix
refs #4180
2014-03-19 09:11:24 +01:00
Thomas Gelf 58248c34a9 Remove width & height settings from dashboard components 2014-03-17 17:43:45 +00:00
Thomas Gelf 431cb9a4b4 Add new process info link to System menu 2014-03-10 00:51:36 +01:00
Thomas Gelf 6d6d1d7a33 We need php-gd for PDF generation in our Vagrant box 2014-03-08 12:45:15 +01:00
Thomas Gelf edd03d3e55 Move "temporary logout" to menu 2014-03-07 17:29:04 +00:00