diff --git a/deployment/puppet/horizon/README.md b/deployment/puppet/horizon/README.md new file mode 100644 index 0000000000..695151f868 --- /dev/null +++ b/deployment/puppet/horizon/README.md @@ -0,0 +1,4 @@ +OpenStack Dashboard +=================== + +Puppet module for [Horizon](http://horizon.openstack.org/), ([OpenStack Dashboard](http://wiki.openstack.org/OpenStackDashboard)) diff --git a/deployment/puppet/horizon/manifests/init.pp b/deployment/puppet/horizon/manifests/init.pp index f0ccc28405..8df1fd3111 100644 --- a/deployment/puppet/horizon/manifests/init.pp +++ b/deployment/puppet/horizon/manifests/init.pp @@ -6,13 +6,13 @@ class horizon( $cache_server_port = '11211' ) { - include horizon::params + include horizon::params if $cache_server_ip =~ /^127\.0\.0\.1/ { Class['memcached'] -> Class['horizon'] } - package { 'openstack-dashboard': + package { ['openstack-dashboard',"$::horizon::params::http_service"]: ensure => present, } @@ -24,6 +24,7 @@ class horizon( service { 'httpd': name => $::horizon::params::http_service, ensure => 'running', + require => Package["$::horizon::params::http_service"], subscribe => File['/etc/openstack-dashboard/local_settings.py'] } }