Project

General

Profile

Actions

User story #2186

closed

Update packging migration script to take into account new properties

Added by François ARMAND about 12 years ago. Updated about 9 years ago.

Status:
Released
Priority:
3
Category:
Packaging
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

There is new properties used to configure Rudder in configuration.properties (automatic deploy on change, etc).

These properties must be taken into account in the migration script, both when upgrading from Rudder 2.3 to 2.4 and/or between 2.4 versions.

Actions #1

Updated by Jonathan CLARKE about 12 years ago

  • Subject changed from Update migration script to take into account new properties to Update packging migration script to take into account new properties
  • Status changed from New to 2
  • Estimated time set to 1.00 h

Changes in the configuration file are as follows:

$ git diff branches/rudder/2.3 master rudder-web/src/main/resources/configuration.properties
diff --git a/rudder-web/src/main/resources/configuration.properties b/rudder-web/src/main/resources/configuration.properties
index 08b1087..2d95694 100644
--- a/rudder-web/src/main/resources/configuration.properties
+++ b/rudder-web/src/main/resources/configuration.properties
@@ -178,3 +178,21 @@ rudder.batch.ptlib.updateInterval=300
 # branche). 
 # You have to use the full ref path. 
 rudder.ptlib.git.refs.path=refs/heads/master
+
+#
+# Boolean, defaults to true.
+# If true, an archive of configuration rules, groups, 
+# policy instances and user policy templates is recorded
+# to the rudder.dir.gitRoot directory specified above
+# and a git commit is performed when any of these items is modified.
+# 
+rudder.autoArchiveItems=true
+
+#
+# Boolean, defaults to true.
+# If true, when a policy instance, configuration rule,
+# group, node ... is modified, promises will be automatically
+# regenerated. If false, only a manual request for deployment
+# will trigger a deployment.
+# 
+rudder.autoDeployOnModification=true

We should treat them individually in the migration script, to ensure that each property is tested individually and fixed accordingly.

Actions #2

Updated by Jonathan CLARKE about 12 years ago

  • Status changed from 2 to Pending technical review
  • % Done changed from 0 to 100

Applied in changeset commit:a47919249b688eea4e581e5e9b79159fb52395f7.

Actions #3

Updated by Jonathan CLARKE about 12 years ago

  • Assignee set to Jonathan CLARKE
Actions #4

Updated by Nicolas PERRON about 12 years ago

Seems OK to me

Actions #5

Updated by Jonathan CLARKE about 12 years ago

  • Status changed from Pending technical review to 10
Actions #6

Updated by Jonathan CLARKE about 12 years ago

  • Status changed from 10 to Released
Actions #7

Updated by Nicolas PERRON about 11 years ago

  • Project changed from Rudder to 34
  • Category deleted (11)
Actions #8

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF