From 6976d5b26ac8bfefe231411777ab74be2809be7f Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 18 Feb 2025 02:06:12 +0900 Subject: [PATCH] Stop using absolute names for defined resource types Since Puppet 4, names are always absolute. We already replaced usage of absolute names for class inclusion, so can do the same for defined resource types. Change-Id: I514eeabebd81012d07bc87f00b454b3252fb42f9 --- manifests/db/mysql.pp | 2 +- manifests/db/postgresql.pp | 2 +- manifests/wsgi/apache.pp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/db/mysql.pp b/manifests/db/mysql.pp index f01ac27..f73c619 100644 --- a/manifests/db/mysql.pp +++ b/manifests/db/mysql.pp @@ -45,7 +45,7 @@ class watcher::db::mysql( include watcher::deps - ::openstacklib::db::mysql { 'watcher': + openstacklib::db::mysql { 'watcher': user => $user, password => $password, dbname => $dbname, diff --git a/manifests/db/postgresql.pp b/manifests/db/postgresql.pp index 9236dca..ad62d20 100644 --- a/manifests/db/postgresql.pp +++ b/manifests/db/postgresql.pp @@ -34,7 +34,7 @@ class watcher::db::postgresql( include watcher::deps - ::openstacklib::db::postgresql { 'watcher': + openstacklib::db::postgresql { 'watcher': password => $password, dbname => $dbname, user => $user, diff --git a/manifests/wsgi/apache.pp b/manifests/wsgi/apache.pp index 851fbbc..efb12fa 100644 --- a/manifests/wsgi/apache.pp +++ b/manifests/wsgi/apache.pp @@ -154,7 +154,7 @@ class watcher::wsgi::apache ( Anchor['watcher::install::end'] -> Class['apache'] - ::openstacklib::wsgi::apache { 'watcher_wsgi': + openstacklib::wsgi::apache { 'watcher_wsgi': bind_host => $bind_host, bind_port => $port, group => $::watcher::params::group,