From 7f98203f1863288675d8fa48e2830efca5e26324 Mon Sep 17 00:00:00 2001 From: Chris Boot Date: Thu, 27 Jun 2013 17:51:36 +0100 Subject: ensure_resource: fix documentation typo --- README.markdown | 2 +- lib/puppet/parser/functions/ensure_resource.rb | 2 +- 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 -- cgit v1.2.3