Commit graph

4332 commits

Author SHA1 Message Date
Nico Schottelius
1ca42f5dd5 Merge branch 'master' into exit_code_and_sigint_cleanup 2012-03-09 23:52:21 +01:00
Nico Schottelius
a35c81d2e1 ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-09 23:48:04 +01:00
Nico Schottelius
a46ac04e5f Merge remote-tracking branch 'mcodd/support_rsync_in_remote_copy' 2012-03-09 23:46:59 +01:00
Matt Coddington
9ef7482ec1 remove ssh key location to simplify and match other examples 2012-03-09 17:39:54 -05:00
Nico Schottelius
115f054955 move submit stuff into cdist-hacker
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-09 23:39:47 +01:00
Nico Schottelius
9c98f387b2 remove redundant redundant sentence
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-09 23:34:46 +01:00
Matt Coddington
c12501b63d added rsync copy example 2012-03-09 17:32:45 -05:00
Nico Schottelius
cec0418794 ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-09 23:27:52 +01:00
Nico Schottelius
79e8eff032 ONE != ONLY
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-09 23:23:22 +01:00
Nico Schottelius
ef4b217d43 Merge branch 'master' into exit_code_and_sigint_cleanup 2012-03-09 23:18:37 +01:00
Nico Schottelius
5f2f8e2bd2 no == true needed
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-09 23:14:15 +01:00
Nico Schottelius
534ccc86ab clearify same object and use example.org in doc
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-09 23:14:06 +01:00
Nico Schottelius
efd6a999b1 Merge remote-tracking branch 'mcodd/support_rsync_in_remote_copy' into exit_code_and_sigint_cleanup 2012-03-09 23:12:19 +01:00
Matt Coddington
3e6b866cae support rsync for remote copy 2012-03-09 15:43:49 -05:00
Steven Armstrong
1ea0ea0b1b add support for crontab EXTENSIONS, e.g. @reboot
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-03-09 20:05:50 +01:00
Nico Schottelius
eef408c1b3 record failing host and continue
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-07 14:26:28 +01:00
Nico Schottelius
5001e9cbe7 prevent tracebacks in tempfile code/initial manifest from stdin
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-07 13:01:11 +01:00
Nico Schottelius
58a88ca5bd remove useless try: block that was needed to find out how multiprocess /sigint behaviour works
NOT needed: KeyBoardInterrupet (aka SIGINT) is forwarded to processes spawned by multiprocess!

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-07 11:50:16 +01:00
Nico Schottelius
531ad2966f in fork() do sys.exit() so parent knows about failures
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-07 11:48:41 +01:00
Nico Schottelius
d3b9aa6769 begin support for sensible exit codes of cdist
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-07 11:19:26 +01:00
Jake Guffey
5dc8d305e5 Bugfix
Modified pipeline to determine ${name}'s version if it's installed.
2012-03-05 14:57:37 -05:00
Nico Schottelius
53ca7e7aca ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-01 09:28:23 +01:00
Matt Coddington
38b2e56786 tiny fix for __start_on_boot/explorer/state
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-01 08:44:37 +01:00
Jake Guffey
46b916c0e1 Various bugfixes
Added logic to ensure that /etc/resolv.conf exists within a jail
Replaced /var/db, /var/tmp mountpoints with /var mountpoint in jail
Added logic to ensure that every jail is bound to an interface
Modified how information is inserted into the jail's rc.conf
Added ListenAddress directive for SSHd
Updated manpage to reflect these changes
2012-02-28 16:39:08 -05:00
Jake Guffey
20a3538e72 Fixed echoing entries
Entries weren't being properly echoed into /usr/jail/rw/${name}/etc/rc.conf
2012-02-28 11:21:23 -05:00
Jake Guffey
0515fd8483 Various bugfixes.
Needed to use '|| true' on subshell variable assignments in case of empty return
Added default status (started=true or false)
Added default devfs rules
Replaced <<- HEREDOC usage with <<
Added escapes where necessary within quoted strings or HEREDOCs
2012-02-23 17:17:30 -05:00
Jake Guffey
e4a7085978 Merge branch 'master' into __jail 2012-02-22 16:06:54 -05:00
Jake Guffey
3ebda62f04 bugfix -- needed to pass '-r' to ${add_cmd} to retreive package from remote repository. 2012-02-22 12:41:45 -05:00
Jake Guffey
446f497c4c Created deleteJail function. Ready to begin debugging. 2012-02-22 12:13:20 -05:00
Nico Schottelius
1016161bfb ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-22 09:11:00 +01:00
Jake Guffey
18c0e947aa Created initial createJail function. Script still can't delete jails yet. 2012-02-21 18:34:21 -05:00
Giel van Schijndel
12d2c6c199 __start_on_boot type: add support for OpenWRT
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-21 22:25:45 +01:00
Jake Guffey
37d72a08ea Merge branch 'master' into __jail 2012-02-21 16:09:19 -05:00
Jake Guffey
b9c757b78a Filled out man page, created gencode-local to copy jailbase to __target_host, filled out parameter list, made explorers useful, created basic layout within gencode-remote. 2012-02-21 15:59:19 -05:00
Nico Schottelius
566bfda6d2 ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-21 15:11:46 +01:00
Nico Schottelius
bdf0870a57 Merge branch 'docfix' of https://github.com/muggenhor/cdist 2012-02-21 15:10:29 +01:00
Giel van Schijndel
6883498438 reference doc: fix environment variable list to be properly displayed
Prevent nesting of blockquotes below __object_id, preventing the
following environment variables from being displayed as list items.

Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-21 11:02:24 +01:00
Nico Schottelius
db86d7316a ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-21 09:59:13 +01:00
Nico Schottelius
342d7bc80e Merge remote-tracking branch 'jake/__package_pkg_freebsd'
Conflicts:
	conf/type/__package/manifest

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-21 09:58:02 +01:00
Nico Schottelius
63df800b56 ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-21 09:41:37 +01:00
Nico Schottelius
d11fb4dd6d Merge branch 'openwrt-support' of https://github.com/muggenhor/cdist 2012-02-21 09:39:21 +01:00
Benedikt Koeppel
cd8e286988 renamed --database to --name 2012-02-21 07:03:03 +01:00
Benedikt Koeppel
df512162cb --password is optional now, and added --no_my_cnf option
if no password is specified, then __mysql_server simply installs the
mysql-server package and doesn't perform any additional tasks.
if --password is specified, it writes its own .my.cnf configuration file
with the root password. This behaviour can be turned of by setting
--no_my_cnf "true"
2012-02-21 06:49:47 +01:00
Giel van Schijndel
afdfb660c7 Add support for OpenWRT packages
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-20 21:45:20 +01:00
Jake Guffey
2e4e291449 Added gencode-local to sync jailbase with remote side, added .gitignore to keep from syncing jailbase.tgz with github, new explorer basepresent to look for /usr/jail/{base,jailbase.tgz} 2012-02-20 14:20:55 -05:00
Giel van Schijndel
9538ef6462 Properly detect OpenWRT in global explorers
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-20 18:25:22 +01:00
Jake Guffey
879522db4c Merge branch 'master' into __package_pkg_freebsd 2012-02-20 11:41:08 -05:00
Jake Guffey
5989fedb3e Merge branch 'master' into __jail 2012-02-20 11:40:58 -05:00
Nico Schottelius
a2a0fd6b97 +error log (2 missing bits)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-20 17:07:06 +01:00
Jake Guffey
377afe8b1c Migrated to using present/absent for --state param. 2012-02-20 10:51:18 -05:00