From 7680ed13b47561ab0bf96bdb63c3aff3f022ee0d Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 10 Feb 2013 23:39:04 -0800 Subject: added 'try' module --- puppet/modules/try/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 puppet/modules/try/README.md (limited to 'puppet/modules/try/README.md') 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. -- cgit v1.2.3