mere tests of autorequire and resolver into execution_order
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
782d84870d
commit
ae8040536f
30 changed files with 91 additions and 91 deletions
0
cdist/test/execution_order/fixtures/conf/explorer/.keep
Normal file
0
cdist/test/execution_order/fixtures/conf/explorer/.keep
Normal file
2
cdist/test/execution_order/fixtures/conf/manifest/circular_dependency
Executable file
2
cdist/test/execution_order/fixtures/conf/manifest/circular_dependency
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
# this has triggered CircularReferenceError
|
||||
__nfsroot_client test
|
||||
3
cdist/test/execution_order/fixtures/conf/manifest/implicit_dependencies
Executable file
3
cdist/test/execution_order/fixtures/conf/manifest/implicit_dependencies
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
# this creates implicit dependencies through autorequire.
|
||||
# this failed because autorequired dependencies where not aware of their anchestors dependencies
|
||||
__top test
|
||||
2
cdist/test/execution_order/fixtures/conf/manifest/recursive_type
Executable file
2
cdist/test/execution_order/fixtures/conf/manifest/recursive_type
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
__git foo
|
||||
require="__git/foo" __git bar
|
||||
|
|
@ -0,0 +1 @@
|
|||
__package git
|
||||
3
cdist/test/execution_order/fixtures/conf/type/__nfsroot_client/manifest
Executable file
3
cdist/test/execution_order/fixtures/conf/type/__nfsroot_client/manifest
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
__user root
|
||||
__root_ssh_authorized_key john
|
||||
__root_ssh_authorized_key frank
|
||||
1
cdist/test/execution_order/fixtures/conf/type/__package/manifest
Executable file
1
cdist/test/execution_order/fixtures/conf/type/__package/manifest
Executable file
|
|
@ -0,0 +1 @@
|
|||
__package_special "$__object_id"
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
user="$__object_id"
|
||||
__directory /root/.ssh
|
||||
require="__directory/root/.ssh" \
|
||||
__addifnosuchline "ssh-root-$user"
|
||||
2
cdist/test/execution_order/fixtures/conf/type/__top/manifest
Executable file
2
cdist/test/execution_order/fixtures/conf/type/__top/manifest
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
__package b
|
||||
require="__package/b" __package a
|
||||
0
cdist/test/execution_order/fixtures/object/__first/.keep
Normal file
0
cdist/test/execution_order/fixtures/object/__first/.keep
Normal file
0
cdist/test/execution_order/fixtures/object/__third/.keep
Normal file
0
cdist/test/execution_order/fixtures/object/__third/.keep
Normal file
|
|
@ -0,0 +1 @@
|
|||
Prometheus
|
||||
|
|
@ -0,0 +1 @@
|
|||
Saturn
|
||||
0
cdist/test/execution_order/fixtures/type/__first/.keep
Normal file
0
cdist/test/execution_order/fixtures/type/__first/.keep
Normal file
0
cdist/test/execution_order/fixtures/type/__second/.keep
Normal file
0
cdist/test/execution_order/fixtures/type/__second/.keep
Normal file
0
cdist/test/execution_order/fixtures/type/__third/.keep
Normal file
0
cdist/test/execution_order/fixtures/type/__third/.keep
Normal file
Loading…
Add table
Add a link
Reference in a new issue