Horizon: Improvements

- Move the class to manifests/
- Update site.pp with new class name
- Update unit testing of Horizon

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi 2013-12-28 14:58:45 +01:00
parent 80ffa34844
commit 6d085be314
3 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
# #
# == Class: dashboard::os_dashboard # == Class: privatecloud::dashboard
# #
# Installs the OpenStack Dashboard (Horizon) # Installs the OpenStack Dashboard (Horizon)
# #
@ -42,7 +42,7 @@
# Defaults false # Defaults false
# #
class privatecloud::dashboard::os_dashboard( class privatecloud::dashboard(
$ks_keystone_internal_host = $os_params::ks_keystone_internal_host, $ks_keystone_internal_host = $os_params::ks_keystone_internal_host,
$secret_key = $os_params::secret_key, $secret_key = $os_params::secret_key,
$horizon_port = $os_params::horizon_port, $horizon_port = $os_params::horizon_port,

View File

@ -66,7 +66,7 @@ node 'os-ci-test13', 'os-ci-test12', 'os-ci-test11', /mgmt\d+.enovance.com/ inhe
class {'os_sql_node':} class {'os_sql_node':}
## Dashboard: ## Dashboard:
class {'privatecloud::dashboard::os_dashboard':} class {'privatecloud::dashboard':}
## Telemetry ## Telemetry
class {'os_telemetry_common':} class {'os_telemetry_common':}

View File

@ -18,7 +18,7 @@
require 'spec_helper' require 'spec_helper'
describe 'privatecloud::dashboard::os_dashboard' do describe 'privatecloud::dashboard' do
let :default_params do let :default_params do
{ :listen_ssl => false } { :listen_ssl => false }