Jake Guffey
6afec72232
Implement Nico's suggestions
...
Modified behavior of cksum explorer to print nothing if the file doesn't exist
Modified gencode-local to reflect cksum's new behavior
Modified gencode-remote to check states explicitly and error on invalid state.
13 years ago
Jake Guffey
5f435c1be7
Merge branch 'master' into __pf_ruleset
13 years ago
Jake Guffey
d77c67b56f
set -e doesn't like [ blah ] && blah syntax
...
changed to if [ blah ]; then blah; fi format
migrated echo usage to cat with HEREDOC to improve readability
13 years ago
Jake Guffey
a1793f66ff
Add logic to check for existence of files before interacting with them
...
if ${rcvar} or ${rcvar}.new don't exist, we can't rm/mv them.
13 years ago
Jake Guffey
34ca94ffa2
Fix typo
...
referenced ${rcvar.old} rather than ${rcvar}.old
13 years ago
Jake Guffey
205f32c78b
Fixed generated code and explorer
...
Generated code needed subshell escaped
Explorer wasn't parsing output of cksum properly
13 years ago
Nico Schottelius
17858ebd00
++changes(2.0.15)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
52583e696f
add manpage
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
f6de6d8957
begin type __qemu_img
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Jake Guffey
a2e96ac435
Initial commit
...
Broke old __pf type into __pf_*
Initial commit of __pf_ruleset type with basic logic
13 years ago
Jake Guffey
16ac158c41
Add FreeBSD support
...
Added support for FreeBSD's mktemp
Fixed typo in generated script with one too many "s
13 years ago
Jake Guffey
1ad176aa63
Fixed use of onboot parameter
...
onboot parameter was being checked against "true" but was being set as "yes/no"
13 years ago
Nico Schottelius
c88d648520
++changes(2.0.15)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
57bd7b2fd3
Merge remote-tracking branch 'telmich/master' into issue__object_name-in-type-explorer
13 years ago
Steven Armstrong
0775b84c40
bugfix: make __object_name available in type explorers
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
b6bff3a551
version bump
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Jake Guffey
1116bcc504
Migrate from useradd/usermod to pw
...
useradd/usermod don't exist in freebsd.
13 years ago
Nico Schottelius
2be4b36da0
Merge pull request #86 from asteven/global-explorer-fixup
...
ignore errors in global explorers
13 years ago
Nico Schottelius
590a9e5026
++changes(2.0.14)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
8fb5bc33b9
Merge branch 'master' of github.com:telmich/cdist
13 years ago
Nico Schottelius
792ba65194
Merge pull request #82 from jdguffey/__group
...
Add FreeBSD support
13 years ago
Nico Schottelius
676687dee1
add hint for building from source
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
d13a201cd0
/which/command -v/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Jake Guffey
04f4a5ae5b
Merge branch 'master' into __group
13 years ago
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
13 years ago
Jake Guffey
946d2b9d43
Change order of checks
...
per telmich's suggestion in https://github.com/telmich/cdist/pull/82/files#r1043875
13 years ago
Nico Schottelius
686554358a
++changes(2.0.14)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
74f5a4a6c6
Merge pull request #83 from jdguffey/__user
...
Don't use shadow passwords on FreeBSD
13 years ago
Jake Guffey
2aee33fe06
Merge branch 'master' into __group
13 years ago
Jake Guffey
6dafb3a01c
Merge branch 'master' into __user
13 years ago
Nico Schottelius
d707f9feeb
Merge pull request #87 from asteven/issue__package_pacman-absent
...
sync and remove require different options
13 years ago
Steven Armstrong
b09d9786d2
sync and remove require different options
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
2856684e51
ignore errors in global explorers
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
0cae1b44f9
Merge pull request #85 from jdguffey/__jail
...
Don't symlink multiple times
13 years ago
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
13 years ago
Jake Guffey
6264a9b718
Don't use shadow passwords on FreeBSD
...
shadow database doesn't exist by default in FreeBSD -- use "passwd" database
13 years ago
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)
13 years ago
Nico Schottelius
37eabffd9c
++changes(2.0.14)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Sébastien Gross
61030f1c18
Remove local variables statements.
...
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
13 years ago
Sébastien Gross
d591b5f2be
Do not use global variable.
...
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
13 years ago
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>
13 years ago
Nico Schottelius
f23e869277
++changes(2.0.14)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
bd451a2e59
remove obsolete submission
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
a3981f58fd
Initial support for SuSE, including zypper, including __start_on_boot
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
99b544c6e4
++changes(2.0.14)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
34c528ea5b
do not change parameter information, it's evil
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
1fd249c031
++changes(2.0.14)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
230e9fe2f8
Merge branch 'master' of https://github.com/jdguffey/cdist
13 years ago
Jake Guffey
d0b96e22d4
Fix typo
...
symlink was backwards
13 years ago
Jake Guffey
c8fa79d053
Parameter change
...
Modified jailbase parameter such that it's only required when $state=present
13 years ago