add systemd timer + a service and a timer can have same name
This commit is contained in:
@ -7,19 +7,19 @@
|
||||
"owner": "default",
|
||||
"value": "192.168.0.1"
|
||||
},
|
||||
"services.test.ip.nut_monitor_host.name": {
|
||||
"services.test_service.ip.nut_monitor_host.name": {
|
||||
"owner": "default",
|
||||
"value": "192.168.0.1"
|
||||
},
|
||||
"services.test.ip.nut_monitor_host.activate": {
|
||||
"services.test_service.ip.nut_monitor_host.activate": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
},
|
||||
"services.test.activate": {
|
||||
"services.test_service.activate": {
|
||||
"owner": "default",
|
||||
"value": false
|
||||
},
|
||||
"services.test.manage": {
|
||||
"services.test_service.manage": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"rougail.condition": "no",
|
||||
"rougail.nut_monitor_host": "192.168.0.1",
|
||||
"services.test.ip.nut_monitor_host.name": "192.168.0.1",
|
||||
"services.test.ip.nut_monitor_host.activate": true,
|
||||
"services.test.activate": false,
|
||||
"services.test.manage": true
|
||||
"services.test_service.ip.nut_monitor_host.name": "192.168.0.1",
|
||||
"services.test_service.ip.nut_monitor_host.activate": true,
|
||||
"services.test_service.activate": false,
|
||||
"services.test_service.manage": true
|
||||
}
|
||||
|
@ -7,19 +7,19 @@
|
||||
"owner": "default",
|
||||
"value": "192.168.0.1"
|
||||
},
|
||||
"services.test.ip.nut_monitor_host.name": {
|
||||
"services.test_service.ip.nut_monitor_host.name": {
|
||||
"owner": "default",
|
||||
"value": "192.168.0.1"
|
||||
},
|
||||
"services.test.ip.nut_monitor_host.activate": {
|
||||
"services.test_service.ip.nut_monitor_host.activate": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
},
|
||||
"services.test.activate": {
|
||||
"services.test_service.activate": {
|
||||
"owner": "default",
|
||||
"value": false
|
||||
},
|
||||
"services.test.manage": {
|
||||
"services.test_service.manage": {
|
||||
"owner": "default",
|
||||
"value": true
|
||||
}
|
||||
|
@ -23,6 +23,6 @@ option_7 = OptionDescription(name="nut_monitor_host", doc="nut_monitor_host", ch
|
||||
option_6 = OptionDescription(name="ip", doc="ip", children=[option_7])
|
||||
option_10 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_2, notraisepropertyerror=True), 'expected_0': ParamValue("no")})))
|
||||
option_11 = BoolOption(name="manage", doc="manage", default=True)
|
||||
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_10, option_11])
|
||||
option_5 = OptionDescription(name="test_service", doc="test.service", children=[option_6, option_10, option_11])
|
||||
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])
|
||||
|
Reference in New Issue
Block a user