2011-03-15 20:06:18 +00:00
|
|
|
cdist-type__directory(7)
|
|
|
|
========================
|
2011-03-15 15:41:04 +00:00
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
|
|
|
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2011-03-15 20:06:18 +00:00
|
|
|
cdist-type__directory - Create a directory
|
2011-03-15 15:41:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2011-03-15 20:06:18 +00:00
|
|
|
This cdist type allows you to create directories on the target.
|
2011-03-15 15:41:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
2011-03-15 20:06:18 +00:00
|
|
|
None.
|
2011-03-15 15:41:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
|
|
|
group::
|
|
|
|
Group to chgrp to.
|
|
|
|
|
|
|
|
mode::
|
|
|
|
Unix permissions, suitable for chmod.
|
|
|
|
|
|
|
|
owner::
|
|
|
|
User to chown to.
|
|
|
|
|
2011-03-15 20:06:18 +00:00
|
|
|
parents::
|
|
|
|
Whether to create parents as well (mkdir -p behaviour)
|
2011-03-15 15:41:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
2011-03-16 07:45:01 +00:00
|
|
|
# A silly example
|
|
|
|
__directory /tmp/foobar
|
2011-03-15 15:41:04 +00:00
|
|
|
|
2011-03-16 07:45:01 +00:00
|
|
|
# Ensure /etc exists correctly
|
|
|
|
__file /etc --owner root --group root --mode 0755
|
2011-03-15 15:41:04 +00:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
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).
|