56 lines
1,018 B
Text
56 lines
1,018 B
Text
cdist-type__directory(7)
|
|
========================
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
|
|
|
|
|
NAME
|
|
----
|
|
cdist-type__directory - Create a directory
|
|
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
This cdist type allows you to create directories on the target.
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
-------------------
|
|
None.
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
-------------------
|
|
group::
|
|
Group to chgrp to.
|
|
|
|
mode::
|
|
Unix permissions, suitable for chmod.
|
|
|
|
owner::
|
|
User to chown to.
|
|
|
|
parents::
|
|
Whether to create parents as well (mkdir -p behaviour)
|
|
|
|
|
|
EXAMPLES
|
|
--------
|
|
|
|
--------------------------------------------------------------------------------
|
|
# A silly example
|
|
__directory /tmp/foobar
|
|
|
|
# Ensure /etc exists correctly
|
|
__file /etc --owner root --group root --mode 0755
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
SEE ALSO
|
|
--------
|
|
- cdist-type(7)
|
|
|
|
|
|
COPYING
|
|
-------
|
|
Copyright \(C) 2011 Nico Schottelius. Free use of this software is
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|