User story #2186
closed
Update packging migration script to take into account new properties
Added by François ARMAND almost 13 years ago.
Updated over 9 years ago.
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.
- 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.
- Status changed from 2 to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:a47919249b688eea4e581e5e9b79159fb52395f7.
- Assignee set to Jonathan CLARKE
- Status changed from Pending technical review to 10
- Status changed from 10 to Released
- Project changed from Rudder to 34
- Category deleted (
11)
- Project changed from 34 to Rudder
- Category set to Packaging
Also available in: Atom
PDF