Skip to content

Commit

Permalink
Fixed missing '=' sign that prevented an if statement from being a co…
Browse files Browse the repository at this point in the history
…nditional

Signed-off-by: William Van Hevelingen <wvan13@gmail.com>
  • Loading branch information
blkperl committed Aug 3, 2010
1 parent 9a854bd commit 1703853
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/puppet/provider/network_interface/debian.rb
Expand Up @@ -87,7 +87,7 @@ def device_down
end

# Current values in the config file
def current_values
def config_values
@values ||= read_config
end

Expand Down Expand Up @@ -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
Expand All @@ -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}"
Expand Down

0 comments on commit 1703853

Please sign in to comment.