Skip to content

Commit f9befce

Browse files
committed
Added promise type sshd
Ticket: ENT-13797 Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent 08b41a4 commit f9befce

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

cfbs.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@
523523
"ftp-server-not-installed": { "alias": "uninstall-ftp" },
524524
"git": { "alias": "promise-type-git" },
525525
"groups": { "alias": "promise-type-groups" },
526+
"sshd": { "alias": "promise-type-sshd" },
526527
"http": { "alias": "promise-type-http" },
527528
"install-aide": {
528529
"description": "Ensures the AIDE (Advanced Intrusion Detection Environment) software is installed.",
@@ -1247,6 +1248,21 @@
12471248
"append enable.cf services/init.cf"
12481249
]
12491250
},
1251+
"promise-type-sshd": {
1252+
"description": "Experimental promise type to manage global sshd configuration.",
1253+
"tags": ["promise-type", "experimental"],
1254+
"repo": "https://github.com/cfengine/modules",
1255+
"by": "https://github.com/larsewi",
1256+
"version": "0.1.0",
1257+
"commit": "67e3c0398e428d6f62a9e242acacb40ec35690a8",
1258+
"subdirectory": "promise-types/sshd",
1259+
"dependencies": ["library-for-promise-types-in-python"],
1260+
"steps": [
1261+
"copy sshd_promise_type.py modules/promises/",
1262+
"replace_version 1 0.0.0 modules/promises/sshd_promise_type.py",
1263+
"append enable.cf services/init.cf"
1264+
]
1265+
},
12501266
"promise-type-http": {
12511267
"description": "Promise type to perform HTTP(S) requests from policy.",
12521268
"tags": ["supported", "promise-type", "http"],

0 commit comments

Comments
 (0)