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: I6efcaa1a07781fb2ce7c08f6710be05b52edfc46
This commit is contained in:
@@ -330,12 +330,12 @@ class nova::compute::libvirt (
|
||||
# - set nova::compute::libvirt::manage_libvirt_services to false
|
||||
# - include nova::compute::libvirt::services in your composition layer
|
||||
# - select which services you want to deploy with
|
||||
# ::nova::compute::libvirt::services:* parameters.
|
||||
# $::nova::compute::libvirt::services:* parameters.
|
||||
#
|
||||
# If you're not using hiera:
|
||||
# - set nova::compute::libvirt::manage_libvirt_services to true (default).
|
||||
# - select which services you want to deploy with
|
||||
# ::nova::compute::libvirt::*_service_name parameters.
|
||||
# $::nova::compute::libvirt::*_service_name parameters.
|
||||
if $manage_libvirt_services {
|
||||
class { 'nova::compute::libvirt::services':
|
||||
libvirt_service_name => $libvirt_service_name,
|
||||
|
@@ -47,8 +47,8 @@
|
||||
#
|
||||
# [*libvirt_version*]
|
||||
# (optional) installed libvirt version. Default is automatic detected depending
|
||||
# of the used OS installed via ::nova::compute::libvirt::version::default .
|
||||
# Defaults to ::nova::compute::libvirt::version::default
|
||||
# of the used OS installed via $::nova::compute::libvirt::version::default .
|
||||
# Defaults to $::nova::compute::libvirt::version::default
|
||||
#
|
||||
class nova::compute::libvirt::qemu(
|
||||
Boolean $configure_qemu = false,
|
||||
|
@@ -49,7 +49,7 @@ class nova::db::mysql(
|
||||
|
||||
include nova::deps
|
||||
|
||||
::openstacklib::db::mysql { 'nova':
|
||||
openstacklib::db::mysql { 'nova':
|
||||
user => $user,
|
||||
password => $password,
|
||||
dbname => $dbname,
|
||||
@@ -61,7 +61,7 @@ class nova::db::mysql(
|
||||
|
||||
if $setup_cell0 {
|
||||
# need for cell_v2
|
||||
::openstacklib::db::mysql { 'nova_cell0':
|
||||
openstacklib::db::mysql { 'nova_cell0':
|
||||
user => $user,
|
||||
password => $password,
|
||||
dbname => "${dbname}_cell0",
|
||||
|
@@ -43,7 +43,7 @@ class nova::db::mysql_api(
|
||||
|
||||
include nova::deps
|
||||
|
||||
::openstacklib::db::mysql { 'nova_api':
|
||||
openstacklib::db::mysql { 'nova_api':
|
||||
user => $user,
|
||||
password => $password,
|
||||
dbname => $dbname,
|
||||
|
@@ -40,7 +40,7 @@ class nova::db::postgresql(
|
||||
|
||||
include nova::deps
|
||||
|
||||
::openstacklib::db::postgresql { 'nova':
|
||||
openstacklib::db::postgresql { 'nova':
|
||||
password => $password,
|
||||
dbname => $dbname,
|
||||
user => $user,
|
||||
@@ -50,7 +50,7 @@ class nova::db::postgresql(
|
||||
|
||||
if $setup_cell0 {
|
||||
# need for cell_v2
|
||||
::openstacklib::db::postgresql { 'nova_cell0':
|
||||
openstacklib::db::postgresql { 'nova_cell0':
|
||||
password => $password,
|
||||
dbname => "${dbname}_cell0",
|
||||
user => $user,
|
||||
|
@@ -34,7 +34,7 @@ class nova::db::postgresql_api(
|
||||
|
||||
include nova::deps
|
||||
|
||||
::openstacklib::db::postgresql { 'nova_api':
|
||||
openstacklib::db::postgresql { 'nova_api':
|
||||
password => $password,
|
||||
dbname => $dbname,
|
||||
user => $user,
|
||||
|
@@ -149,8 +149,8 @@
|
||||
#
|
||||
# [*libvirt_version*]
|
||||
# (optional) installed libvirt version. Default is automatic detected depending
|
||||
# of the used OS installed via ::nova::compute::libvirt::version::default .
|
||||
# Defaults to ::nova::compute::libvirt::version::default
|
||||
# of the used OS installed via $::nova::compute::libvirt::version::default .
|
||||
# Defaults to $::nova::compute::libvirt::version::default
|
||||
#
|
||||
# [*modular_libvirt*]
|
||||
# (optional) Whether to enable modular libvirt daemons or use monolithic
|
||||
|
@@ -173,7 +173,7 @@ class nova::wsgi::apache_api (
|
||||
fail('::nova::api class must be declared in composition layer.')
|
||||
}
|
||||
|
||||
::openstacklib::wsgi::apache { 'nova_api_wsgi':
|
||||
openstacklib::wsgi::apache { 'nova_api_wsgi':
|
||||
bind_host => $bind_host,
|
||||
bind_port => $port,
|
||||
group => $::nova::params::group,
|
||||
|
@@ -186,7 +186,7 @@ class nova::wsgi::apache_metadata (
|
||||
|
||||
Service <| title == 'httpd' |> { tag +> 'nova-service' }
|
||||
|
||||
::openstacklib::wsgi::apache { 'nova_metadata_wsgi':
|
||||
openstacklib::wsgi::apache { 'nova_metadata_wsgi':
|
||||
bind_host => $bind_host,
|
||||
bind_port => $port,
|
||||
group => $::nova::params::group,
|
||||
|
Reference in New Issue
Block a user