From 784d586f480afb9fcf545ae41f2a4bc92336b79f Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Wed, 9 Oct 2024 22:27:21 +0000 Subject: [PATCH] add builtin jx for confdir --- internal/builtin/documents/config.jx.yaml | 45 +++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 internal/builtin/documents/config.jx.yaml diff --git a/internal/builtin/documents/config.jx.yaml b/internal/builtin/documents/config.jx.yaml new file mode 100644 index 0000000..3d6853d --- /dev/null +++ b/internal/builtin/documents/config.jx.yaml @@ -0,0 +1,45 @@ +configurations: +- name: confdir + values: + prefix: /etc/jx +resources: +- type: group + transition: create + onerror: stop + attributes: + name: "jx" +- type: file + transition: update + attributes: + path: "/etc/jx" + owner: "root" + group: "root" + mode: "0755" + filetype: directory +- type: file + transition: update + config: confdir + attributes: + path: "conf.d" + owner: "root" + group: "jx" + mode: "0770" + filetype: directory +- type: file + transition: update + config: confdir + attributes: + path: "pki" + owner: "root" + group: "jx" + mode: "0770" + filetype: directory +- type: file + transition: update + config: confdir + attributes: + path: "pki/ca" + owner: "root" + group: "jx" + mode: "0770" + filetype: directory