|
32 | 32 | $db_username = 'foreman' |
33 | 33 | # Generate and cache the password on the master once |
34 | 34 | # In multi-puppetmaster setups, the user should specify their own |
35 | | - $db_password = extlib::cache_data('foreman_cache_data', 'db_password', extlib::random_password(32)) |
| 35 | + $db_password = Sensitive(extlib::cache_data('foreman_cache_data', 'db_password', extlib::random_password(32))) |
36 | 36 | # Default database connection pool |
37 | 37 | $db_pool = 5 |
38 | 38 | # if enabled, will run rake jobs, which depend on the database |
|
147 | 147 | # We need the REST API interface with OAuth for some REST Puppet providers |
148 | 148 | $oauth_active = true |
149 | 149 | $oauth_map_users = false |
150 | | - $oauth_consumer_key = extlib::cache_data('foreman_cache_data', 'oauth_consumer_key', extlib::random_password(32)) |
151 | | - $oauth_consumer_secret = extlib::cache_data('foreman_cache_data', 'oauth_consumer_secret', extlib::random_password(32)) |
| 150 | + $oauth_consumer_key = Sensitive(extlib::cache_data('foreman_cache_data', 'oauth_consumer_key', extlib::random_password(32))) |
| 151 | + $oauth_consumer_secret = Sensitive(extlib::cache_data('foreman_cache_data', 'oauth_consumer_secret', extlib::random_password(32))) |
152 | 152 | $oauth_effective_user = 'admin' |
153 | 153 |
|
154 | 154 | # Initial admin account details |
155 | 155 | $initial_admin_username = 'admin' |
156 | | - $initial_admin_password = extlib::cache_data('foreman_cache_data', 'admin_password', extlib::random_password(16)) |
| 156 | + $initial_admin_password = Sensitive(extlib::cache_data('foreman_cache_data', 'admin_password', extlib::random_password(16))) |
157 | 157 | $initial_admin_first_name = undef |
158 | 158 | $initial_admin_last_name = undef |
159 | 159 | $initial_admin_email = undef |
|
0 commit comments