example42/puppet-icinga — pull request #11 by brdude (2013-02-28 18:04:34+00:00)
Title: Various changes

Changes preventing Icinga from running. All testing was done on Puppet 3.1.0

manifests/init.pp
- Added temp_dir.

manifests/skel.pp
- icinga.cmd is created by icinga its self on the first run.

manifests/params.pp
- Correct retention.dat path for RedHat|Centos|Scientific|Fedora.
- Correct checkresults path for RedHat|Centos|Scientific|Fedora.
- Correct icinga.cmd path for RedHat|Centos|Scientific|Fedora.
- Modify cachedir path for RedHat|Centos|Scientific|Fedora.
- Modify statusfile path for RedHat|Centos|Scientific|Fedora.
- Added temp_dir variable.

templates/icinga.cfg.erb
- Change log_file path to value of $log_file set in params.pp to keep consistency of full log path name.
- Replace static path for temp_path with temp_dir variable.
- Changed temp_file location from cachi_dir variable to temp_dir variable.
- Disable embedded perl, since it is causing issues. This is written to config file due to 'icinga::version' not functioning properly when Icinga version is not specified.