CDIST-TYPE__INSTALL_DIRECTORY(7) | cdist | CDIST-TYPE__INSTALL_DIRECTORY(7) |
cdist-type__install_directory - Manage a directory with install command
This cdist type allows you to create or remove directories on the target.
None.
# A silly example __install_directory /tmp/foobar # Remove a directory __install_directory /tmp/foobar --state absent # Ensure /etc exists correctly __install_directory /etc --owner root --group root --mode 0755 # Create nfs service directory, including parents __install_directory /home/services/nfs --parents # Change permissions recursively __install_directory /home/services --recursive --owner root --group root # Setup a temp directory __install_directory /local --mode 1777 # Take it all __install_directory /home/services/kvm --recursive --parents \
--owner root --group root --mode 0755 --state present
Nico Schottelius <nico-cdist--@--schottelius.org>
Copyright (C) 2011 Nico Schottelius. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ungleich GmbH 2020
February 7, 2021 | 6.9.4 |