pmcf 1.88.1 → 1.88.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cluster.mjs +6 -4
package/package.json
CHANGED
package/src/cluster.mjs
CHANGED
|
@@ -86,7 +86,9 @@ export class Cluster extends Host {
|
|
|
86
86
|
" }",
|
|
87
87
|
` smtp_server ${this.smtp.rawAddress}`,
|
|
88
88
|
` notification_email_from keepalived@${host.domainName}`,
|
|
89
|
-
|
|
89
|
+
" enable_script_security",
|
|
90
|
+
" script_user root",
|
|
91
|
+
" max_auto_priority 20",
|
|
90
92
|
"}",
|
|
91
93
|
""
|
|
92
94
|
];
|
|
@@ -161,7 +163,7 @@ export class Cluster extends Host {
|
|
|
161
163
|
`${this.name}-master.target`,
|
|
162
164
|
[
|
|
163
165
|
"[Unit]",
|
|
164
|
-
`Description
|
|
166
|
+
`Description=Services to be activated in master state of cluster ${this.name}`
|
|
165
167
|
]
|
|
166
168
|
);
|
|
167
169
|
|
|
@@ -170,7 +172,7 @@ export class Cluster extends Host {
|
|
|
170
172
|
`${this.name}-backup.target`,
|
|
171
173
|
[
|
|
172
174
|
"[Unit]",
|
|
173
|
-
`Description
|
|
175
|
+
`Description=Services to be activated in backup state of cluster ${this.name}`
|
|
174
176
|
]
|
|
175
177
|
);
|
|
176
178
|
|
|
@@ -179,7 +181,7 @@ export class Cluster extends Host {
|
|
|
179
181
|
`${this.name}-fault.target`,
|
|
180
182
|
[
|
|
181
183
|
"[Unit]",
|
|
182
|
-
`Description
|
|
184
|
+
`Description=Services to be activated in fault state of cluster ${this.name}`
|
|
183
185
|
]
|
|
184
186
|
);
|
|
185
187
|
|