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: I4f3a33bef23ac5b98fa7882cf7f45436d7279230
This commit is contained in:
Takashi Kajinami 2025-02-18 02:09:24 +09:00
parent 0ddeb61d62
commit abafec8df8
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class {{cookiecutter.project_name}}::db::mysql(
include {{cookiecutter.project_name}}::deps
::openstacklib::db::mysql { '{{cookiecutter.project_name}}':
openstacklib::db::mysql { '{{cookiecutter.project_name}}':
user => $user,
password => $password,
dbname => $dbname,

View File

@ -34,7 +34,7 @@ class {{cookiecutter.project_name}}::db::postgresql(
include {{cookiecutter.project_name}}::deps
::openstacklib::db::postgresql { '{{cookiecutter.project_name}}':
openstacklib::db::postgresql { '{{cookiecutter.project_name}}':
password => $password,
dbname => $dbname,
user => $user,