fixed typo, added including clause to definitions

This commit is contained in:
Arne Teuke
2017-07-30 12:42:09 +01:00
parent d9e6db5e0d
commit 7a767e39dc
3 changed files with 9 additions and 7 deletions

View File

@@ -20,7 +20,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# @summary manage command definitions via define and Puppet rules.
###############################################################################
class cd_nrpe::commands::definitions (
class cd_nrpe::commands::definition_rules (
) inherits cd_nrpe::params {

View File

@@ -38,10 +38,13 @@ $ne_cmd_argstring = undef,
$ne_cmd_file = $::cd_nrpe::params::ne_cmd_file
$ne_cmd_rule_erb = $::cd_nrpe::params::ne_cmd_rule_erb
$ne_manage_cmds = $::cd_nrpe::params::ne_manage_cmds
if $ne_manage_cmds == true {
concat::fragment { $name:
target => $ne_cmd_file,
content => template($ne_cmd_rule_erb),
concat::fragment { $name:
target => $ne_cmd_file,
content => template($ne_cmd_rule_erb),
}
}
}