summaryrefslogtreecommitdiff
path: root/puppet/modules/try/README.md
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-02-12 11:14:32 -0500
committerMicah Anderson <micah@riseup.net>2013-02-12 11:14:32 -0500
commit05b4a4d9d6ddb594ffa900192ad0ad714957663f (patch)
tree2a24f3b6ecf55e8f8265cf7b9aa0e86c5563638b /puppet/modules/try/README.md
parent1a2789d084c3c2beccb97726b8799cb194a634fd (diff)
parent102af94df02decef888bac09748dbac6773dedd6 (diff)
Merge remote-tracking branch 'origin/develop' into bundle-and-precompile-as-user
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.