Add deps to authtoken
The authtoken class needs to include the ::glance::deps class. Change-Id: I554f17cd2c5ef47eeb72df8e9a116493389e11e3
This commit is contained in:
parent
f958cb6d7c
commit
54f6ba25f7
@ -223,6 +223,8 @@ class glance::api::authtoken(
|
|||||||
$token_cache_time = $::os_service_default,
|
$token_cache_time = $::os_service_default,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
include ::glance::deps
|
||||||
|
|
||||||
if is_service_default($password) {
|
if is_service_default($password) {
|
||||||
fail('Please set password for Glance service user')
|
fail('Please set password for Glance service user')
|
||||||
}
|
}
|
||||||
|
@ -223,6 +223,8 @@ class glance::registry::authtoken(
|
|||||||
$token_cache_time = $::os_service_default,
|
$token_cache_time = $::os_service_default,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
include ::glance::deps
|
||||||
|
|
||||||
if is_service_default($password) {
|
if is_service_default($password) {
|
||||||
fail('Please set password for Glance service user')
|
fail('Please set password for Glance service user')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user