master
nathaniel smith 2015-07-26 00:03:17 -07:00
parent b74155de3e
commit ea062325ec
1 changed files with 2 additions and 2 deletions

View File

@ -51,9 +51,9 @@
reversed reversed
(map (fn [un] {"username" un (map (fn [un] {"username" un
"default" (default? un)})) "default" (default? un)}))
list) list)]
[live_users (-> (filter (fn [u] (not (get u "default"))) all_users) [live_users (-> (filter (fn [u] (not (get u "default"))) all_users)
list)]] list)]
[data {"all_users" users [data {"all_users" users
"live_users" live_users "live_users" live_users
"active_user_count" (-> (. (facter "active_user_count") stdout) "active_user_count" (-> (. (facter "active_user_count") stdout)