Steven Armstrong
817ce9c256
/egrep/grep -E/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
ef81f03e89
have to report absent state no matter what the desired state is
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
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>
13 years ago
Steven Armstrong
4628dad045
cleaner way to set default values
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
85f7880c7e
add a hopefully more robust implementation for changing existing values
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
6fa8f1d051
sort os by alphabet
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Matt Coddington
211ee5b043
adding support for amazon linux
13 years ago
Nico Schottelius
8447702c50
update changelog, move __rsyncer from types to other/ (see README.inclusion)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
88ea9bf245
remove --stats: if nothing changed, nothing should be printed on stdout
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
f73709d467
document bug in __rsyncer (needs to be fixed)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
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>
13 years ago
Nico Schottelius
578fd664e4
__process: support present/absent
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Evax Software
5fa2646011
fix default parameter handling in __rvm_gemset
13 years ago
Evax Software
65be80f2c6
escape user parameter in __rvm* types
13 years ago
phrawzty (dan)
85876592e3
New type: __rsyncer
13 years ago
Evax Software
72dea3d930
__rvm* types documentation cleanup
13 years ago
Evax Software
9317d57ff1
make virtual package detection more robust in __package_apt
13 years ago
Tim Kersten
9c2ca52382
When removing a ppa, don't forget deb-src line
...
(Also remove the [ppa-name].list file if empty.)
13 years ago
Evax Software
e4100e324a
better handling of virtual packages in __package_apt
13 years ago
Evax Software
8cc0d6f0e7
properly handle rvm and ruby dependencies
13 years ago
Evax Software
eb83190efd
use grep's -q option
13 years ago
Evax Software
34fa123ed1
prevent spurious output in __rvm_gem and __rvm_gemset explorers
13 years ago
Evax Software
11be251163
add rvm types
13 years ago
Steven Armstrong
38e5c3e407
fix issues with requirements caused by legacy code conflicting with the new autorequire feature
13 years ago
Nico Schottelius
60ebefe820
fix bug by documentation - has been solved before (__process)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
62b5af8fdb
bugfix for github issue 13
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Nico Schottelius
3818548d9a
find conf/type -type f -exec sed -i 's/ *$//' {} \;
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
0d04f0ba34
correct documentation
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
a55dd390b1
simplify default value setting
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
7cc9b217da
display wrong state to the user (__link)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
1092103500
fix --ensure vs. --state bug [DOC]
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
228eb600bf
simplify default value code a lot
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
8320327956
rephrase if..elif..else to case..esac
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
f1273aa7a1
--state not --ensure [DOC BUG]
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
c1dc33a5a1
display unknown state, be nice to the user
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
7d0671e529
force removal - to not trigger rm -i behaviour in type
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
283b5eff6e
include __nfs_* into types_submitted_for_inclusion
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
2e61f54c11
import latest changes from private repo
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
phrawzty (dan)
dbf0767c4e
Add type __cdistmarker.
13 years ago
Steven Armstrong
865acf3771
strip duplicate /
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
b67d785a24
fix copy/paste error, use proper prefix and suffix
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
4e4a1598b2
run exportfs after changing /etc/exports, bugix: remove trailing quote
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
6fe66834fd
use pattern instead of string
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
77350b0a1d
use pattern instead of string
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
phrawzty (dan)
7cbc494301
Add --regex to manual
13 years ago
phrawzty (dan)
6d55d7ae82
--regex to make __addifnosuchline more flexible
13 years ago
Christian G. Warden
bdafb4ffef
A new type for managing luarocks packages
...
The __package_luarocks type manages the installation of Lua modules
distribued using LuaRocks. It is based on __package_rubygem.
13 years ago
Steven Armstrong
6b0935c207
/__self/__object_name/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
654e19f28b
mark _run_command as private
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago
Steven Armstrong
c59b2839cd
Export target_host so remote_copy script has access to it
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
13 years ago