add builtin jx for confdir
This commit is contained in:
parent
1117882ced
commit
784d586f48
45
internal/builtin/documents/config.jx.yaml
Normal file
45
internal/builtin/documents/config.jx.yaml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user