From 3804fe5a944e60ea9c8b56d204b62d175df4239e Mon Sep 17 00:00:00 2001 From: Nicolas CHARLES Date: Tue, 8 Oct 2013 19:15:09 +0200 Subject: [PATCH] Fixes #4028: add system variables definition MANAGED_NODES and MANAGED_NODES_ID --- .../services/impl/SystemVariableSpecServiceImpl.scala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/scala/com/normation/cfclerk/services/impl/SystemVariableSpecServiceImpl.scala b/src/main/scala/com/normation/cfclerk/services/impl/SystemVariableSpecServiceImpl.scala index 859048a..03843aa 100644 --- a/src/main/scala/com/normation/cfclerk/services/impl/SystemVariableSpecServiceImpl.scala +++ b/src/main/scala/com/normation/cfclerk/services/impl/SystemVariableSpecServiceImpl.scala @@ -89,8 +89,14 @@ class SystemVariableSpecServiceImpl extends SystemVariableSpecService { , isUniqueVariable = true , constraint = Constraint(typeName = IntegerVType()) ) + , SystemVariableSpec("MANAGED_NODES_NAME", "Hostname of nodes managed by the policy server" + , constraint = Constraint(mayBeEmpty=true) + ) + , SystemVariableSpec("MANAGED_NODES_ID", "UUID of nodes managed by the policy server" + , constraint = Constraint(mayBeEmpty=true) + ) // this variable may be empty, has it is not filled by rudder, but by cf-clerk - , SystemVariableSpec("GENERATIONTIMESTAMP" + , SystemVariableSpec("GENERATIONTIMESTAMP" , "Timestamp of the promises generation" , multivalued = false , isUniqueVariable = true