diff options
author | mh <mh@immerda.ch> | 2015-10-13 00:57:06 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2015-10-13 00:57:06 +0200 |
commit | 77419fa626578d14e55042a39b2b87e5c0904ae2 (patch) | |
tree | 473069255f838709009c47279ba8e81a8620af64 /manifests | |
parent | ffca95a6b0281ab49f4a626a1ee6a68257769388 (diff) |
install requirements
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/plugins/horde_login.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/plugins/horde_login.pp b/manifests/plugins/horde_login.pp index 908b57b..4274b4c 100644 --- a/manifests/plugins/horde_login.pp +++ b/manifests/plugins/horde_login.pp @@ -1,7 +1,9 @@ # check_horde_login class nagios::plugins::horde_login { + ensure_packages(['python-requests']) nagios::plugin { 'check_horde_login': - source => 'nagios/plugins/check_horde_login', + source => 'nagios/plugins/check_horde_login', + require => Package['python-requests'], } -> nagios_command { 'check_horde_login': command_line => "\$USER1\$/check_horde_login -s \$ARG1\$ -u \$ARG2\$ -p \$ARG3\$", |