From 143a5111d24da632f8e85e530ec0a1c12d7e864f Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Wed, 19 Dec 2018 16:47:30 +0100 Subject: [PATCH] Use namespaced extlib functions These don't generate deprecation warnings. --- manifests/params.pp | 6 +++--- metadata.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index e7d3ba3e..c96f3245 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -43,9 +43,9 @@ # OAUTH settings $candlepin_oauth_key = 'katello' - $candlepin_oauth_secret = cache_data('foreman_cache_data', 'candlepin_oauth_secret', random_password(32)) + $candlepin_oauth_secret = extlib::cache_data('foreman_cache_data', 'candlepin_oauth_secret', extlib::random_password(32)) - $post_sync_token = cache_data('foreman_cache_data', 'post_sync_token', random_password(32)) + $post_sync_token = extlib::cache_data('foreman_cache_data', 'post_sync_token', extlib::random_password(32)) # Subsystems settings $candlepin_url = "https://${facts['fqdn']}:8443/candlepin" @@ -78,7 +78,7 @@ $candlepin_db_port = undef $candlepin_db_name = 'candlepin' $candlepin_db_user = 'candlepin' - $candlepin_db_password = cache_data('foreman_cache_data', 'candlepin_db_password', random_password(32)) + $candlepin_db_password = extlib::cache_data('foreman_cache_data', 'candlepin_db_password', extlib::random_password(32)) $candlepin_db_ssl = false $candlepin_db_ssl_verify = true $candlepin_manage_db = true diff --git a/metadata.json b/metadata.json index a5180d57..726c736d 100644 --- a/metadata.json +++ b/metadata.json @@ -10,7 +10,7 @@ "dependencies": [ { "name": "puppet/extlib", - "version_requirement": ">= 0.10.4 < 4.0.0" + "version_requirement": ">= 3.0.0 < 4.0.0" }, { "name": "puppetlabs-apache",