Steven Armstrong
d88a4ea55f
new type: __nfs_client
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
71260c7782
new type: __nfs_server
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
6d45a49219
new type: __nfs_export manage /etc/exports
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
6dd1465aa8
--AttributeError
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
1729516414
allow .cdist (OBJECT_MARKER) inside file names but not as _the_ file/folder name
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
b92ea62f72
export OBJECT_MARKER for use in tests
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
e1cf8d094b
--AttributeError
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
ae23f1576f
--TypeError
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
f95ee8062f
--SyntaxError
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
c7d0d581b1
we pass base_path, not object_path (clearification)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
b3337a18b9
in theory catch error when requiring an undefined object (in practise not)
...
Error message trying to fix:
ERROR: [Errno 2] No such file or directory: '/home/users/nico/.tmp/tmptvy1ic/out/object/__localch_yum_repos/singleton/.cdist/state'
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
45c9f629ae
another more complete __remote_{copy,exec} example, including usage instructions for dispatching in .../manifest/init
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
e18bd97c86
SUCESSFUL is very helpful to grep for :-)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
dad14af100
add example for __remote_{copy,exec} scripts using schroot over ssh on remote host
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
f864d307be
+licence, +logging
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
360a03a349
add examples for __remote_{copy,exec} scripts
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
d0123acc2a
implement singleton as requirement
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
efedfbf47c
test for singleton requirement
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
ddebf5b153
__cron for 2.0.4
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
c58ec7e4ef
prevent circular dependencies
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
7d0238682b
implement autorequire in emulator
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
0d05e61b85
tests and fixtures for emulator autorequire
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
6e7ebf6de1
todo++
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
bb4178480e
Merge remote-tracking branch 'steven/__cron'
13 years ago
Steven Armstrong
fa95291cbc
use diff instad of cmp
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
77b1c676ca
+/- todo
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
e2349426ab
Merge remote-tracking branch 'steven/__cron'
13 years ago
Steven Armstrong
f42dbb9103
--todo
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
f517f2667d
Merge remote-tracking branch 'steven/initial-manifest-from-stdin'
13 years ago
Steven Armstrong
e195eb46c4
new type __cron: installs and manages cron jobs
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
b8435b2fd2
Merge branch 'initial-manifest-from-stdin' into __cron
13 years ago
Steven Armstrong
e36e538f81
sort lists before testing for equality
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
792ddf0a5b
add utility method to join object name from type and object_id
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
afba5e9280
add utilitly method to split an object name into its type name and object_id
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
70ee0f1681
implement __lt__ to support sorting a list of objects
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
bf1b995908
implement __lt__ and __eq__ to support sorting a list of types
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
7b9ff27356
Merge remote-tracking branch 'telmich/master'
13 years ago
Nico Schottelius
d6d4d374bd
remove unecessary whitespace :-)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
5ac857a87c
realy, dont fail if lsb_release does not exist
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
d4aa04f35d
dont fail if lsb_release does not exist
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
b38262f858
implement reading initial manifest from stdin
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
de84542579
no lsb_release -> no output
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
7641c04438
+fancy-ideas
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
9fedf314cf
add explorers for lsb_*
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
80cd35fc3d
Merge remote-tracking branch 'steven/run-explorers-in-cdist.core.explorer'
13 years ago
Steven Armstrong
4775c93a6e
use __remote_copy in __file type
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
18f08d893c
export defaults for __remote_{exec,copy}
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
c29c419f61
also export __target_host to check_call
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
6ec4cefe09
Merge remote-tracking branch 'telmich/master'
13 years ago
Steven Armstrong
d4e715f052
close file handles opened with tempfile.mkstemp
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago