add systemd timer + a service and a timer can have same name

This commit is contained in:
2022-03-05 10:57:55 +01:00
parent fbc5f9374e
commit d1d6a80fe7
331 changed files with 1201 additions and 1132 deletions

View File

@ -13,7 +13,7 @@
"192.168.1.0"
]
},
"services.ntp.ip.nut_monitor_host.name": {
"services.ntp_service.ip.nut_monitor_host.name": {
"owner": [
"default"
],
@ -21,21 +21,21 @@
"192.168.1.0"
]
},
"services.ntp.ip.nut_monitor_host.netmask": {
"services.ntp_service.ip.nut_monitor_host.netmask": {
"owner": "default",
"value": [
"255.255.255.0"
]
},
"services.ntp.ip.nut_monitor_host.activate": {
"services.ntp_service.ip.nut_monitor_host.activate": {
"owner": "default",
"value": true
},
"services.ntp.activate": {
"services.ntp_service.activate": {
"owner": "default",
"value": true
},
"services.ntp.manage": {
"services.ntp_service.manage": {
"owner": "default",
"value": true
}

View File

@ -5,13 +5,13 @@
"rougail.general.nut_monitor_netmask.nut_monitor_host": "192.168.1.0"
}
],
"services.ntp.ip.nut_monitor_host.name": [
"services.ntp_service.ip.nut_monitor_host.name": [
"192.168.1.0"
],
"services.ntp.ip.nut_monitor_host.netmask": [
"services.ntp_service.ip.nut_monitor_host.netmask": [
"255.255.255.0"
],
"services.ntp.ip.nut_monitor_host.activate": true,
"services.ntp.activate": true,
"services.ntp.manage": true
"services.ntp_service.ip.nut_monitor_host.activate": true,
"services.ntp_service.activate": true,
"services.ntp_service.manage": true
}

View File

@ -13,7 +13,7 @@
"192.168.1.0"
]
},
"services.ntp.ip.nut_monitor_host.name": {
"services.ntp_service.ip.nut_monitor_host.name": {
"owner": [
"default"
],
@ -21,21 +21,21 @@
"192.168.1.0"
]
},
"services.ntp.ip.nut_monitor_host.netmask": {
"services.ntp_service.ip.nut_monitor_host.netmask": {
"owner": "default",
"value": [
"255.255.255.0"
]
},
"services.ntp.ip.nut_monitor_host.activate": {
"services.ntp_service.ip.nut_monitor_host.activate": {
"owner": "default",
"value": true
},
"services.ntp.activate": {
"services.ntp_service.activate": {
"owner": "default",
"value": true
},
"services.ntp.manage": {
"services.ntp_service.manage": {
"owner": "default",
"value": true
}

View File

@ -26,6 +26,6 @@ option_9 = OptionDescription(name="nut_monitor_host", doc="nut_monitor_host", ch
option_8 = OptionDescription(name="ip", doc="ip", children=[option_9])
option_13 = BoolOption(name="activate", doc="activate", default=True)
option_14 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="ntp", doc="ntp", children=[option_8, option_13, option_14])
option_7 = OptionDescription(name="ntp_service", doc="ntp.service", children=[option_8, option_13, option_14])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])