Added lightweight anchor pattern to the icinga2::server::install class.
This commit is contained in:
parent
432cb752a4
commit
f7da4468b6
1 changed files with 9 additions and 0 deletions
|
@ -14,5 +14,14 @@
|
||||||
class icinga2::server::install inherits icinga2::server {
|
class icinga2::server::install inherits icinga2::server {
|
||||||
|
|
||||||
include icinga2::params
|
include icinga2::params
|
||||||
|
#Apply our classes in the right order. Use the squiggly arrows (~>) to ensure that the
|
||||||
|
#class left is applied before the class on the right and that it also refreshes the
|
||||||
|
#class on the right.
|
||||||
|
#
|
||||||
|
#Here, we're setting up the package repos first, then installing the packages:
|
||||||
|
class{'icinga2::server::install::repos':} ~>
|
||||||
|
class{'icinga2::server::install::packages':} ~>
|
||||||
|
class{'icinga2::server::install::execs':} ->
|
||||||
|
Class['icinga2::server::install']
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue