Skip to content

Commit

Permalink
namespace extlib functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoll authored and ekohl committed Dec 10, 2018
1 parent 5129d3b commit 957bc59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
$db_username = 'foreman'
# Generate and cache the password on the master once
# In multi-puppetmaster setups, the user should specify their own
$db_password = cache_data('foreman_cache_data', 'db_password', random_password(32))
$db_password = extlib::cache_data('foreman_cache_data', 'db_password', extlib::random_password(32))
# Default database connection pool
$db_pool = 5
# if enabled, will run rake jobs, which depend on the database
Expand Down Expand Up @@ -171,12 +171,12 @@
# We need the REST API interface with OAuth for some REST Puppet providers
$oauth_active = true
$oauth_map_users = false
$oauth_consumer_key = cache_data('foreman_cache_data', 'oauth_consumer_key', random_password(32))
$oauth_consumer_secret = cache_data('foreman_cache_data', 'oauth_consumer_secret', random_password(32))
$oauth_consumer_key = extlib::cache_data('foreman_cache_data', 'oauth_consumer_key', extlib::random_password(32))
$oauth_consumer_secret = extlib::cache_data('foreman_cache_data', 'oauth_consumer_secret', extlib::random_password(32))

# Initial admin account details
$admin_username = 'admin'
$admin_password = cache_data('foreman_cache_data', 'admin_password', random_password(16))
$admin_password = extlib::cache_data('foreman_cache_data', 'admin_password', extlib::random_password(16))
$admin_first_name = undef
$admin_last_name = undef
$admin_email = undef
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
{
"name": "puppet/extlib",
"version_requirement": ">= 0.10.4 < 4.0.0"
"version_requirement": ">= 3.0.0 < 4.0.0"
}
],
"requirements": [
Expand Down

0 comments on commit 957bc59

Please sign in to comment.