Commit graph

495 commits

Author SHA1 Message Date
Jake Guffey
377afe8b1c Migrated to using present/absent for --state param. 2012-02-20 10:51:18 -05:00
Jake Guffey
b7e3378262 Modified __package to allow pkgsite param, bugfix in __package_pkg_freebsd where it wasn't setting the PACKAGESITE variable on remote side. 2012-02-17 12:18:06 -05:00
Jake Guffey
5443d1a64a Modified __package to utilize __package_pkg_freebsd 2012-02-17 11:35:59 -05:00
Jake Guffey
1d5b7cef9c Moved __package_pkg_freebsd to separate branch 2012-02-17 11:35:31 -05:00
Jake Guffey
ffec26d462 Removed __package_pkg_freebsd customization
from __package type for inclusion in a separate branch.
2012-02-17 11:30:21 -05:00
Jake Guffey
ff5d0fd7fc Removed newly-developed types for inclusion
in separate branches.
2012-02-17 11:29:12 -05:00
Jake Guffey
6a97cf8f26 Initial commit. Includes a few types in development and __package_pkg_freebsd. 2012-02-15 14:27:30 -05:00
Nico Schottelius
ddb5bd16c9 also support @daemon syntax from rc.conf
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 13:36:05 +01:00
Nico Schottelius
824ec459ea cleanups in gencode
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 08:50:26 +01:00
Nico Schottelius
d427af2ee3 add hint on incomplete type
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 08:50:03 +01:00
Nico Schottelius
5d47eb849f some stuff to be fixed
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 20:31:16 +01:00
Nico Schottelius
2b0c273715 state_should is being populated in manifest, if not given
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 18:04:00 +01:00
Nico Schottelius
2b380b7dc1 Merge branch 'master' into feature_init_process
Conflicts:
	doc/changelog
	doc/dev/todo/niconext
	doc/man/cdist-reference.text.sh
	lib/cdist/core/explorer.py

doc/man/cdist-reference.text.sh documents better reachability of
variables - also suitable for master?

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 13:53:16 +01:00
Nico Schottelius
c8ec4c200a repair manpage for __package_pip
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:28:30 +01:00
telmich
5d6e55d074 Merge pull request #34 from mcodd/user-gid-change-bug
fix for changing a user's group by name
2012-02-13 02:22:35 -08:00
Nico Schottelius
947c9a4ccb ++changes for 2.0.7
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-10 16:17:53 +01:00
telmich
1025ed5897 Merge pull request #31 from asteven/issue-28
Robuster implementation of __key_value
2012-02-10 07:16:20 -08:00
Nico Schottelius
45053c6d84 allow pip to be non existent during explorer stage
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-09 19:31:30 +01:00
Nico Schottelius
e42bf61413 new type: __package_pip
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-08 22:05:48 +01:00
Steven Armstrong
817ce9c256 /egrep/grep -E/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-02-08 08:31:59 +01:00
Matt Coddington
908e74689c improve comments and use better variable names 2012-02-07 12:38:21 -05:00
Matt Coddington
4d845b3fea fix for changing a user's group by name 2012-02-07 10:27:28 -05:00
Nico Schottelius
d38928f686 Merge branch 'issue-29' of https://github.com/asteven/cdist 2012-02-07 08:56:26 +01:00
Matt Coddington
bf1f6add55 bugfix for shadow field number 2012-02-06 15:23:38 -05:00
Steven Armstrong
9d25dfdfa9 properly handle existing links
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-02-06 21:08:59 +01:00
Steven Armstrong
ef81f03e89 have to report absent state no matter what the desired state is
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-02-03 22:49:10 +01:00
Steven Armstrong
cad2097d05 complete rewrite: use state explorer to determine current state, more robust implementation for adding, changing, removing key/values
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-02-03 22:43:34 +01:00
Steven Armstrong
4628dad045 cleaner way to set default values
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-02-03 20:55:24 +01:00
Steven Armstrong
85f7880c7e add a hopefully more robust implementation for changing existing values
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-02-03 20:50:17 +01:00
Matt Coddington
37c02dad45 bugfix - do chmod last 2012-02-02 11:09:20 -05:00
Nico Schottelius
6fa8f1d051 sort os by alphabet
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-30 11:52:41 +01:00
Matt Coddington
84ca02d7ca alphabetize os explorer 2012-01-27 04:35:50 -05:00
Matt Coddington
211ee5b043 adding support for amazon linux 2012-01-26 09:54:38 -05:00
Nico Schottelius
8447702c50 update changelog, move __rsyncer from types to other/ (see README.inclusion)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-26 11:56:12 +01:00
Nico Schottelius
88ea9bf245 remove --stats: if nothing changed, nothing should be printed on stdout
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-23 10:46:22 +01:00
Nico Schottelius
f73709d467 document bug in __rsyncer (needs to be fixed)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-23 10:45:52 +01:00
Nico Schottelius
56d2862e99 Merge branch '__rsyncer' of https://github.com/phrawzty/cdist 2012-01-23 10:40:48 +01:00
Matt Coddington
d53accd57f Subject: [cdist] [BUG] fix for conf/type/__group/gencode-remote
I noticed $current_value was not getting set correctly in
__group/gencode-remote and tracked it down to this trivial fix
(applies to current master).  I'm unfortunately not comfortable enough
with git yet to submit it that way... hopefully this is an appropriate
way to submit:

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-20 18:02:28 +01:00
Nico Schottelius
1b263b57cf prefer ' over "
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-20 16:30:44 +01:00
Nico Schottelius
6d14e32911 support removal and correct adding daemons on archlinux
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-20 15:34:18 +01:00
Nico Schottelius
a357d7d794 support adding start on boot on archlinux (no removal so far)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-20 14:57:25 +01:00
Nico Schottelius
6d5c69d5c4 remove runlevel parameter for now - seems to be too complex/unecessary for the moment
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-20 14:16:49 +01:00
Nico Schottelius
d9884490a5 Merge branch 'master' into feature_init_process 2012-01-20 14:15:58 +01:00
Nico Schottelius
578fd664e4 __process: support present/absent
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-20 13:14:24 +01:00
Nico Schottelius
bd32bd0953 setup state in os specific sections to get better overview
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-20 12:58:50 +01:00
Nico Schottelius
aae67652e9 explore state of init script on archlinux
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-20 12:57:40 +01:00
Nico Schottelius
f290b94d7b Merge branch 'master' into feature_init_process
Conflicts:
	doc/changelog

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-20 11:40:09 +01:00
Nico Schottelius
9965dc3da4 Merge remote-tracking branch 'evax/rvm-types' 2012-01-19 13:11:25 +01:00
Nico Schottelius
a112b4f123 documet debian/ubuntu problem
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-19 09:12:54 +01:00
Nico Schottelius
aa870e0124 remove debug, remove gentoo support until tested
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-18 16:37:09 +01:00