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