From 6744fad752903cb6dfcdf49ec05f4b9e57d5e2e1 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Tue, 31 Mar 2026 13:37:45 +0200 Subject: [PATCH] Added promise type sshd Ticket: ENT-13797 Signed-off-by: Lars Erik Wik --- cfbs.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/cfbs.json b/cfbs.json index b5a51de..706561f 100644 --- a/cfbs.json +++ b/cfbs.json @@ -523,6 +523,7 @@ "ftp-server-not-installed": { "alias": "uninstall-ftp" }, "git": { "alias": "promise-type-git" }, "groups": { "alias": "promise-type-groups" }, + "sshd": { "alias": "promise-type-sshd" }, "http": { "alias": "promise-type-http" }, "install-aide": { "description": "Ensures the AIDE (Advanced Intrusion Detection Environment) software is installed.", @@ -1247,6 +1248,21 @@ "append enable.cf services/init.cf" ] }, + "promise-type-sshd": { + "description": "Experimental promise type to manage global sshd configuration.", + "tags": ["promise-type", "experimental"], + "repo": "https://github.com/cfengine/modules", + "by": "https://github.com/larsewi", + "version": "0.1.0", + "commit": "679c6c0b18cdb517c7595b1701c3707f47106da5", + "subdirectory": "promise-types/sshd", + "dependencies": ["library-for-promise-types-in-python"], + "steps": [ + "copy sshd_promise_type.py modules/promises/", + "replace_version 1 0.0.0 modules/promises/sshd_promise_type.py", + "append enable.cf services/init.cf" + ] + }, "promise-type-http": { "description": "Promise type to perform HTTP(S) requests from policy.", "tags": ["supported", "promise-type", "http"],