From 62d226135208219a64f45468569a11a9c330632c Mon Sep 17 00:00:00 2001 From: Michiru Kaneda Date: Fri, 15 Jun 2018 19:45:28 +0900 Subject: [PATCH] Use small class name in Class for puppet 5 ref: https://tickets.puppetlabs.com/browse/PUP-6084 --- manifests/admin.pp | 2 +- manifests/client.pp | 2 +- manifests/core.pp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/admin.pp b/manifests/admin.pp index 658361b..b18966d 100644 --- a/manifests/admin.pp +++ b/manifests/admin.pp @@ -72,7 +72,7 @@ ensure_resource('class','voms::admin::install') ensure_resource('class','voms::admin::config') ensure_resource('class','voms::admin::service') - Class[Voms::Admin::Install] -> Class[Voms::Admin::Config] -> Voms::Admin[$vo] -> Class[Voms::Admin::Service] + Class[voms::admin::install] -> Class[voms::admin::config] -> Voms::Admin[$vo] -> Class[voms::admin::service] file{"/etc/voms-admin-puppet/voms-admin-add-admin-${vo}.sh": diff --git a/manifests/client.pp b/manifests/client.pp index b29ce05..df92e3a 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -36,7 +36,7 @@ # define voms::client ($vo = $name, $servers = [] ) { ensure_resource('class','voms::install') - Class[Voms::Install] -> Voms::Client[$vo] + Class[voms::install] -> Voms::Client[$vo] file {"/etc/grid-security/vomsdir/${vo}": ensure => directory, diff --git a/manifests/core.pp b/manifests/core.pp index 23a2ac4..9a04ccb 100644 --- a/manifests/core.pp +++ b/manifests/core.pp @@ -53,7 +53,7 @@ ensure_resource('class',"voms::${vo}") ensure_resource('class','voms::core::install') ensure_resource('class','voms::core::service') - Class[Voms::Core::Install] -> Voms::Core[$vo] -> Class[Voms::Core::Service] + Class[voms::core::install] -> Voms::Core[$vo] -> Class[voms::core::service] file{"/etc/voms/${vo}": ensure => directory,