From 3afc8eaec1c4fa9ea9206741d86bc6e5c4d7d69d Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 14 Aug 2018 13:08:53 +0200 Subject: [PATCH] avoid duplicate decl --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 74536112..4611a7d4 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -268,9 +268,9 @@ class eidas_sp($version="1.0.0",$hostname='localhost') { "SP_ENTITY_ID=https://$_hostname/sp", "SPRING_PROFILES_ACTIVE=qa", "SP_BASE_URI=https://$_hostname"] - } -> - class {'webserver': } -> - class {'https_server': } + } + ensure_resource(class,'webserver',{}) + ensure_resource(class,'https_server',{}) } class swedenconnect_refidp($version="1.0.3",$hostname='localhost') { @@ -293,9 +293,9 @@ class swedenconnect_refidp($version="1.0.3",$hostname='localhost') { "TOMCAT_PROXY_SHARED_SECRET=$proxy_header_secret", "IDP_PERSISTENT_ID_SALT=$idp_persistent_id_salt", "IDP_FTICKS_SALT=$idp_fticks_salt"] - } -> - class {'webserver': } -> - class {'https_server': } + } + ensure_resource(class,'webserver',{}) + ensure_resource(class,'https_server',{}) } class eidas_connector($version="1.0.6",$hostname='localhost') {