cdist-type__link(7)


Table of Contents

1. NAME
2. DESCRIPTION
3. REQUIRED PARAMETERS
4. OPTIONAL PARAMETERS
5. EXAMPLES
6. SEE ALSO
7. COPYING

1. NAME

cdist-type__link - Create links

2. DESCRIPTION

This cdist type allows you to hard and symoblic links. The given object id is the destination for the link.

3. REQUIRED PARAMETERS

source
Specifies the link source.
type
Specifies the link type: Either hard or symoblic.

4. OPTIONAL PARAMETERS

None.

5. EXAMPLES

# Create hard link of /etc/shadow
__link /root/shadow --source /etc/shadow --type hard

# Relative symbolic link
__link /etc/apache2/sites-enabled/www.test.ch   \
   --source ../sites-available/www.test.ch      \
   --type symbolic

# Absolute symbolic link
__link /opt/plone --source /home/services/plone --type symbolic

6. SEE ALSO

  • cdist-type(7)

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).