Michael Friedrich
d21b3aba52
cli: Fix node update-config errors
...
* fix hosts not created if config and inventory.index are missing.
* fix segfault if host already exists in inventory
* fix that newly listed node hosts are not added to the config repo
* fix repository removal of remove host/services on remote nodes
* fix missing/wrong locks for dictionaries
* fix missing directory create/chown
fixes #7518
fixes #7878
fixes #7917
fixes #7891
Conflicts:
lib/cli/objectlistcommand.cpp
2014-12-04 17:56:28 +01:00
Michael Friedrich
78140fa1c8
Cli: Repository should validate if object exists before add/remove
...
fixes #7461
2014-10-31 21:08:11 +01:00
Michael Friedrich
7e73533ad4
Cli: 'repository host remove' cleans service directory, add pending changes helper
...
refs #7249
fixes #7460
2014-10-27 19:13:33 +01:00
Michael Friedrich
ad99d022ed
Cli: Add 'repository commit --clear' clearing pending changes
...
refs #7455
2014-10-27 17:55:58 +01:00
Michael Friedrich
c0103268e1
Cli: Better formatting for changelog output of repository commit (--simulate)
...
refs #7255
2014-10-27 14:53:00 +01:00
Michael Friedrich
d9c8252f17
Cli: Fix repository <type> list not showing objects
...
Still requires parsing of config objects into printable
dictionaries.
refs #7255
2014-10-27 13:01:21 +01:00
Michael Friedrich
3d86ae6750
Cli: Delete change file on repository commit
...
refs #7255
2014-10-27 11:02:14 +01:00
Michael Friedrich
f5a209421d
Cli: Change service handling in repository command
...
refs #7255
2014-10-24 15:49:59 +02:00
Michael Friedrich
35c75d95b5
Cli: Parse repository arguments as 'name=...'
...
Require 'host_name' for service objects
Rename --template to --import
refs #7255
2014-10-24 12:42:57 +02:00
Michael Friedrich
79be125f03
CLI: Add basic repository <type> <command> & commit functionality
...
Still work in progress
refs #7255
2014-10-23 14:57:19 +02:00