mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
add config.d services
This commit is contained in:
parent
9df5e84a38
commit
7231fcfa0d
2 changed files with 25 additions and 2 deletions
|
|
@ -164,7 +164,6 @@ class Diff(SyncWithTarget):
|
|||
print(f" CERT DEL : {diff['del']}")
|
||||
|
||||
def show_transactions(self, output_format):
|
||||
|
||||
if output_format == 'json':
|
||||
print(json.dumps({'transactions': self.transactions}))
|
||||
|
||||
|
|
|
|||
|
|
@ -74,4 +74,28 @@ message:change haproxy state for multiple server
|
|||
command:/usr/local/opnsense/scripts/OPNsense/HAProxy/socketCommand.py
|
||||
parameters: set-server-weight --server-ids %s --value %s
|
||||
type:script_output
|
||||
message:change haproxy weight for multiple server
|
||||
message:change haproxy weight for multiple server
|
||||
|
||||
[cert_diff]
|
||||
command:/usr/local/opnsense/scripts/OPNsense/HAProxy/syncCerts.py
|
||||
parameters: diff --output json --frontends %s
|
||||
type:script_output
|
||||
message:Show diff between configured ssl certificates and certs from HAProxy memory for multiple frontends
|
||||
|
||||
[cert_sync]
|
||||
command:/usr/local/opnsense/scripts/OPNsense/HAProxy/syncCerts.py
|
||||
parameters: sync --frontends %s --output json
|
||||
type:script_output
|
||||
message:Sync ssl certificates into HAProxy memory for multiple frontends
|
||||
|
||||
[cert_diff_bulk]
|
||||
command:/usr/local/opnsense/scripts/OPNsense/HAProxy/syncCerts.py diff --output json
|
||||
parameters:
|
||||
type:script_output
|
||||
message:Show diff between configured ssl certificates and certs from HAProxy memory for all frontends
|
||||
|
||||
[cert_sync_bulk]
|
||||
command:/usr/local/opnsense/scripts/OPNsense/HAProxy/syncCerts.py sync --output json
|
||||
parameters:
|
||||
type:script_output
|
||||
message:Sync ssl certificates into HAProxy memory for all frontends
|
||||
|
|
|
|||
Loading…
Reference in a new issue