3820 Commits

Author SHA1 Message Date
Sam Kottler
5f17507cd6 Start with sysvinit installation logic 2014-06-15 17:01:24 +02:00
Sam Kottler
4568f68f90 Remove mention of icinga in the description since it's already in the name and might cause versioning confusion
Refs #4794
2014-06-15 17:00:30 +02:00
Sam Kottler
6a52097255 Generate the service unit on Fedora and use the %systemd_post/_postun/_preun macros for service setup
Refs #4794
2014-06-15 16:56:22 +02:00
Gerd von Egidy
4ebde46520 Move code preparing dirs and permissions to icinga2-prepare-dirs, use this for SysV-Init and systemd.
Refs #4794

Conflicts:
	etc/initsystem/icinga2.init.d.cmake
2014-06-15 16:25:50 +02:00
Gerd von Egidy
ef49658474 Unify resources for SysV-Init and systemd.
- Move system-specific defines like paths and usernames to /etc/icinga2/sysdefines.conf
  Do not use /etc/sysconfig for this as per suggestion on the systemd mailinglist: it is RedHat-specific
- Use /etc/icinga2/sysdefines.conf in SysV-Init and systemd
- Move both the sources of the SysV-Initscript and the systemd-service definition to etc/initsystem

Refs #4794

Conflicts:
	etc/initsystem/icinga2.init.d.cmake
2014-06-15 15:49:13 +02:00
Gerd von Egidy
59a1a133c3 Reloading with systemd is fixed now.
Refs #4794
2014-06-15 15:32:13 +02:00
Gerd von Egidy
7bfd2f1ea2 Systemd can't resolve variables recursively.
Refs #4794
2014-06-15 15:31:32 +02:00
Gerd von Egidy
954ceb3c6a Fix CMake escaping.
Refs #4794
2014-06-15 15:31:10 +02:00
Gerd von Egidy
69c06115d2 First try at a systemd service definition file, install it from CMake.
Native systemd support is enabled with cmake -DUSE_SYSTEMD=ON

Refs #4794
2014-06-15 15:30:53 +02:00
Sam Kottler
86a71aa0b3 Add systemd buildrequires and requires 2014-06-15 15:30:35 +02:00
Michael Friedrich
b393e8eb62 Documentation: explain the icinga 2 reload
fixes #6486
2014-06-15 10:45:06 +02:00
Michael Friedrich
4525ce5040 move cmake scripts to third-party/
refs #6485
2014-06-15 02:17:01 +02:00
Michael Friedrich
ff0fbe9bc1 update migration script url to github
fixes #5821
2014-06-15 02:16:21 +02:00
Michael Friedrich
5bea405c67 Move the Vagrant VM to https://github.com/Icinga/icinga-vagrant
fixes #5843
2014-06-13 22:39:17 +02:00
Michael Friedrich
614af5b0e5 Fix missing install action
refs #6481
2014-06-13 22:04:24 +02:00
Michael Friedrich
465697245a Add man pages to packages
refs #6482
2014-06-13 21:38:59 +02:00
Michael Friedrich
692d197d81 Clean pki/ install
refs #6481
2014-06-13 20:58:43 +02:00
Michael Friedrich
8d3725a89c Add man pages for installed scripts
fixes #6482
2014-06-13 20:54:58 +02:00
Michael Friedrich
b15c6e96d0 update icinga2.8 man page
refs #6482
2014-06-13 20:41:24 +02:00
Michael Friedrich
51a889d019 Correct wrong file move
refs #6481
2014-06-13 20:35:23 +02:00
Michael Friedrich
5b44ea8574 Remove sphinx/pandoc, ship markdown docs only
refs #6481
refs #5774
2014-06-13 20:29:33 +02:00
Michael Friedrich
4a8f258d52 Move dev/ to tools/docker
refs #6481
2014-06-13 20:07:36 +02:00
Michael Friedrich
571321f386 Move agent files to contrib/ for now
refs #6481
2014-06-13 20:04:00 +02:00
Michael Friedrich
a838dad659 RPMs: Do not install the agent parts
refs #6481
2014-06-13 19:55:59 +02:00
Michael Friedrich
64cc43bbb7 Remove empty migration dir, is referenced as separate tool in docs
refs #6481
2014-06-13 19:55:23 +02:00
Michael Friedrich
36deb634cc INSTALL: Fix git archive on CentOS 6.5 2014-06-13 19:32:34 +02:00
Markus Frosch
06e26b43e9 Debian: do not install agent scripts
Refs #5816
2014-06-13 16:24:42 +02:00
Markus Frosch
0e27116e20 Debian: smaller cleanups
Refs #5816
2014-06-13 16:24:42 +02:00
Michael Friedrich
5a405e07c9 update INSTALL
refs #5795
refs #6305
2014-06-13 15:57:33 +02:00
Michael Friedrich
25388d7fdd update README
refs #5795
refs #6305
2014-06-13 15:24:03 +02:00
Michael Friedrich
ec16e2684d Update AUTHORS
refs #5795
2014-06-13 13:49:20 +02:00
Michael Friedrich
82884f79d1 Update what's new and ChangeLog for 2.0.0
refs #5795
2014-06-13 13:19:13 +02:00
Markus Frosch
9d269a9160 Debian: install initial database schema
Refs #5816
2014-06-13 11:48:13 +02:00
Markus Frosch
98fd2308ea Debian: do not install removed database schemata
Refs #5816
2014-06-13 11:44:10 +02:00
Markus Frosch
72641d61cb Debian: update copyright metadata
Refs #5816
2014-06-13 11:42:29 +02:00
Michael Friedrich
0ad779e4a5 DB IDO: Remove old 0.0.x upgrade sqls not required for 2.0.0
fixes #6478
2014-06-13 11:21:15 +02:00
Michael Friedrich
b0786886aa Documentation: Updates for DB IDO
* several renamings to DB IDO
* Debian db schema must be installed manually as the rest
* remove mentions of 0.0.x preview versions

