Commit 7acce62046f311268e7b2f28d5cca33655433ca8

Authored by Rafael Manzo
1 parent 6382325f

KalibroGatekeeperClient production configuration

config/deploy.rb
... ... @@ -47,7 +47,7 @@ namespace :deploy do
47 47 before :compile_assets, :config_symlinks do
48 48 on roles(:web) do
49 49 execute "ln -s #{File.join(deploy_to, 'shared', 'config/database.yml')} #{File.join(release_path, 'config/database.yml')}"
50   - execute "ln -s #{File.join(deploy_to, 'shared', 'config/kalibro.yml')} #{File.join(release_path, 'config/kalibro.yml')}"
  50 + execute "ln -s #{File.join(deploy_to, 'shared', 'config/kalibro_gayekeeper.yml')} #{File.join(release_path, 'config/kalibro_gatekeeper.yml')}"
51 51 end
52 52 end
53 53  
... ...
config/environments/production.rb
... ... @@ -82,5 +82,5 @@ Mezuro::Application.configure do
82 82 config.action_mailer.default_url_options = { :host => 'mezuro.org' }
83 83  
84 84 # Kalibro URL
85   - KalibroGem.configure_with(Rails.root.join('config', 'kalibro.yml'))
  85 + KalibroGatekeeper.configure_with(Rails.root.join('config', 'kalibro_gatekeeper.yml'))
86 86 end
... ...
config/kalibro.yml.sample
... ... @@ -1,2 +0,0 @@
1   -# Configuration loaded only for production environment
2   -address: http://localhost:8080/KalibroService/
3 0 \ No newline at end of file
config/kalibro_gatekeeper.yml.sample 0 → 100644
... ... @@ -0,0 +1,2 @@
  1 +# Configuration loaded only for production environment
  2 +address: http://localhost:8080/KalibroService/
0 3 \ No newline at end of file
... ...