You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2017/01/27 09:16:24 UTC

[jira] [Commented] (KARAF-4514) Add config:install command and MBean

    [ 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)