@@ -81,4 +81,5 @@ ERR_NO_ANSWER_FILE="Error: Could not find file %s"
|
||||
ERR_ONLY_1_FLAG="Error: The %s flag is mutually exclusive to all other command line options"
|
||||
|
||||
#
|
||||
INFO_KEYSTONERC="To use the command line tools source the file /root/keystonerc_admin created on the OSCLIENT host (if configured)"
|
||||
INFO_KEYSTONERC="To use the command line tools source the file /root/keystonerc_admin created on %s"
|
||||
INFO_DASHBOARD="To use the console, browse to http://%s/dashboard"
|
||||
|
||||
@@ -604,7 +604,6 @@ def _addFinalInfoMsg():
|
||||
successfull install of rhemv
|
||||
"""
|
||||
controller.MESSAGES.append(output_messages.INFO_LOG_FILE_PATH%(logFile))
|
||||
controller.MESSAGES.append(output_messages.INFO_KEYSTONERC)
|
||||
|
||||
def _lockRpmVersion():
|
||||
"""
|
||||
|
||||
@@ -7,7 +7,7 @@ import uuid
|
||||
|
||||
import packstack.installer.engine_validators as validate
|
||||
import packstack.installer.engine_processors as process
|
||||
from packstack.installer import basedefs
|
||||
from packstack.installer import basedefs, output_messages
|
||||
import packstack.installer.common_utils as utils
|
||||
|
||||
from packstack.modules.ospluginutils import getManifestTemplate, appendManifestFile
|
||||
@@ -78,3 +78,4 @@ def createmanifest():
|
||||
manifestfile = "%s_horizon.pp"%controller.CONF['CONFIG_HORIZON_HOST']
|
||||
manifestdata = getManifestTemplate("horizon.pp")
|
||||
appendManifestFile(manifestfile, manifestdata)
|
||||
controller.MESSAGES.append(output_messages.INFO_DASHBOARD%controller.CONF['CONFIG_HORIZON_HOST'])
|
||||
|
||||
@@ -6,7 +6,7 @@ import logging
|
||||
|
||||
import packstack.installer.engine_validators as validate
|
||||
import packstack.installer.engine_processors as process
|
||||
from packstack.installer import basedefs
|
||||
from packstack.installer import basedefs, output_messages
|
||||
import packstack.installer.common_utils as utils
|
||||
|
||||
from packstack.modules.ospluginutils import getManifestTemplate, appendManifestFile
|
||||
@@ -65,3 +65,4 @@ def createmanifest():
|
||||
manifestfile = "%s_osclient.pp"%controller.CONF['CONFIG_OSCLIENT_HOST']
|
||||
manifestdata = getManifestTemplate("openstack_client.pp")
|
||||
appendManifestFile(manifestfile, manifestdata)
|
||||
controller.MESSAGES.append(output_messages.INFO_KEYSTONERC%controller.CONF['CONFIG_OSCLIENT_HOST'])
|
||||
|
||||
@@ -4,6 +4,12 @@ package {"horizon-packages":
|
||||
notify => Class["horizon"],
|
||||
}
|
||||
|
||||
file {"/etc/httpd/conf.d/rootredirect.conf":
|
||||
ensure => present,
|
||||
content => 'RedirectMatch ^/$ /dashboard/',
|
||||
notify => File["/etc/httpd/conf.d/openstack-dashboard.conf"],
|
||||
}
|
||||
|
||||
class {'horizon':
|
||||
secret_key => '%(CONFIG_HORIZON_SECRET_KEY)s',
|
||||
keystone_host => '%(CONFIG_KEYSTONE_HOST)s',
|
||||
|
||||
Reference in New Issue
Block a user