summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Filion <gabster@lelutin.ca>2015-04-19 15:54:46 -0400
committerGabriel Filion <gabster@lelutin.ca>2015-04-19 15:54:46 -0400
commit9e5616f3d39db4bd53bf2b580c35cb2948eb23b6 (patch)
tree56ffbf362838d162e0659ad9aaf1662fb148c22a
parent1746232173f04ce1536445280660b86ec490ae0d (diff)
wrong example with nagios::defaults
The example doesn't set any ordering on the classes and this leads to errors at first install since all of the configuration files that the nagios::defaults class installs need the nagios package to be installed first in order for the config dirs to exist.
-rw-r--r--README3
1 files changed, 1 insertions, 2 deletions
diff --git a/README b/README
index 3ff5138..67f3ada 100644
--- a/README
+++ b/README
@@ -206,8 +206,7 @@ Usage example:
~~~
node nagios {
- include nagios::apache
- include nagios::defaults
+ class { 'nagios::apache': } -> class { 'nagios::defaults': }
# Declare another nagios command
nagios::command { http_port: