Merge pull request #165 from tigercomputing/fixes/ensure_resource-doc

ensure_resource: fix documentation typo
This commit is contained in:
Adrien Thebo 2013-06-27 11:19:39 -07:00
commit 4d2558f383
2 changed files with 2 additions and 2 deletions

View file

@ -258,7 +258,7 @@ resource.
This example only creates the resource if it does not already exist: 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, If the resource already exists but does not match the specified parameters,
this function will attempt to recreate the resource leading to a duplicate this function will attempt to recreate the resource leading to a duplicate

View file

@ -13,7 +13,7 @@ resource.
This example only creates the resource if it does not already exist: 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, If the resource already exists but does not match the specified parameters,
this function will attempt to recreate the resource leading to a duplicate this function will attempt to recreate the resource leading to a duplicate