Change to relative include

Change-Id: Iff924ab75d40ffba6a213c54a6e28933b18cf7e4
This commit is contained in:
Tobias Urdin 2020-07-13 21:20:11 +02:00
parent 3ac484f1d2
commit 0983e5888c
2 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ class gnocchi::client (
tag => 'openstack',
}
include '::openstacklib::openstackclient'
include openstacklib::openstackclient
}

View File

@ -29,8 +29,8 @@ class gnocchi::db (
if $database_connection_real {
case $database_connection_real {
/^mysql(\+pymysql)?:\/\//: {
require '::mysql::bindings'
require '::mysql::bindings::python'
require mysql::bindings
require mysql::bindings::python
if $database_connection_real =~ /^mysql\+pymysql/ {
$backend_package = $::gnocchi::params::pymysql_package_name
} else {
@ -39,7 +39,7 @@ class gnocchi::db (
}
/^postgresql:\/\//: {
$backend_package = false
require '::postgresql::lib::python'
require postgresql::lib::python
}
/^sqlite:\/\//: {
$backend_package = $::gnocchi::params::sqlite_package_name