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:
parent
0ddeb61d62
commit
abafec8df8
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user