Skip to content
Browse files

Fixed missing '=' sign that prevented an if statement from being a co…

…nditional

Signed-off-by: William Van Hevelingen <wvan13@gmail.com>
  • Loading branch information...
1 parent 9a854bd commit 170385355527224de507f3b9991e5bb0d2991845 @blkperl blkperl committed Aug 2, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/puppet/provider/network_interface/debian.rb
View
6 lib/puppet/provider/network_interface/debian.rb
@@ -87,7 +87,7 @@ def device_down
end
# Current values in the config file
- def current_values
+ def config_values
@values ||= read_config
end
@@ -187,7 +187,7 @@ def read_config
# Debian base network interface files uses the format: key, value
lines.each do |line|
- # Code that the parses the file
+ # FIXME Code that the parses the file
end
Puppet.debug "Imported config file into to a hash"
return config_hash
@@ -201,7 +201,7 @@ def read_config
# Writes to the config file if @modified is true
def write_config
- if @modified = true
+ if @modified == true
config_file = File.new(Config_file, 'w')
# FIXME add write to file code
Puppet.debug "Wrote to #{Config_file}"

0 comments on commit 1703853

Please sign in to comment.
Something went wrong with that request. Please try again.