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:12 UTC

[3/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/848f4af8
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/848f4af8
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/848f4af8

Branch: refs/heads/karaf-2.x
Commit: 848f4af85654e7088522fbab67e595df9e71f429
Parents: 0360451
Author: anierbeck <an...@achims-mbp-15.fritz.box>
Authored: Wed Aug 13 22:17:15 2014 +0200
Committer: anierbeck <an...@achims-mbp-15.fritz.box>
Committed: Wed Aug 13 22:17:15 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/848f4af8/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 fcd7fd2..90df2c2 100644
--- a/manual/src/main/webapp/users-guide/provisioning.conf
+++ b/manual/src/main/webapp/users-guide/provisioning.conf
@@ -218,9 +218,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}