lib/invoker/power/pf_migrate.rb in invoker-1.4.1 vs lib/invoker/power/pf_migrate.rb in invoker-1.5.1
- old
+ new
@@ -11,10 +11,10 @@
end
def migrate
if firewall_config_requires_migration? && ask_user_for_migration
sudome
- osx_setup = Invoker::Power::OsxSetup.new()
+ osx_setup = Invoker::Power::OsxSetup.new(Invoker.config.tld)
osx_setup.install_firewall(Invoker.config.http_port, Invoker.config.https_port)
drop_to_normal_user
Invoker::Logger.puts "Invoker has updated its configuration for yosemite."\
" Please restart OSX to complete the configuration process.".color(:red)
exit(-1)