4.8 Configuration has been created by Robert Burrell Donkin (May 28, 2009).

Content:

4.8 Configuration

Karaf provides a suite of command to administer the configuration service grouped under config. To learn about all currently supported configuration commands type:

ka...@root:/> help config
Available commands:
  cancel    Change the changes to the configuration being edited.
  edit      Create or edit a configuration.
  list      List existing configurations.
  propdel   Delete a property from the edited configuration.
  proplist  List properties from the edited configuration.
  propset   Set a property on the edited configuration.
  update    Save and propagate changes from the configuration being edited.

Editing

Select Configuration To Edit

For example to edit configuration foo.bar:

ka...@root:/> config/edit foo.bar

Modify Properties

Use:

  • config/proplist to list existing properties
  • config/propdel to delete existing properties
  • config/propset to set a new value for a property

Any number of properties can be modified within a single editing session.

Commit Or Rollback Changes

Use

  • config/update to commit all changes made in the current session
  • config/cancel to roll back any changes made in the current session

top

Reply via email to