diff options
author | elijah <elijah@riseup.net> | 2013-02-10 23:39:04 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-02-10 23:39:04 -0800 |
commit | 7680ed13b47561ab0bf96bdb63c3aff3f022ee0d (patch) | |
tree | f1cdbc7cbb97311682259dda55ac62ad2938f39a /puppet/modules/try/README.md | |
parent | 3cdd7f5f02c237da0f8a3f3eb898982883fd9b97 (diff) |
added 'try' module
Diffstat (limited to 'puppet/modules/try/README.md')
-rw-r--r-- | puppet/modules/try/README.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/modules/try/README.md b/puppet/modules/try/README.md new file mode 100644 index 00000000..3888661e --- /dev/null +++ b/puppet/modules/try/README.md @@ -0,0 +1,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. |