lib/rconf/configurators/passenger_configurator.rb in rconf-0.9.20 vs lib/rconf/configurators/passenger_configurator.rb in rconf-0.9.21

- old
+ new

@@ -167,21 +167,25 @@ "\nThe following aliases may help too:\n" + "alias nrestart='kill -HUP `cat #{pid_path}/nginx.pid`'\n" + "alias nstart='#{install_path}/sbin/nginx'\n" + "alias nstop='#{install_path}/sbin/nginx -s stop'" end - post_note (post_note || '') + "\nNow open http://right-site.rightscale.local:3000 in your browser" + post_note (post_note || '') + "\nThe nginx settings will make right_site available at http://right-site.rightscale.local:3000" File.delete(File.join(ruby_dir, 'rake')) unless rake_exist report_success end end # Hosts entry in /etc/hosts # # === Return # entry(String):: Hosts entry required to run local dev def hosts_entry - '127.0.0.1 right-site.rightscale.local library.rightscale.local rightscale.local' + "\n" + + "# added by rconf's passenger_configurator\n" + "#\n" + + "255.255.255.255 broadcasthost\n" + + "127.0.0.1 right-site.rightscale.local library.rightscale.local rightscale.local" end # Nginx error log path def log_path File.join(install_path, 'logs', 'nginx-error.log')