Add deps to authtoken

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

Change-Id: I554f17cd2c5ef47eeb72df8e9a116493389e11e3
This commit is contained in:
ZhongShengping 2016-11-24 11:58:21 +08:00
parent f958cb6d7c
commit 54f6ba25f7
2 changed files with 4 additions and 0 deletions

View File

@ -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')
}

View File

@ -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')
}