No description
236d009a43
This commit uses the $::operatingsystemmajrelease fact for managing the Yum repository on Scientific Linux. Yum's "$releasever" resolves to "6.6" (major.minor) on Scientific Linux, where it resolves to "major" or "major(.server)?" on RedHat. That causes the repo to fail on Scientific Linux. The other solution would be to add symlinks for major.minor in the upstream Yum repo. E.g. 6.6 => 6 |
||
---|---|---|
manifests | ||
spec | ||
templates | ||
.fixtures.yml | ||
.gitignore | ||
.puppet-lint.rc | ||
.travis.yml | ||
Gemfile | ||
LICENSE | ||
metadata.json | ||
Rakefile | ||
README.md |
Puppet icingaweb2
Requirements
Debian and derivatives only:
- Puppetlabs apt module or
- Camptocamp apt module
Example usage
Install IcingaWeb2
node /box/ {
include icingaweb2
}
Install method: packages
node /box/ {
class { 'icingaweb2':
install_method => 'package',
}
}
Install method: Git
node /box/ {
class { 'icingaweb2':
install_method => 'git',
}
}
Manage repository
node /box/ {
class { 'icingaweb2':
manage_repo => true,
install_method => 'package',
}
}
Business process module
node /box/ {
class {
'icingaweb2':;
'icingaweb2::mod::businessprocess':;
}
}
Deployment module
node /box/ {
class {
'icingaweb2':;
'icingaweb2::mod::deployment':
auth_token => 'secret_token';
}
}
Graphite module
node /box/ {
class {
'icingaweb2':;
'icingaweb2::mod::graphite':
graphite_base_url => 'http://graphite.com/render?';
}
}
NagVis module
node /box/ {
class {
'icingaweb2':;
'icingaweb2::mod::nagvis':
nagvis_url => 'http://example.org/nagvis/';
}
}
Contributing
- Fork it
- Create a feature branch (
git checkout -b my-new-feature
) - Run rspec tests (
bundle exec rake spec
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request