summaryrefslogtreecommitdiff
path: root/puppet/modules/try/README.md
blob: 3888661e044607c354666ebc354a593c17ab9a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
This module provides a "try" wrapper around common resource types.

For example:

    try::file {
      '/path/to/file':
        ensure => 'link',
        target => $target;
    }

This will work just like `file`, but will silently fail if `$target` is undefined or the file does not exist.

So far, only `file` type with symlinks works.