diff --git a/examples/init.pp b/examples/init.pp index ee5fac6..6b447b5 100644 --- a/examples/init.pp +++ b/examples/init.pp @@ -9,4 +9,4 @@ # Learn more about module testing here: # https://puppet.com/docs/puppet/latest/bgtm.html#testing-your-module # -include ::oslo +include oslo diff --git a/manifests/cache.pp b/manifests/cache.pp index 9ec9725..21bb3ea 100644 --- a/manifests/cache.pp +++ b/manifests/cache.pp @@ -134,7 +134,7 @@ define oslo::cache( $manage_backend_package = true, ){ - include ::oslo::params + include oslo::params if !is_service_default($backend_argument) { $backend_argument_orig = join(any2array($backend_argument), ',') diff --git a/manifests/db.pp b/manifests/db.pp index ecc930d..51da81e 100644 --- a/manifests/db.pp +++ b/manifests/db.pp @@ -140,7 +140,7 @@ define oslo::db( $idle_timeout = $::os_service_default, ) { - include ::oslo::params + include oslo::params if !is_service_default($connection) { diff --git a/manifests/init.pp b/manifests/init.pp index 2f4e2e8..a961dce 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -9,6 +9,6 @@ # class oslo { - include ::oslo::params + include oslo::params } diff --git a/manifests/params.pp b/manifests/params.pp index 544020d..1fd1ddf 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -3,7 +3,7 @@ # Parameters for puppet-oslo # class oslo::params { - include ::openstacklib::defaults + include openstacklib::defaults $pyvers = $::openstacklib::defaults::pyvers $pymongo_package_name = "python${pyvers}-pymongo"