Commit Graph

2708 Commits

Author SHA1 Message Date
Nico Schottelius 3c823c9192 setup release date
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-18 15:36:31 +01:00
Nico Schottelius be29ce0f2e 2.0.4 has autorequire enabled
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-18 15:26:10 +01:00
Steven Armstrong 30da237405 Merge branch 'master' into autorequire 2011-11-18 15:13:52 +01:00
Steven Armstrong bf13325303 if env is not given, os.environ is used -> need to also do that
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 14:56:59 +01:00
Steven Armstrong 98dec302a6 export __target_host for use in __remote_{copy,exec} scripts
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 14:44:32 +01:00
Steven Armstrong 654e19f28b mark _run_command as private
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 14:40:25 +01:00
Steven Armstrong 31403722ce todo++
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 14:36:51 +01:00
Steven Armstrong 18cef34187 Merge remote-tracking branch 'telmich/master' 2011-11-18 14:36:14 +01:00
Nico Schottelius 7c8f9e8b98 remove reference to __target_user - has never been used and is not implemented anymore
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-18 14:05:26 +01:00
Nico Schottelius df258cf330 +__target_user comment
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-18 11:10:32 +01:00
Nico Schottelius d76d013b3c check env [TODO]
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-18 10:39:21 +01:00
Steven Armstrong f90178428e Merge branch 'master' into autorequire 2011-11-18 09:45:42 +01:00
Steven Armstrong c59b2839cd Export target_host so remote_copy script has access to it
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 09:03:36 +01:00
Steven Armstrong ad24bbc696 Merge branch 'master' into autorequire 2011-11-17 22:13:21 +01:00
Steven Armstrong cbfcd01d4f ++bugfix
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-17 21:51:50 +01:00
Steven Armstrong 1b754ca33f Merge branch 'master' into autorequire 2011-11-17 16:37:34 +01:00
Nico Schottelius e380cdf7de build.sh is old
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-17 15:30:21 +01:00
Nico Schottelius 79c1f4cb4d document - support
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-17 13:25:47 +01:00
Nico Schottelius 4782c616f6 Merge remote-tracking branch 'steven/master' 2011-11-17 13:24:18 +01:00
Steven Armstrong 8ac375e8a6 Merge branch 'master' into autorequire
Conflicts:
	lib/cdist/test/emulator/__init__.py

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-17 13:08:30 +01:00
Steven Armstrong 68f66af21a implement: accept parameters with dashes
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-17 13:04:39 +01:00
Steven Armstrong 56d783f612 tests and fixtures for type parameters with dashes
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-17 13:03:56 +01:00
Nico Schottelius ff5fb5dbdb remove obsolete cdist video link (to be replaced with new video)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-16 08:10:50 +01:00
Nico Schottelius d706e8ef03 more changes for 2.0.4
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-16 08:07:19 +01:00
Steven Armstrong f36d09289d Merge branch 'master' into autorequire
Conflicts:
	lib/cdist/test/emulator/__init__.py

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-15 10:47:16 +01:00
Nico Schottelius 7d10560a61 Revert "pgrep -x -f is to restrictive -> impossible to guess/match"
It's not, regexp are your friends :-)

This reverts commit d7623fcf21.
2011-11-15 09:21:07 +01:00
Nico Schottelius 5efb921980 Merge remote-tracking branch 'steven/master' 2011-11-15 09:20:48 +01:00
Nico Schottelius 98ff723b24 add another example for __process
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-15 09:20:27 +01:00
Steven Armstrong d7623fcf21 pgrep -x -f is to restrictive -> impossible to guess/match
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 23:18:44 +01:00
Steven Armstrong b9301c8194 bugfix: process names dont start with slash
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 23:05:13 +01:00
Steven Armstrong d88a4ea55f new type: __nfs_client
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 17:54:15 +01:00
Steven Armstrong 71260c7782 new type: __nfs_server
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 17:54:09 +01:00
Steven Armstrong 6d45a49219 new type: __nfs_export manage /etc/exports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 17:54:00 +01:00
Steven Armstrong 6dd1465aa8 --AttributeError
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 15:29:07 +01:00
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>
2011-11-09 20:38:22 +01:00
Steven Armstrong b92ea62f72 export OBJECT_MARKER for use in tests
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-09 20:36:40 +01:00
Steven Armstrong e1cf8d094b --AttributeError
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-09 20:29:36 +01:00
Steven Armstrong ae23f1576f --TypeError
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-09 20:28:51 +01:00
Steven Armstrong f95ee8062f --SyntaxError
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-09 20:28:04 +01:00
Nico Schottelius c7d0d581b1 we pass base_path, not object_path (clearification)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-09 18:41:46 +01:00
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>
2011-11-09 18:30:12 +01:00
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>
2011-11-08 13:29:11 +01:00
Nico Schottelius e18bd97c86 SUCESSFUL is very helpful to grep for :-)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-08 08:28:04 +01:00
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>
2011-11-03 22:37:05 +01:00
Steven Armstrong f864d307be +licence, +logging
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-03 22:35:06 +01:00
Steven Armstrong 360a03a349 add examples for __remote_{copy,exec} scripts
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-03 17:21:14 +01:00
Steven Armstrong d0123acc2a implement singleton as requirement
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-03 15:44:51 +01:00
Steven Armstrong efedfbf47c test for singleton requirement
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-03 15:44:12 +01:00
Nico Schottelius ddebf5b153 __cron for 2.0.4
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-03 10:37:10 +01:00
Steven Armstrong c58ec7e4ef prevent circular dependencies
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-03 00:25:06 +01:00