summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarc Fournier <marc.fournier@camptocamp.com>2010-03-22 08:52:49 -0400
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commitb2d172878778156a6b6a9ff6088500eebec71a86 (patch)
tree4122367e20adb537c6675c1ba9f8b69881319c82 /lib
parent7ab29c4eddd0914da7a18fc9c04144b2cebf4647 (diff)
downloadpuppet-b2d172878778156a6b6a9ff6088500eebec71a86.tar.gz
puppet-b2d172878778156a6b6a9ff6088500eebec71a86.tar.xz
puppet-b2d172878778156a6b6a9ff6088500eebec71a86.zip
fixed a couple of typos
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/provider/augeas/augeas.rb2
-rw-r--r--lib/puppet/type/augeas.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/provider/augeas/augeas.rb b/lib/puppet/provider/augeas/augeas.rb
index dde676c39..427d99758 100644
--- a/lib/puppet/provider/augeas/augeas.rb
+++ b/lib/puppet/provider/augeas/augeas.rb
@@ -291,7 +291,7 @@ Puppet::Type.type(:augeas).provide(:augeas) do
save_result = @aug.save
saved_files = @aug.match("/augeas/events/saved")
if save_result and not files_changed?
- debug("Skipping becuase no files were changed")
+ debug("Skipping because no files were changed")
return_value = false
else
debug("Files changed, should execute")
diff --git a/lib/puppet/type/augeas.rb b/lib/puppet/type/augeas.rb
index c2b164ede..3deed136d 100644
--- a/lib/puppet/type/augeas.rb
+++ b/lib/puppet/type/augeas.rb
@@ -166,7 +166,7 @@ Puppet::Type.newtype(:augeas) do
end
# if the onlyif resource is provided, then the value is parsed.
- # a return value of 0 will stop exection becuase it matches the
+ # a return value of 0 will stop exection because it matches the
# default value.
def retrieve
if @resource.provider.need_to_run?()