forked from ungleich-public/cdist
Merge branch 'master' into type__rbenv
This commit is contained in:
commit
bcca8a637b
15 changed files with 120 additions and 29 deletions
|
|
@ -5,8 +5,15 @@ Changelog
|
|||
* Exception: No braces means author == Nico Schottelius
|
||||
|
||||
|
||||
3.0.10:
|
||||
next:
|
||||
* Type __file: Enhance OpenBSD Support (og)
|
||||
* Type __git: Pass onwer/group/mode values to __directory
|
||||
* Type __iptable_rule: Fix example documentation (Antoine Catton)
|
||||
* Type __key_value: Add messaging support
|
||||
* Type __package_pkg_openbsd: Allow to change PKG_PATH (og)
|
||||
* Type __ssh_authorized_keys: Allow managing existing keys (Steven Armstrong)
|
||||
* Type __user: Enhance OpenBSD Support (og)
|
||||
|
||||
|
||||
3.0.9: 2014-02-14
|
||||
* Core: Ignore order dependencies if override is set (Daniel Heule)
|
||||
|
|
@ -21,7 +28,6 @@ Changelog
|
|||
* Type __rvm_gemset: Use default parameters for state (Daniel Heule)
|
||||
* Type __rvm_ruby: Use default parameters for state (Daniel Heule)
|
||||
|
||||
|
||||
3.0.8: 2014-02-11
|
||||
* Core: Enhance object id verification (Daniel Heule)
|
||||
* Core: Add unit tests for dependencies based on execution order (Daniel Heule)
|
||||
|
|
|
|||
|
|
@ -4,4 +4,14 @@
|
|||
implemented as a proof of concept at:
|
||||
https://github.com/asteven/cdist/tree/type-namespaces
|
||||
|
||||
|
||||
|
||||
Execute all global explorers only when needed #286
|
||||
|
||||
My intention is to create a brunch of global explorer which are of use in some cases and makes cdist more userfriendly. But now, all global explorers are allways executed, even the return value of the explorers is never used.
|
||||
|
||||
I think a possible approach can be to replace the result files with pipes, and on first read of the pipe, the explorer is executed by the core, all following read calls from the pipe are answered from the core with the result of the first real execute of the explorer.
|
||||
|
||||
So cdist can have an unlimited number of global explorers and only used explorers are executed on the target host, all other explorers laying around are simply ignored.
|
||||
|
||||
Also a possible approach would be to create a new explorer type (dynamic explorers) which are sitting in a different directory to (for example dynexploer) and only this ones are executed with the conditional approach explained above. So the overhead to create pipes and monitor it is only in place on explorers which are not interesting for everyone ...
|
||||
|
|
|
|||
18
docs/dev/logs/2014-02-18.unauthenticated-packages
Normal file
18
docs/dev/logs/2014-02-18.unauthenticated-packages
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
- we cannot install packages, which are not authenticated:
|
||||
|
||||
INFO: voicerepublic-staging.sky.ungleich.ch: Executing code for __package_apt/deb-multimedia-keyring
|
||||
Reading package lists...
|
||||
Building dependency tree...
|
||||
Reading state information...
|
||||
The following NEW packages will be installed:
|
||||
deb-multimedia-keyring
|
||||
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
|
||||
Need to get 14.4 kB of archives.
|
||||
After this operation, 46.1 kB of additional disk space will be used.
|
||||
WARNING: The following packages cannot be authenticated!
|
||||
deb-multimedia-keyring
|
||||
E: There are problems and -y was used without --force-yes
|
||||
ERROR: voicerepublic-staging.sky.ungleich.ch: Command failed: ssh -o User=root -q voicerepublic-staging.sky.ungleich.ch /bin/sh -e /var/lib/cdist/object/__package_apt/deb-multimedia-keyring/.cdist/code-remote
|
||||
INFO: cdist: Total processing time for 1 host(s): 72.07943892478943
|
||||
ERROR: cdist: Failed to configure the following hosts: voicerepublic-staging.sky.ungleich.ch
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue