Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

nrep update with ::data class and some general cleanup

  • Loading branch information...
commit c4ca4444f82368132cc25c81336bce1531f16681 1 parent 97f9ba0
@rkhatibi authored
View
39 nrpe/manifests/dellperc.pp
@@ -1,39 +0,0 @@
-class nrpe::dellperc {
-
- include nrpe::params
-
- File {
- owner => $nrpe::params::config_owner,
- group => $nrpe::params::config_group,
- mode => $nrpe::params::config_mode,
- }
-
- file { 'check_dellperc':
- ensure => present,
- path => "${nrpe::params::pluginsdir}/check_dellperc",
- mode => '0755',
- require => Class['nrpe::config'],
- source => 'puppet:///modules/nrpe/check_dellperc',
- }
-
- file { 'dellperc.cfg':
- ensure => present,
- path => "${nrpe::params::config_dir}/dellperc.cfg",
- require => Class['nrpe::config'],
- notify => Class['nrpe::service'],
- content => "command[check_dellperc]=${nrpe::params::pluginsdir}/check_dellperc",
- }
-
- file { 'nrpe_sudoers':
- ensure => present,
- path => '/etc/sudoers.d/nrpe_sudoers',
- mode => '0440',
- require => Class['sudo'],
- source => 'puppet:///modules/nrpe/nrpe_sudoers',
- }
-
- package { 'perl-Getopt-Long-Descriptive':
- ensure => present,
- }
-
-}
View
11 nrpe/manifests/ebs.pp
@@ -1,11 +0,0 @@
-define nrpe::ebs {
-
- include nrpe::params
-
- file { "ebs-${name}.cfg":
- ensure => present,
- path => "${nrpe::params::config_dir}/ebs-${name}.cfg",
- content => template('nrpd/ebs.cfg.erb'),
- }
-
-}
View
27 nrpe/manifests/redis.pp
@@ -1,27 +0,0 @@
-class nrpe::redis {
-
- include nrpe::params
-
- File {
- owner => $nrpe::params::config_owner,
- group => $nrpe::params::config_group,
- mode => $nrpe::params::config_mode,
- }
-
- file { 'redis.cfg':
- ensure => present,
- path => "${nrpe::params::config_dir}/redis.cfg",
- require => Class['nrpe::config'],
- notify => Class['nrpe::service'],
- content => template('nrpe/redis.cfg.erb'),
- }
-
- file { "check_redis":
- ensure => present,
- path => "${nrpe::params::pluginsdir}/check_redis",
- mode => '0755',
- require => Class['nrpe::config'],
- source => 'puppet:///modules/nrpe/check_redis',
- }
-
-}
Please sign in to comment.
Something went wrong with that request. Please try again.