karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4514) Add config:install command and MBean
Date Fri, 27 Jan 2017 09:16:24 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15842427#comment-15842427
] 

Christian Schneider commented on KARAF-4514:
--------------------------------------------

There is a way to install configs:
cat <url> | tac etc/my.cfg

I think that might also be good enough.

> Add config:install command and MBean
> ------------------------------------
>
>                 Key: KARAF-4514
>                 URL: https://issues.apache.org/jira/browse/KARAF-4514
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-config, karaf-management, karaf-shell
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.1.0, 4.0.9
>
>
> It's possible to directly deploy a cfg file using the {{<configfile/>}} element
of a feature.
> However, it's not possible to do the same directly in Karaf (providing the cfg URL).
The only way is to actually create the config (config:property-set, etc).
> We will provide a {{config:install}} command with the cfg URL as argument to deploy directly
in the {{karaf.etc}} folder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message