No description
Find a file
Josh Beard 236d009a43 Add support for Scientific Linux in Yum repo
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
2015-06-12 14:10:20 -06:00
manifests Add support for Scientific Linux in Yum repo 2015-06-12 14:10:20 -06:00
spec Add spec tests for config::roles 2015-06-10 10:49:02 +02:00
templates Moving away from templates to usign inifile from Puppetlabs/inifile 2015-04-02 08:45:16 -04:00
.fixtures.yml Use HTTPs links for fixtures 2015-04-07 14:22:56 +02:00
.gitignore Initial commit 2015-02-20 10:40:45 +01:00
.puppet-lint.rc Initial commit 2015-02-20 10:40:45 +01:00
.travis.yml TravisCI: bump ruby and puppet versions 2015-04-23 12:18:26 +02:00
Gemfile Initial commit 2015-02-20 10:40:45 +01:00
LICENSE Initial commit 2015-02-20 10:40:45 +01:00
metadata.json Bump version to 1.0.3 2015-05-07 10:56:21 +02:00
Rakefile Add unit tests 2015-02-20 10:42:31 +01:00
README.md Document requirements 2015-05-07 10:50:38 +02:00

Puppet icingaweb2

Requirements

Debian and derivatives only:

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