Commit Graph

486 Commits

Author SHA1 Message Date
Nico Schottelius 1b80f2806b remove installed/removed state parameters (2.1 cleanup)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-21 11:32:04 +02:00
Nico Schottelius bc203df95f update man for 2.1
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-21 11:12:32 +02:00
Nico Schottelius e82c11cce4 add changes for 2.1 boolean version
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-21 11:10:38 +02:00
Nico Schottelius 3140c009d3 Merge branch 'master' into 2.1 2012-09-21 11:09:26 +02:00
Nico Schottelius 135299357b correctly setup state
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-21 11:08:55 +02:00
Nico Schottelius 30323456bf cleanup gencode-remote
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-21 11:03:53 +02:00
Nico Schottelius 1e765d7e77 remove parameter changing manifest
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-21 10:43:11 +02:00
Nico Schottelius e4d1ea5bc9 change --parents and --recurse to boolean
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-21 10:40:37 +02:00
Nico Schottelius b1b86b2ebf remove __addifnosuchline and __removeline in 2.1 branch
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-20 17:46:03 +02:00
Nico Schottelius a49665ce3d add WARNING prefix
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-20 17:43:28 +02:00
Nico Schottelius d351029cea deprecate __addifnosuchline and __removeline
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-20 17:42:01 +02:00
Nico Schottelius 1e3f0749fc setup line content early
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-20 17:39:14 +02:00
Nico Schottelius 9e40d7bc91 clarify relation between line and regex
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-20 17:35:14 +02:00
Nico Schottelius fd490b39f1 add parameter
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-20 15:25:05 +02:00
Nico Schottelius 5a154fa0a2 first gencode version
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-20 13:20:30 +02:00
Nico Schottelius 7b571c53dd add explorer
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-20 11:10:10 +02:00
Nico Schottelius 8ca3846a3a begin with the new manual page
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-20 10:42:16 +02:00
Nico Schottelius 52583e696f add manpage
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-19 21:32:47 +02:00
Nico Schottelius f6de6d8957 begin type __qemu_img
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-09-19 21:29:44 +02:00
Jake Guffey 16ac158c41 Add FreeBSD support
Added support for FreeBSD's mktemp
Fixed typo in generated script with one too many "s
2012-09-13 17:17:37 -04:00
Jake Guffey 1ad176aa63 Fixed use of onboot parameter
onboot parameter was being checked against "true" but was being set as "yes/no"
2012-09-07 10:02:37 -04:00
Jake Guffey 1116bcc504 Migrate from useradd/usermod to pw
useradd/usermod don't exist in freebsd.
2012-08-14 08:39:33 -04:00
Jake Guffey 04f4a5ae5b Merge branch 'master' into __group 2012-06-25 13:32:19 -04:00
Jake Guffey fbdbbddf3b Align messages for "password" parameter
Use same general message if the "password" parameter is given for a FreeBSD target host whether the group exists yet or not
Make language clearer surrounding the default case
2012-06-25 13:29:10 -04:00
Jake Guffey 946d2b9d43 Change order of checks
per telmich's suggestion in https://github.com/telmich/cdist/pull/82/files#r1043875
2012-06-25 13:19:19 -04:00
Jake Guffey 2aee33fe06 Merge branch 'master' into __group 2012-06-22 11:09:34 -04:00
Jake Guffey 6dafb3a01c Merge branch 'master' into __user 2012-06-22 11:09:34 -04:00
Nico Schottelius d707f9feeb Merge pull request #87 from asteven/issue__package_pacman-absent
sync and remove require different options
2012-06-22 06:39:02 -07:00
Steven Armstrong b09d9786d2 sync and remove require different options
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-06-22 15:36:14 +02:00
Jake Guffey ba576b3931 Don't symlink multiple times
Was checking for existence of $jaildir/home -- never exists; will always create new symlink
Changed to look for directory or symlink at $jaildir/base/home and respond accordingly
2012-06-21 11:59:53 -04:00
Jake Guffey 6264a9b718 Don't use shadow passwords on FreeBSD
shadow database doesn't exist by default in FreeBSD -- use "passwd" database
2012-06-20 17:22:19 -04:00
Jake Guffey f6bd5290b3 Add FreeBSD support
Modified explorer/gshadow to do nothing on FreeBSD (unsupported command)
Modified gencode-remote to use short options (--long not supported in FreeBSD)
2012-06-20 17:14:47 -04:00
Sébastien Gross 61030f1c18 Remove local variables statements.
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2012-06-19 10:55:50 +02:00
Sébastien Gross d591b5f2be Do not use global variable.
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2012-06-19 10:29:20 +02:00
Sébastien Gross 2a20b01a3f Shorten option for both useradd and usermod.
We need to shorten options for both usermod and useradd since on some
systems (such as *BSD, Darwin) those commands do not handle GNU style long
options.

Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2012-06-18 17:54:19 +02:00
Nico Schottelius a3981f58fd Initial support for SuSE, including zypper, including __start_on_boot
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-06-15 10:24:36 +02:00
Nico Schottelius 34c528ea5b do not change parameter information, it's evil
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-06-15 10:03:26 +02:00
Jake Guffey d0b96e22d4 Fix typo
symlink was backwards
2012-06-14 14:40:40 -04:00
Jake Guffey c8fa79d053 Parameter change
Modified jailbase parameter such that it's only required when $state=present
2012-06-14 14:33:21 -04:00
Jake Guffey 055b3f0f53 bugfix
was filling jail_list with $jail_enable
2012-06-14 10:41:04 -04:00
Steven Armstrong 7ae1a2bc52 allow __file to read source file from stdin
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-06-04 14:17:42 +02:00
Nico Schottelius 029dc4c387 Merge branch 'ssh_authorized_key_group' of https://github.com/contradict/cdist 2012-05-31 19:23:53 +02:00
contradict 8564785f66 Ensure __ssh_authorized_key sets proper group
When --dstuser is specified, use an explorer to retrieve
the group name and specify the group name on all created
directories and files.
2012-05-30 17:21:19 -07:00
Sébastien Gross fc6a54b3bd Fix email address.
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2012-05-31 00:28:32 +02:00
Sébastien Gross 4b1c604e47 Fix type authors for manpage generation.
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2012-05-31 00:23:28 +02:00
Nico Schottelius 3cb85fc3f3 Bugfix __addifnosuchline: Missing quotes
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-05-30 15:57:44 +02:00
Nico Schottelius 7c7a621875 fix manpage compile error
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-05-23 14:19:58 +02:00
Nico Schottelius dee266aca0 ignore "no crontab for ..." message
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-05-18 16:39:13 +02:00
Evax Software 5c70018411 switch the __rvm type to the new present/absent state scheme 2012-05-18 10:55:28 +02:00
Evax Software 196fb7e656 use new rvm install command (fixes #67) 2012-05-18 10:43:39 +02:00