[icinga-checkins] icinga.org: puppet-icinga2/master: * fixed eventcommand example

git at icinga.org git at icinga.org
Sun Nov 2 05:40:26 CET 2014


Module: puppet-icinga2
Branch: master
Commit: 60e5a294f800cdf208859cb57edc2ca9a673d50b
URL:    https://git.icinga.org/?p=puppet-icinga2.git;a=commit;h=60e5a294f800cdf208859cb57edc2ca9a673d50b

Author: Ricardo Melo <ricardo.melo at gameloft.com>
Date:   Wed Oct 22 17:23:35 2014 -0400

* fixed eventcommand example

Signed-off-by: Nick Chappell <nick at intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/33

refs#7215: https://dev.icinga.org/issues/7215

---

 README.md |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 9a9eebb..d8af224 100644
--- a/README.md
+++ b/README.md
@@ -436,7 +436,7 @@ The `eventcommand` defined type can create `eventcommand` objects.
 <pre>
 #Create the http restart command:
 icinga2::object::eventcommand { 'restart-httpd-event':
-  command => '"/opt/bin/restart-httpd.sh"'
+  command => [ '"/opt/bin/restart-httpd.sh"' ]
 }
 
 </pre>



More information about the icinga-checkins mailing list