summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorAdrien Thebo <git@somethingsinistral.net>2013-05-06 16:54:17 -0700
committerAdrien Thebo <git@somethingsinistral.net>2013-05-06 16:54:17 -0700
commit3e59bbd2dbaf2e40abc786411e3bf3998f6e715d (patch)
tree4c963a169f2fd82f99ffbb8128a2cf862f46e338 /README.markdown
parent0c68ff6d66960424567f15711cb20b674fc60054 (diff)
parentd38bce0488dd70a6f8a8a2c9b91a98a231f28f02 (diff)
downloadpuppet-stdlib-3e59bbd2dbaf2e40abc786411e3bf3998f6e715d.tar.gz
puppet-stdlib-3e59bbd2dbaf2e40abc786411e3bf3998f6e715d.tar.bz2
Merge pull request #152 from AlexCline/feature/master/allow_arrays_in_ensure_resource
(#20548) Allow an array of resource titles to be passed into the ensure_...
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 84cd08e..7b45b17 100644
--- a/README.markdown
+++ b/README.markdown
@@ -243,6 +243,11 @@ If the resource already exists but does not match the specified parameters,
this function will attempt to recreate the resource leading to a duplicate
resource definition error.
+An array of resources can also be passed in and each will be created with
+the type and parameters specified if it doesn't already exist.
+
+ ensure_resource('user', ['dan','alex'], {'ensure' => 'present'})
+
- *Type*: statement