forked from ungleich-public/cdist
document new features
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
5821ceebbc
commit
2d4cbdddab
2 changed files with 12 additions and 0 deletions
|
@ -25,9 +25,15 @@ destination::
|
||||||
If supplied, use this as the destination on the target. Otherwise the
|
If supplied, use this as the destination on the target. Otherwise the
|
||||||
object_id is used.
|
object_id is used.
|
||||||
|
|
||||||
|
group::
|
||||||
|
Group to chgrp to.
|
||||||
|
|
||||||
mode::
|
mode::
|
||||||
Unix permissions, suitable for chmod.
|
Unix permissions, suitable for chmod.
|
||||||
|
|
||||||
|
owner::
|
||||||
|
User to chown to.
|
||||||
|
|
||||||
source::
|
source::
|
||||||
If supplied, copy this file from the host running cdist to the target.
|
If supplied, copy this file from the host running cdist to the target.
|
||||||
If not supplied, an empty file or directory will be created.
|
If not supplied, an empty file or directory will be created.
|
||||||
|
@ -45,6 +51,11 @@ __file cdist-marker --type file --destination /etc/cdist-configured
|
||||||
|
|
||||||
# Use __file from another type
|
# Use __file from another type
|
||||||
__file /etc/issue --source "$__type/files/archlinux" --type file
|
__file /etc/issue --source "$__type/files/archlinux" --type file
|
||||||
|
|
||||||
|
# Supply some more settings
|
||||||
|
__file /etc/shadow --source "$__type/files/shadow" --type file \
|
||||||
|
--owner root --group shadow --mode 0640
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
* New type __addifnosuchline
|
* New type __addifnosuchline
|
||||||
* Document type __issue
|
* Document type __issue
|
||||||
* Document type __package_pacman
|
* Document type __package_pacman
|
||||||
|
* New parameter for __file: --owner and --group
|
||||||
|
|
||||||
1.0.3: 2011-03-11
|
1.0.3: 2011-03-11
|
||||||
* Update regexp used for sane characters
|
* Update regexp used for sane characters
|
||||||
|
|
Loading…
Reference in a new issue