diff --git a/lib/puppet/provider/network_interface/debian.rb b/lib/puppet/provider/network_interface/debian.rb index f84d1d0..4f802b8 100644 --- a/lib/puppet/provider/network_interface/debian.rb +++ b/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}"