Use relative name for class inclusion

This patch replces the remaining usage of absolute name in 'require',
and makes all class inclusion depend on relative name.

Change-Id: Id4e75f6fcff47170ea624c1b5943086ceac5a678
This commit is contained in:
Takashi Kajinami 2020-07-09 15:53:14 +09:00
parent b4d9555e1d
commit 5df142a1a9
4 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ class nova::compute::ironic (
) {
include nova::deps
require ::nova::ironic::common
require nova::ironic::common
include ironic::client
nova_config {

View File

@ -55,7 +55,7 @@ class nova::compute::libvirt::qemu(
) inherits nova::compute::libvirt::version {
include nova::deps
require ::nova::compute::libvirt
require nova::compute::libvirt
Anchor['nova::config::begin']
-> Augeas<| tag == 'qemu-conf-augeas'|>

View File

@ -47,7 +47,7 @@ class nova::compute::libvirt::virtlogd (
) {
include nova::deps
require ::nova::compute::libvirt
require nova::compute::libvirt
if $log_level {
virtlogd_config {

View File

@ -178,7 +178,7 @@ Use password parameter instead')
}
if $enable_ipa_client_install {
require ::ipaclient
require ipaclient
# If we're installing IPA here, the hostname fact won't be populated yet,
# so we'll use a command to get it.
$ipa_hostname_real = '`grep xmlrpc_uri /etc/ipa/default.conf | cut -d/ -f3`'