Cfengine Site Policy Summary (version 1.2.3)

Bundle agent test

ARGS:
Promise type is vars, context is any

Resource object 'hosts' make the promise to default promisee 'cf-agent' (about vars)...
........................slist => {'slogans.iu.hio.no','eternity.iu.hio.no','nexus.iu.hio.no'} , if body context any

Promise (version 1.2.3) belongs to bundle test (type agent) in '../tests/units/unit_selectservers.cf' near line 20

Promise type is vars, context is any

Resource object 'up_servers' make the promise to default promisee 'cf-agent' (about vars)...
........................int => 0 , if body context any

Promise (version 1.2.3) belongs to bundle test (type agent) in '../tests/units/unit_selectservers.cf' near line 24

Promise type is classes, context is any

Resource object 'someone_alive' make the promise to default promisee 'cf-agent' (about classes)...
........................expression => isgreaterthan($(up_servers),0,)

Promise (version 1.2.3) belongs to bundle test (type agent) in '../tests/units/unit_selectservers.cf' near line 28

Promise type is classes, context is any

Resource object 'i_am_a_server' make the promise to default promisee 'cf-agent' (about classes)...
........................expression => regarray(up_servers,$(host)|$(fqhost),)

Promise (version 1.2.3) belongs to bundle test (type agent) in '../tests/units/unit_selectservers.cf' near line 30

Promise type is reports, context is someone_alive

Resource object 'Number of active servers $(up_servers)' make the promise to default promisee 'cf-agent' (about reports)...
........................action => action always(no parameters)
.............................ifelapsed => '0' if sub-body context any , if body context any

Promise (version 1.2.3) belongs to bundle test (type agent) in '../tests/units/unit_selectservers.cf' near line 36

Promise type is reports, context is someone_alive

Resource object 'First server $(alive_servers[0]) fails over to $(alive_servers[1])' make the promise to default promisee 'cf-agent' (about reports)...

Promise (version 1.2.3) belongs to bundle test (type agent) in '../tests/units/unit_selectservers.cf' near line 38

Bundle agent testbundle

ARGS:
Promise type is vars, context is any

Resource object 'remote' make the promise to default promisee 'cf-agent' (about vars)...
........................string => , if body context any

Promise (version 1.2.3) belongs to bundle testbundle (type agent) in '../tests/units/unit_selectservers.cf' near line 79

Promise type is reports, context is linux

Resource object 'Receive value $(remote)' make the promise to default promisee 'cf-agent' (about reports)...

Promise (version 1.2.3) belongs to bundle testbundle (type agent) in '../tests/units/unit_selectservers.cf' near line 85

Bundle server access_rules

ARGS:
Promise type is vars, context is any

Resource object 'localvar' make the promise to default promisee 'cf-server' (about vars)...
........................string => literal string , if body context any

Promise (version 1.2.3) belongs to bundle access_rules (type server) in '../tests/units/unit_selectservers.cf' near line 108

Promise type is access, context is any

Resource object 'This is a $(localvar) for remote access' make the promise to default promisee 'cf-server' (about access)...
........................handle => test_scalar , if body context any
........................resource_type => literal , if body context any
........................admit => {'127.0.0.1'} , if body context any

Promise (version 1.2.3) belongs to bundle access_rules (type server) in '../tests/units/unit_selectservers.cf' near line 114

All Bodies

common control(no parameters)
.............................bundlesequence => ' {'test'}' if sub-body context any

action always(no parameters)
.............................ifelapsed => '0' if sub-body context any

common control(no parameters)
.............................bundlesequence => ' {'testbundle'}' if sub-body context any
.............................version => '1.2.3' if sub-body context any

server control(no parameters)
.............................allowconnects => ' {'127.0.0.1','::1'}' if sub-body context any
.............................allowallconnects => ' {'127.0.0.1','::1'}' if sub-body context any
.............................trustkeysfrom => ' {'127.0.0.1','::1'}' if sub-body context any
.............................allowusers => ' {'mark'}' if sub-body context any