Matt Coddington
|
38b2e56786
|
tiny fix for __start_on_boot/explorer/state
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Giel van Schijndel
|
12d2c6c199
|
__start_on_boot type: add support for OpenWRT
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
|
13 years ago |
Giel van Schijndel
|
afdfb660c7
|
Add support for OpenWRT packages
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
|
13 years ago |
Giel van Schijndel
|
9538ef6462
|
Properly detect OpenWRT in global explorers
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
|
13 years ago |
Jake Guffey
|
377afe8b1c
|
Migrated to using present/absent for --state param.
|
13 years ago |
Nico Schottelius
|
cfb8e7d372
|
move __run_command to types_submitted_for_inclusion directory
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
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.
|
13 years ago |
Jake Guffey
|
5443d1a64a
|
Modified __package to utilize __package_pkg_freebsd
|
13 years ago |
Jake Guffey
|
1d5b7cef9c
|
Moved __package_pkg_freebsd to separate branch
|
13 years ago |
Jake Guffey
|
ffec26d462
|
Removed __package_pkg_freebsd customization
from __package type for inclusion in a separate branch.
|
13 years ago |
Jake Guffey
|
ff5d0fd7fc
|
Removed newly-developed types for inclusion
in separate branches.
|
13 years ago |
Nico Schottelius
|
0f649577ad
|
update __process to new style, warn if not present/absent
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
e0f80f0103
|
include object_name in warning
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
241f66a537
|
+quotes
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
6afcb0e9ee
|
indent + simplify
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
48f3252de5
|
correct state error message to use new variable
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
2f01fd6ce0
|
support absent/present in __package_yum
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
e4aafe0af9
|
support absent/present in __package_rubygem
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
9fab782a0c
|
update __package_luarocks to new style state checking
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
76a3c20669
|
setup state_is
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
272c12e3f7
|
correct parameters in __package_luarocks
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
aa53a3f221
|
better warning
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Jake Guffey
|
6a97cf8f26
|
Initial commit. Includes a few types in development and __package_pkg_freebsd.
|
13 years ago |
Nico Schottelius
|
ddb5bd16c9
|
also support @daemon syntax from rc.conf
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
824ec459ea
|
cleanups in gencode
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
d427af2ee3
|
add hint on incomplete type
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
5d47eb849f
|
some stuff to be fixed
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
2b0c273715
|
state_should is being populated in manifest, if not given
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
c8ec4c200a
|
repair manpage for __package_pip
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Benedikt Koeppel
|
ad4aa19c3e
|
new type __run_command
This cdist type allows you to run a specific command once at installation time.
optional parameter: --command Command (with arguments) to run.
|
13 years ago |
Nico Schottelius
|
947c9a4ccb
|
++changes for 2.0.7
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
45053c6d84
|
allow pip to be non existent during explorer stage
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
1713a70428
|
begin changes to __package_luarocks and __package_pkg_openbsd
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
3c19e7ab4c
|
update __package_pacman for absent/present
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
52849b91c5
|
warn about deprecated usage
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
8e5a0f83c5
|
rename explorer to state, being more consistent internally
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
602e57455d
|
support absent/present in __package_apt
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
2aed047f75
|
2nd correction round for manpages
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
242ce6dfd2
|
first round of absent/present changes
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Nico Schottelius
|
e42bf61413
|
new type: __package_pip
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Steven Armstrong
|
817ce9c256
|
/egrep/grep -E/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Matt Coddington
|
908e74689c
|
improve comments and use better variable names
|
13 years ago |
Matt Coddington
|
4d845b3fea
|
fix for changing a user's group by name
|
13 years ago |
Matt Coddington
|
bf1f6add55
|
bugfix for shadow field number
|
13 years ago |
Steven Armstrong
|
9d25dfdfa9
|
properly handle existing links
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 |
Matt Coddington
|
37c02dad45
|
bugfix - do chmod last
|
13 years ago |