forked from ungleich-public/cdist
ensure file exists
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
4061031035
commit
72104184b5
1 changed files with 8 additions and 4 deletions
|
@ -41,7 +41,11 @@ case "$os" in
|
||||||
centos)
|
centos)
|
||||||
__package tzdata --state present
|
__package tzdata --state present
|
||||||
export require="__package/tzdata"
|
export require="__package/tzdata"
|
||||||
__key_value ZONE \
|
__file /etc/sysconfig/clock \
|
||||||
|
--owner root --group root --mode 644 \
|
||||||
|
--state exists
|
||||||
|
require="__file/etc/sysconfig/clock" \
|
||||||
|
___key_value ZONE \
|
||||||
--file /etc/sysconfig/clock \
|
--file /etc/sysconfig/clock \
|
||||||
--delimiter '=' \
|
--delimiter '=' \
|
||||||
--value "\"$timezone\""
|
--value "\"$timezone\""
|
||||||
|
|
Loading…
Reference in a new issue