You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by an...@apache.org on 2014/08/13 22:20:11 UTC
[2/6] git commit: [KARAF-3167] - Document the configfile override
behaviour
[KARAF-3167] - Document the configfile override behaviour
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/272acbc0
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/272acbc0
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/272acbc0
Branch: refs/heads/karaf-2.3.x
Commit: 272acbc099a8fa369d785215e783ee4f24c3b2af
Parents: aebeaf9
Author: anierbeck <an...@achims-mbp-15.fritz.box>
Authored: Wed Aug 13 22:13:42 2014 +0200
Committer: anierbeck <an...@achims-mbp-15.fritz.box>
Committed: Wed Aug 13 22:13:42 2014 +0200
----------------------------------------------------------------------
manual/src/main/webapp/users-guide/provisioning.conf | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/272acbc0/manual/src/main/webapp/users-guide/provisioning.conf
----------------------------------------------------------------------
diff --git a/manual/src/main/webapp/users-guide/provisioning.conf b/manual/src/main/webapp/users-guide/provisioning.conf
index b6229d4..d03eb55 100644
--- a/manual/src/main/webapp/users-guide/provisioning.conf
+++ b/manual/src/main/webapp/users-guide/provisioning.conf
@@ -223,9 +223,11 @@ In certain cases it is needed not only to provide configurations for the configu
configuration files e.g. a configuration file for jetty (jetty.xml). It even might be helpful to deploy a configuration
file instead of a configuration for the config admin service since. To achieve this the attribute {{finalname}} shows the
final destination of the {{configfile}}, while the value references the Maven artifact to deploy.
+If the file is already present at the desired location it is kept and the deployment of the configuration file is skipped, as a already existing file might
+contain customization. This behaviour can be overriden by {{override}} set to true.
{code}
-<configfile finalname="/etc/jetty.xml">mvn:org.apache.karaf/apache-karaf/${project.version}/xml/jettyconfig</configfile>
+<configfile finalname="/etc/jetty.xml" override="false">mvn:org.apache.karaf/apache-karaf/${project.version}/xml/jettyconfig</configfile>
{code}