From fb8be800021cb24af00b69112e6e3acbe26eb7af Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 22 Oct 2015 15:18:59 -0400 Subject: [PATCH] api: fix default port to bind API service Due to a wrong copy paste, the default port was 8777 which is already used by Ceilemeter API service. Let's use the default Aodh: 8042. Change-Id: I5b51f7337f4381035849d2f2032e1063b428540d --- manifests/api.pp | 4 ++-- spec/classes/aodh_api_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/api.pp b/manifests/api.pp index 3b9576569..7d7f5044b 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -36,7 +36,7 @@ # # [*port*] # (optional) The aodh api port. -# Defaults to 8777 +# Defaults to 8042 # # [*package_ensure*] # (optional) ensure state for package. @@ -61,7 +61,7 @@ $keystone_auth_uri = false, $keystone_identity_uri = false, $host = '0.0.0.0', - $port = '8777', + $port = '8042', $service_name = $::aodh::params::api_service_name, ) inherits aodh::params { diff --git a/spec/classes/aodh_api_spec.rb b/spec/classes/aodh_api_spec.rb index 284ccef40..3a8f032f3 100644 --- a/spec/classes/aodh_api_spec.rb +++ b/spec/classes/aodh_api_spec.rb @@ -14,7 +14,7 @@ :keystone_tenant => 'services', :keystone_user => 'aodh', :package_ensure => 'latest', - :port => '8777', + :port => '8042', :host => '0.0.0.0', } end