diff options
author | David Lutterkort <lutter@redhat.com> | 2009-05-30 22:46:16 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-06-03 23:34:52 +1000 |
commit | 95bd82610b2fb57d45db2535758cda5bbb297152 (patch) | |
tree | 948ef06abcdbbf04c286b4bcb150a715f3015b67 /lib/puppet | |
parent | 7c5125bb6dec630d2509905e3c202e0dfe59d959 (diff) | |
download | puppet-95bd82610b2fb57d45db2535758cda5bbb297152.tar.gz puppet-95bd82610b2fb57d45db2535758cda5bbb297152.tar.xz puppet-95bd82610b2fb57d45db2535758cda5bbb297152.zip |
* provider/augeas: remove trailing whitespace (no functional change)
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/provider/augeas/augeas.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/provider/augeas/augeas.rb b/lib/puppet/provider/augeas/augeas.rb index 35ab50652..ea70d8add 100644 --- a/lib/puppet/provider/augeas/augeas.rb +++ b/lib/puppet/provider/augeas/augeas.rb @@ -44,7 +44,7 @@ Puppet::Type.type(:augeas).provide(:augeas) do } COMMANDS["ins"] = COMMANDS["insert"] - COMMANDS["remove"] = COMMANDS["rm"] + COMMANDS["remove"] = COMMANDS["rm"] attr_accessor :aug @@ -113,7 +113,7 @@ Puppet::Type.type(:augeas).provide(:augeas) do elsif f == :comparator argline << sc.scan(/(==|!=|=~|<|<=|>|>=)/) unless argline[-1] - puts sc.rest() + puts sc.rest() fail(raise Exception, "invalid comparator for command #{cmd}") end elsif f == :int @@ -224,7 +224,7 @@ Puppet::Type.type(:augeas).provide(:augeas) do return_value = true if result != new_array rescue fail("Invalid array in command: #{cmd_array.join(" ")}") - end + end end end return_value @@ -315,7 +315,7 @@ Puppet::Type.type(:augeas).provide(:augeas) do debug("sending command '#{command}' with params #{cmd_array.inspect}") aug.set(cmd_array[0], cmd_array[1]) when "rm", "remove" - debug("sending command '#{command}' with params #{cmd_array.inspect}") + debug("sending command '#{command}' with params #{cmd_array.inspect}") aug.rm(cmd_array[0]) when "clear" debug("sending command '#{command}' with params #{cmd_array.inspect}") |