Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: services: ovirt-engine disable jboss deployments per default ......................................................................
packaging: services: ovirt-engine disable jboss deployments per default Change-Id: I9633e83a94b496398171ab9e69ffe1bfee959fe7 Signed-off-by: Alon Bar-Lev <[email protected]> --- M packaging/services/ovirt-engine/ovirt-engine.conf.in M packaging/services/ovirt-engine/ovirt-engine.xml.in M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/config/jboss.py 3 files changed, 13 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/48/32948/1 diff --git a/packaging/services/ovirt-engine/ovirt-engine.conf.in b/packaging/services/ovirt-engine/ovirt-engine.conf.in index 8d7b966..364b5b6 100644 --- a/packaging/services/ovirt-engine/ovirt-engine.conf.in +++ b/packaging/services/ovirt-engine/ovirt-engine.conf.in @@ -77,6 +77,12 @@ ENGINE_LOG_TO_CONSOLE=false # +# Set this if you wish deployment mechanism to be enabled. +# Should not be used in production. +# +ENGINE_DEPLOYMENT_SCANNER=false + +# # Change following to true if you want to enable garbage collection debug # information (will be sent to the console.log file): # diff --git a/packaging/services/ovirt-engine/ovirt-engine.xml.in b/packaging/services/ovirt-engine/ovirt-engine.xml.in index 6ec2dbe..d252ee9 100644 --- a/packaging/services/ovirt-engine/ovirt-engine.xml.in +++ b/packaging/services/ovirt-engine/ovirt-engine.xml.in @@ -173,9 +173,11 @@ </subsystem> + #if $getboolean('ENGINE_DEPLOYMENT_SCANNER') <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1"> <deployment-scanner scan-interval="5000" path="$jboss_runtime/deployments" deployment-timeout="1200"/> </subsystem> + #end if <subsystem xmlns="urn:jboss:domain:ee:1.0"/> diff --git a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/config/jboss.py b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/config/jboss.py index 1ecffb6..fca489d 100644 --- a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/config/jboss.py +++ b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/config/jboss.py @@ -71,8 +71,11 @@ ), ] if self.environment[osetupcons.CoreEnv.DEVELOPER_MODE]: - content.append( - 'ENGINE_LOG_TO_CONSOLE=true' + content.extend( + ( + 'ENGINE_LOG_TO_CONSOLE=true', + 'ENGINE_DEPLOYMENT_SCANNER=true', + ) ) self.environment[otopicons.CoreEnv.MAIN_TRANSACTION].append( filetransaction.FileTransaction( -- To view, visit http://gerrit.ovirt.org/32948 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9633e83a94b496398171ab9e69ffe1bfee959fe7 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
