aboutsummaryrefslogtreecommitdiff
path: root/manifests/role/web.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:21 -0300
commitd6d256a293da043076351c62146228ed5bd4dfbc (patch)
tree230ffbd0ce66f2756fd2ac8bf897a11cf4329fc4 /manifests/role/web.pp
parent508668172faddb6765b6de5582a9bd6214b859fb (diff)
downloadpuppet-nodo-d6d256a293da043076351c62146228ed5bd4dfbc.tar.gz
puppet-nodo-d6d256a293da043076351c62146228ed5bd4dfbc.tar.bz2
Hiera 5 migration
Diffstat (limited to 'manifests/role/web.pp')
-rw-r--r--manifests/role/web.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/role/web.pp b/manifests/role/web.pp
index f315418..7b2c032 100644
--- a/manifests/role/web.pp
+++ b/manifests/role/web.pp
@@ -1,6 +1,6 @@
class nodo::role::web inherits nodo::base::virtual {
# Hidden services
- $hidden = hiera('apache::site::hidden', false)
+ $hidden = lookup('apache::site::hidden', undef, undef, false)
if $hidden == true {
include onion
}
@@ -11,14 +11,14 @@ class nodo::role::web inherits nodo::base::virtual {
include domain_check
## Reprepro configuration
- #$reprepro = hiera('nodo::web::reprepro', false)
+ #$reprepro = lookup('nodo::web::reprepro', undef, undef, false)
#$reprepro_basedir = '/var/reprepro'
#
#case $reprepro {
# true,'enabled': {
# class { 'reprepro':
# basedir => '/var/reprepro',
- # uploaders => hiera('nodo::web::reprepro_uploaders', [ ]),
+ # uploaders => lookup('nodo::web::reprepro_uploaders', undef, undef, [ ]),
# }
#
# include reprepro::cron