mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
add config.d services
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user