forked from ungleich-public/cdist
Merge remote-tracking branch 'telmich/master'
This commit is contained in:
commit
0d4a0eb46a
5 changed files with 38 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
2.0.3:
|
2.0.3: 2011-10-18
|
||||||
* Improved logging, added --verbose, by more quiet by default
|
* Improved logging, added --verbose, by more quiet by default
|
||||||
* Bugfix __user: Correct quoting (Steven Armstrong)
|
* Bugfix __user: Correct quoting (Steven Armstrong)
|
||||||
* Bugfix __addifnosuchline: Falsely exited
|
* Bugfix __addifnosuchline: Falsely exited
|
||||||
|
@ -6,10 +6,6 @@
|
||||||
* Feature requirements: Check for broken object_ids and abort
|
* Feature requirements: Check for broken object_ids and abort
|
||||||
* Massive refactoring and unittesting introduced (Steven Armstrong)
|
* Massive refactoring and unittesting introduced (Steven Armstrong)
|
||||||
|
|
||||||
* Feature: Initial undocumented support for replacing
|
|
||||||
the remote exec and remote copy commands
|
|
||||||
* Feature: Initial undocumented support for installations in core
|
|
||||||
|
|
||||||
2.0.2: 2011-09-27
|
2.0.2: 2011-09-27
|
||||||
* Add support for detection of OpenWall Linux (Matthias Teege)
|
* Add support for detection of OpenWall Linux (Matthias Teege)
|
||||||
* Add support for __debug variable in manifests
|
* Add support for __debug variable in manifests
|
||||||
|
|
6
doc/dev/logs/2011-10-18.requirement-object
Normal file
6
doc/dev/logs/2011-10-18.requirement-object
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
require="__broken_type/foo" breaks too late
|
||||||
|
|
||||||
|
- always catch OSError/IOError: (check all occurences)
|
||||||
|
- type __director does not exist, abort in emulator
|
||||||
|
- if called type is not existing
|
||||||
|
- if required type is not existing
|
28
doc/dev/logs/2011-10-18.traceback-gencode
Normal file
28
doc/dev/logs/2011-10-18.traceback-gencode
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
[...]
|
||||||
|
INFO: sgv-sysadmin-01: Running gencode and code for __director/home/services/nfs
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "./bin/cdist", line 211, in <module>
|
||||||
|
commandline()
|
||||||
|
File "./bin/cdist", line 110, in commandline
|
||||||
|
args.func(args)
|
||||||
|
File "./bin/cdist", line 113, in config
|
||||||
|
configinstall(args, mode=cdist.config.Config)
|
||||||
|
File "./bin/cdist", line 131, in configinstall
|
||||||
|
if not configinstall_onehost(host, args, mode, parallel=False):
|
||||||
|
File "./bin/cdist", line 177, in configinstall_onehost
|
||||||
|
c.deploy_and_cleanup()
|
||||||
|
File "/home/users/nico/oeffentlich/rechner/projekte/cdist-nutzung/lib/cdist/config_install.py", line 71, in deploy_and_cleanup
|
||||||
|
self.deploy_to()
|
||||||
|
File "/home/users/nico/oeffentlich/rechner/projekte/cdist-nutzung/lib/cdist/config_install.py", line 66, in deploy_to
|
||||||
|
self.stage_run()
|
||||||
|
File "/home/users/nico/oeffentlich/rechner/projekte/cdist-nutzung/lib/cdist/config_install.py", line 164, in stage_run
|
||||||
|
self.object_run(cdist_object)
|
||||||
|
File "/home/users/nico/oeffentlich/rechner/projekte/cdist-nutzung/lib/cdist/config_install.py", line 143, in object_run
|
||||||
|
self.object_run(required_object)
|
||||||
|
File "/home/users/nico/oeffentlich/rechner/projekte/cdist-nutzung/lib/cdist/config_install.py", line 135, in object_run
|
||||||
|
cdist_object.ran = True
|
||||||
|
File "/home/users/nico/oeffentlich/rechner/projekte/cdist-nutzung/lib/cdist/util/fsproperty.py", line 237, in __set__
|
||||||
|
open(path, "w").close()
|
||||||
|
IOError: [Errno 2] No such file or directory: '/home/users/nico/.tmp/tmp2gau4p/out/object/__director/home/services/nfs/.cdist/ran'
|
||||||
|
[10:43] brief:cdist-nutzung%
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# 2010-2011 Steven Armstrong (steven-cdist at armstrong.cc)
|
# 2010-2011 Steven Armstrong (steven-cdist at armstrong.cc)
|
||||||
|
# 2011 Nico Schottelius (nico-cdist at schottelius.org)
|
||||||
#
|
#
|
||||||
# This file is part of cdist.
|
# This file is part of cdist.
|
||||||
#
|
#
|
||||||
|
@ -62,7 +63,7 @@ class ExplorerClassTestCase(unittest.TestCase):
|
||||||
|
|
||||||
self.explorer = explorer.Explorer(self.target_host, self.local, self.remote)
|
self.explorer = explorer.Explorer(self.target_host, self.local, self.remote)
|
||||||
|
|
||||||
self.log = logging.getLogger("cdist")
|
self.log = logging.getLogger(self.target_host)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
shutil.rmtree(self.out_path)
|
shutil.rmtree(self.out_path)
|
||||||
|
|
|
@ -55,7 +55,7 @@ class ManifestTestCase(unittest.TestCase):
|
||||||
self.local.create_directories()
|
self.local.create_directories()
|
||||||
self.local.link_emulator(cdist.test.cdist_exec_path)
|
self.local.link_emulator(cdist.test.cdist_exec_path)
|
||||||
self.manifest = manifest.Manifest(self.target_host, self.local)
|
self.manifest = manifest.Manifest(self.target_host, self.local)
|
||||||
self.log = logging.getLogger("cdist")
|
self.log = logging.getLogger(self.target_host)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
shutil.rmtree(self.temp_dir)
|
shutil.rmtree(self.temp_dir)
|
||||||
|
|
Loading…
Reference in a new issue