summaryrefslogtreecommitdiff
path: root/puppet/modules/try/README.md
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-10 23:40:05 -0800
committerelijah <elijah@riseup.net>2013-02-10 23:40:05 -0800
commitea5ec53f0c7b4fd3c400d5976ddb736331e245b8 (patch)
treecd3c89ef07d5d51efb6ffae30695c0e8f875662d /puppet/modules/try/README.md
parent3cdd7f5f02c237da0f8a3f3eb898982883fd9b97 (diff)
parent708a7e39af9a337ae38f491e7ca1892dd70002c1 (diff)
Merge branch 'try' into develop
Diffstat (limited to 'puppet/modules/try/README.md')
-rw-r--r--puppet/modules/try/README.md13
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.