Display message with information on Horizon
Also moved informative message for OSCLIENT
This commit is contained in:
@@ -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"
|
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
|
successfull install of rhemv
|
||||||
"""
|
"""
|
||||||
controller.MESSAGES.append(output_messages.INFO_LOG_FILE_PATH%(logFile))
|
controller.MESSAGES.append(output_messages.INFO_LOG_FILE_PATH%(logFile))
|
||||||
controller.MESSAGES.append(output_messages.INFO_KEYSTONERC)
|
|
||||||
|
|
||||||
def _lockRpmVersion():
|
def _lockRpmVersion():
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import uuid
|
|||||||
|
|
||||||
import packstack.installer.engine_validators as validate
|
import packstack.installer.engine_validators as validate
|
||||||
import packstack.installer.engine_processors as process
|
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
|
import packstack.installer.common_utils as utils
|
||||||
|
|
||||||
from packstack.modules.ospluginutils import getManifestTemplate, appendManifestFile
|
from packstack.modules.ospluginutils import getManifestTemplate, appendManifestFile
|
||||||
@@ -78,3 +78,4 @@ def createmanifest():
|
|||||||
manifestfile = "%s_horizon.pp"%controller.CONF['CONFIG_HORIZON_HOST']
|
manifestfile = "%s_horizon.pp"%controller.CONF['CONFIG_HORIZON_HOST']
|
||||||
manifestdata = getManifestTemplate("horizon.pp")
|
manifestdata = getManifestTemplate("horizon.pp")
|
||||||
appendManifestFile(manifestfile, manifestdata)
|
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_validators as validate
|
||||||
import packstack.installer.engine_processors as process
|
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
|
import packstack.installer.common_utils as utils
|
||||||
|
|
||||||
from packstack.modules.ospluginutils import getManifestTemplate, appendManifestFile
|
from packstack.modules.ospluginutils import getManifestTemplate, appendManifestFile
|
||||||
@@ -65,3 +65,4 @@ def createmanifest():
|
|||||||
manifestfile = "%s_osclient.pp"%controller.CONF['CONFIG_OSCLIENT_HOST']
|
manifestfile = "%s_osclient.pp"%controller.CONF['CONFIG_OSCLIENT_HOST']
|
||||||
manifestdata = getManifestTemplate("openstack_client.pp")
|
manifestdata = getManifestTemplate("openstack_client.pp")
|
||||||
appendManifestFile(manifestfile, manifestdata)
|
appendManifestFile(manifestfile, manifestdata)
|
||||||
|
controller.MESSAGES.append(output_messages.INFO_KEYSTONERC%controller.CONF['CONFIG_OSCLIENT_HOST'])
|
||||||
|
|||||||
Reference in New Issue
Block a user