From d5960f1e64339e85da67c6322291625fc9895bbe Mon Sep 17 00:00:00 2001 From: Magnus Toneby <magnus.toneby@liu.se> Date: Mon, 27 May 2024 15:38:13 +0200 Subject: [PATCH] change name to ub_folio (from ub-folio) to appeas the puppet gods --- README.md | 2 +- data/nodes/folioservices01.test.it.liu.se.yaml | 2 +- manifests/foliofront.pp | 4 ++-- metadata.json | 2 +- spec/classes/foliofront_spec.rb | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index aba98e8..0ae7226 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ub-folio +# ub_folio ## encrypt configuration data diff --git a/data/nodes/folioservices01.test.it.liu.se.yaml b/data/nodes/folioservices01.test.it.liu.se.yaml index 3b788ed..2541955 100644 --- a/data/nodes/folioservices01.test.it.liu.se.yaml +++ b/data/nodes/folioservices01.test.it.liu.se.yaml @@ -1,5 +1,5 @@ --- -ub-folio::foliofront: +ub_folio::foliofront: env: > ENC[PKCS7,MIIO3QYJKoZIhvcNAQcDoIIOzjCCDsoCAQAxggEhMIIBHQIBAD AFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAn0AsLfEkSiCNUc7UuJzKn1vcUp diff --git a/manifests/foliofront.pp b/manifests/foliofront.pp index 800974f..e588171 100644 --- a/manifests/foliofront.pp +++ b/manifests/foliofront.pp @@ -1,5 +1,5 @@ # @summary Setup a front facing node for folio -class ub-folio::foliofront { +class ub_folio::foliofront { include profiles::letsencrypt include apache include apache::mod::proxy @@ -95,7 +95,7 @@ class ub-folio::foliofront { ensure => file, group => 'api', mode => '0750', - content => lookup('ub-folio::foliofront.env',undef,undef,'"env" key not found in hiera data'), + content => lookup('ub_folio::foliofront.env',undef,undef,'"env" key not found in hiera data'), require => [Vcsrepo['/opt/liu/foliofront/foliofront-node-root'],], } diff --git a/metadata.json b/metadata.json index 57a4ca8..1edebc2 100644 --- a/metadata.json +++ b/metadata.json @@ -1,5 +1,5 @@ { - "name": "liuit-ub-folio", + "name": "liuit-ub_folio", "version": "0.1.0", "author": "LiU-IT", "summary": "", diff --git a/spec/classes/foliofront_spec.rb b/spec/classes/foliofront_spec.rb index a2d99e8..705baff 100644 --- a/spec/classes/foliofront_spec.rb +++ b/spec/classes/foliofront_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe 'ub-folio::foliofront' do +describe 'ub_folio::foliofront' do on_supported_os.each do |os, os_facts| context "on #{os}" do let(:facts) { os_facts } -- GitLab