]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
ensure_resource: fix documentation typo
authorChris Boot <crb@tiger-computing.co.uk>
Thu, 27 Jun 2013 16:51:36 +0000 (17:51 +0100)
committerChris Boot <crb@tiger-computing.co.uk>
Thu, 27 Jun 2013 16:51:36 +0000 (17:51 +0100)
README.markdown
lib/puppet/parser/functions/ensure_resource.rb

index 0e40f51a8ad208a1ed218d83fe89cd8854ef1de9..2a1ddfdd531995dbd6bbea27886da7af06d21151 100644 (file)
@@ -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
index a9a17338e03c74dd160ee0ba7bb00c3fa66c9a4c..05e5593fc17b4975eeba865978325cd2a1cef0be 100644 (file)
@@ -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