Add deps to authtoken

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

Change-Id: I99b5e270ccf1a7432e864201b4f5803387eb3a12
This commit is contained in:
ZhongShengping 2016-12-07 16:32:48 +08:00
parent 8aee1f413f
commit 21df08b9c2

View File

@ -225,6 +225,8 @@ class watcher::keystone::authtoken (
$token_cache_time = $::os_service_default,
) {
include ::watcher::deps
if is_service_default($password) and ! $::watcher::api::watcher_client_password {
fail('Please set password for watcher service user')
}