Commit Graph

3281 Commits (410e0ba8fa60cb236fbc1f2fbe93096607b7c5e5)
 

Author SHA1 Message Date
Nico Schottelius 410e0ba8fa Merge branch 'master' into 2.1
Conflicts:
	conf/type/__package/man.text
	conf/type/__package_apt/man.text
	conf/type/__package_luarocks/gencode-remote
	conf/type/__package_luarocks/man.text
	conf/type/__package_pacman/gencode-remote
	conf/type/__package_pacman/man.text
	conf/type/__package_pkg_openbsd/gencode-remote
	conf/type/__package_pkg_openbsd/man.text
	conf/type/__package_rubygem/gencode-remote
	conf/type/__package_rubygem/man.text
	conf/type/__package_yum/gencode-remote
	conf/type/__package_yum/man.text

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 4cc3baf057 import tag
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 1c294c72f9 document font used for cdist logo
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 6eced94035 Merge branch '__package_state_fix' of https://github.com/jdguffey/cdist 11 years ago
Jake Guffey 1fef54ecdf Fix __package* state usage
Removed __package*/parameter/required
Added state to __package*/parameter/optional
Modified man pages for __package*
Added optional check for state parameter
Defaulted state parameter to "present"
11 years ago
Nico Schottelius 61394f3909 correct comment
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 57adc731c4 ++changes(2.0.15) - Fixes #66
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 8c0228bbaa allow failing cat on optional parameter
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 748fc8a258 support installing, even if rvm is already present
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 62c69c63b5 support root and user rvm
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 07902f2a0b ++changes(2.0.15)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 21ca688e63 Merge pull request #99 from jdguffey/__pf_apply
__pf_apply
11 years ago
Nico Schottelius 12e1d16efd Merge pull request #98 from jdguffey/__pf_ruleset
_pf_ruleset
11 years ago
Nico Schottelius 57ed946414 Remove __self variable
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 3f9213be7e Merge branch 'master' into 2.1 11 years ago
Nico Schottelius 550ff8c727 cleanup reference
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 5761787b84 remove obsolete reference to tmp_dir
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Jake Guffey 9a45333e82 Implement Nico's suggestions
Removed unnecessary code from gencode-remote
11 years ago
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.
11 years ago
Nico Schottelius 3333df602b change several type to accept only state absent/present
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 1b80f2806b remove installed/removed state parameters (2.1 cleanup)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 9fbdfda302 ++changes(2.1.0)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius bc203df95f update man for 2.1
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius e82c11cce4 add changes for 2.1 boolean version
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 3140c009d3 Merge branch 'master' into 2.1 11 years ago
Nico Schottelius 135299357b correctly setup state
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 30323456bf cleanup gencode-remote
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 1e765d7e77 remove parameter changing manifest
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius e4d1ea5bc9 change --parents and --recurse to boolean
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius d6ce6e623a +old bug
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 24cae3cb21 +changelog for 2.1
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius b1b86b2ebf remove __addifnosuchline and __removeline in 2.1 branch
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 065979b8d8 ++changes(2.0.15)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius a49665ce3d add WARNING prefix
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius d351029cea deprecate __addifnosuchline and __removeline
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 1e3f0749fc setup line content early
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 9e40d7bc91 clarify relation between line and regex
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius fd490b39f1 add parameter
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 5a154fa0a2 first gencode version
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 7b571c53dd add explorer
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Nico Schottelius 8ca3846a3a begin with the new manual page
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
11 years ago
Jake Guffey 058625cc68 Merge branch 'master' into __pf_apply 11 years ago
Jake Guffey 5f435c1be7 Merge branch 'master' into __pf_ruleset 11 years ago
Jake Guffey c01a7ebc45 Left out ; then 11 years ago
Jake Guffey 07c5a9b49e Migrate conditional syntax
set -e doesn't like [ X ] && Y syntax, migrate to if [ X ]; then Y; fi
11 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
11 years ago
Jake Guffey 7a67f8bc16 Make code match up with comments
If pf was already disabled, the code would exit upon trying to disable it again
11 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.
11 years ago
Jake Guffey 34ca94ffa2 Fix typo
referenced ${rcvar.old} rather than ${rcvar}.old
11 years ago
Jake Guffey 269b9eff84 Escape inner variable
ret was being set and checked in generated code but the $ wasn't being escaped
11 years ago