refs #6005
refs #6478
2014-06-13 11:17:32 +02:00
Michael Friedrich
3a10fe81af Fix typo
refs #5041
2014-06-13 11:01:04 +02:00
Michael Friedrich
42b89a1032 Documentation: Add note for Wheezy/Precise on Classic UI libjs-jquery-ui dependency
fixes #5041
2014-06-13 10:59:03 +02:00
Markus Frosch
6f865330ad Update gitignores
* ignore vim tempfiles
* not ignore icinga-version.h*
2014-06-13 10:22:28 +02:00
Markus Frosch
178fb927b1 Debian: adapt icinga-version.h.force for the snapshots
Refs #5816
2014-06-13 10:21:10 +02:00
Markus Frosch
98099a7fb0 Debian: add a proper package description.
Refs #5816
2014-06-13 10:13:28 +02:00
Tim Hardeck
74751a4e22 Fix logrotate should rotate log files as icinga user
fixes #6477
2014-06-13 09:47:26 +02:00
Michael Friedrich
dea57e9dcf Replace existing mkdir() calls with Utility::MkDir()
refs #6328
2014-06-13 09:23:05 +02:00
Michael Friedrich
1eb77b0cd7 Replace recursive implementation with a forward loop in Utility::MkDirP()
That way we always move into the tree, but not start in the deepest
level and may limit the tree level too in the future, if required.

Solves the Win32 implementation by moving the general mkdir() call into
Utility::MkDir().

refs #6328
2014-06-13 09:10:35 +02:00
Michael Friedrich
2acf6a063e Fix syncing zones.d from etc/ to var/lib in a recursive manner
Missing mkdir -p basically. Introducing Utility::MkDirP() which still
requires Win32 implementation.

refs #6328
2014-06-12 23:28:46 +02:00
Michael Friedrich
9e026959db Fix wrong logging in ExternalCommandListener 2014-06-12 22:51:20 +02:00
Michael Friedrich
6bebdddf98 Less verbose start output using the initscript
All output is dumped to startup.log and only shown in case of
'checkconfig' as parameter, but not during a reload/restart.

Furtermore some additional formatting to make it fit line by line.

fixes #5822
2014-06-12 16:05:45 +02:00
Michael Friedrich
d9289add62 Documentation: Emphasize on global zone on all nodes
refs #6254
2014-06-12 14:33:59 +02:00
Michael Friedrich
a57ebbf953 Fix thinko with global zone sync
refs #6254
2014-06-12 14:31:07 +02:00