Add deps to authtoken

The authtoken class needs to include the ::glance::deps class.

Change-Id: I554f17cd2c5ef47eeb72df8e9a116493389e11e3
changes/50/401850/1
ZhongShengping 6 years ago
parent f958cb6d7c
commit 54f6ba25f7
  1. 2
      manifests/api/authtoken.pp
  2. 2
      manifests/registry/authtoken.pp

@ -223,6 +223,8 @@ class glance::api::authtoken(
$token_cache_time = $::os_service_default,
) {
include ::glance::deps
if is_service_default($password) {
fail('Please set password for Glance service user')
}

@ -223,6 +223,8 @@ class glance::registry::authtoken(
$token_cache_time = $::os_service_default,
) {
include ::glance::deps
if is_service_default($password) {
fail('Please set password for Glance service user')
}

Loading…
Cancel
Save