summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Boot <crb@tiger-computing.co.uk>2013-06-27 17:51:36 +0100
committerChris Boot <crb@tiger-computing.co.uk>2013-06-27 17:51:36 +0100
commit7f98203f1863288675d8fa48e2830efca5e26324 (patch)
tree88563a23821ca63ac3435282caa9e95c02d5d76d
parentca7633c0e4830edb0dab4dc31609086eb7edba67 (diff)
ensure_resource: fix documentation typo
-rw-r--r--README.markdown2
-rw-r--r--lib/puppet/parser/functions/ensure_resource.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index 0e40f51..2a1ddfd 100644
--- a/README.markdown
+++ b/README.markdown
@@ -258,7 +258,7 @@ resource.
This example only creates the resource if it does not already exist:
- ensure_resource('user, 'dan', {'ensure' => 'present' })
+ ensure_resource('user', 'dan', {'ensure' => 'present' })
If the resource already exists but does not match the specified parameters,
this function will attempt to recreate the resource leading to a duplicate
diff --git a/lib/puppet/parser/functions/ensure_resource.rb b/lib/puppet/parser/functions/ensure_resource.rb
index a9a1733..05e5593 100644
--- a/lib/puppet/parser/functions/ensure_resource.rb
+++ b/lib/puppet/parser/functions/ensure_resource.rb
@@ -13,7 +13,7 @@ resource.
This example only creates the resource if it does not already exist:
- ensure_resource('user, 'dan', {'ensure' => 'present' })
+ ensure_resource('user', 'dan', {'ensure' => 'present' })
If the resource already exists but does not match the specified parameters,
this function will attempt to recreate the resource leading to a duplicate