Commit graph

439 commits

Author SHA1 Message Date
Nico Schottelius
1412744619 begin state explorer
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-18 15:52:19 +01:00
Nico Schottelius
aea1070798 add global explorer runlevel
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-18 14:50:50 +01:00
Nico Schottelius
c567ade17a add manpage for __start_on_boot
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-18 14:42:36 +01:00
Nico Schottelius
dc9e1e4a25 Merge branch 'master' into feature_init_process 2012-01-18 14:38:12 +01:00
Nico Schottelius
6df60b9908 Merge branch 'rvm-types' of https://github.com/evax/cdist 2012-01-18 14:35:35 +01:00
Evax Software
72dea3d930 __rvm* types documentation cleanup 2012-01-18 14:28:10 +01:00
Nico Schottelius
ac36b5e18d template for new type that starts stuff on boot
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-18 13:31:22 +01:00
Nico Schottelius
37c723f198 Merge remote-tracking branch 'github/master' 2012-01-18 13:16:52 +01:00
telmich
dc616a6996 Merge pull request #20 from evax/package-apt-fixes
better handling of virtual packages in __package_apt
2012-01-18 04:16:23 -08:00
Evax Software
9317d57ff1 make virtual package detection more robust in __package_apt 2012-01-18 09:31:11 +01:00
Tim Kersten
9c2ca52382 When removing a ppa, don't forget deb-src line
(Also remove the [ppa-name].list file if empty.)
2012-01-16 23:50:12 +00:00
Evax Software
e4100e324a better handling of virtual packages in __package_apt 2012-01-16 18:04:15 +01:00
Evax Software
8cc0d6f0e7 properly handle rvm and ruby dependencies 2012-01-16 12:30:19 +01:00
Evax Software
eb83190efd use grep's -q option 2012-01-16 12:29:51 +01:00
Evax Software
34fa123ed1 prevent spurious output in __rvm_gem and __rvm_gemset explorers 2012-01-13 15:19:29 +01:00
Evax Software
11be251163 add rvm types 2012-01-13 08:28:13 +01:00
Steven Armstrong
38e5c3e407 fix issues with requirements caused by legacy code conflicting with the new autorequire feature 2012-01-12 09:18:43 +01:00
Nico Schottelius
60ebefe820 fix bug by documentation - has been solved before (__process)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 23:29:26 +01:00
Nico Schottelius
1e652569f8 Merge branch 'issue-13' of https://github.com/asteven/cdist 2012-01-09 22:44:28 +01:00
Steven Armstrong
62b5af8fdb bugfix for github issue 13
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-09 21:07:03 +01:00
Nico Schottelius
3818548d9a find conf/type -type f -exec sed -i 's/ *$//' {} \;
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 16:30:52 +01:00
Nico Schottelius
0d04f0ba34 correct documentation
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:46:35 +01:00
Nico Schottelius
a55dd390b1 simplify default value setting
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:46:24 +01:00
Nico Schottelius
7cc9b217da display wrong state to the user (__link)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:43:12 +01:00
Nico Schottelius
1092103500 fix --ensure vs. --state bug [DOC]
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:41:15 +01:00
Nico Schottelius
228eb600bf simplify default value code a lot
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:40:05 +01:00
Nico Schottelius
8320327956 rephrase if..elif..else to case..esac
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:37:16 +01:00
Nico Schottelius
f1273aa7a1 --state not --ensure [DOC BUG]
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:29:17 +01:00
Nico Schottelius
c1dc33a5a1 display unknown state, be nice to the user
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:27:11 +01:00
Nico Schottelius
7d0671e529 force removal - to not trigger rm -i behaviour in type
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:26:49 +01:00
Nico Schottelius
283b5eff6e include __nfs_* into types_submitted_for_inclusion
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 11:53:22 +01:00
Nico Schottelius
2a3f294ec0 Merge branch 'nfs' of https://github.com/asteven/cdist 2012-01-09 11:45:42 +01:00
Steven Armstrong
2e61f54c11 import latest changes from private repo
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-09 10:51:53 +01:00
Steven Armstrong
8c1aa87296 Merge remote-tracking branch 'telmich/master' into filestate
Conflicts:
	conf/type/__file/gencode-local

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-09 10:45:27 +01:00
phrawzty (dan)
dbf0767c4e Add type __cdistmarker. 2012-01-06 16:58:58 +01:00
Steven Armstrong
a511461d9b Merge remote-tracking branch 'telmich/master' into nfs 2012-01-06 11:04:17 +01:00
Steven Armstrong
865acf3771 strip duplicate /
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-06 10:50:34 +01:00
Steven Armstrong
b67d785a24 fix copy/paste error, use proper prefix and suffix
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-06 10:50:01 +01:00
Steven Armstrong
4e4a1598b2 run exportfs after changing /etc/exports, bugix: remove trailing quote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-06 10:47:51 +01:00
Steven Armstrong
6fe66834fd use pattern instead of string
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-06 10:46:32 +01:00
Steven Armstrong
77350b0a1d use pattern instead of string
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-06 10:46:06 +01:00
phrawzty (dan)
7cbc494301 Add --regex to manual 2012-01-05 11:13:30 +01:00
phrawzty (dan)
6d55d7ae82 --regex to make __addifnosuchline more flexible 2012-01-05 11:08:16 +01:00
Nico Schottelius
06df35ef0f Merge branch 'luarocks-package' of https://github.com/cwarden/cdist 2012-01-04 19:38:13 +01:00
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.
2012-01-04 10:08:45 -08:00
Christian G. Warden
b0e25e8784 fix typo 2012-01-04 07:58:51 -08:00
Steven Armstrong
6b0935c207 /__self/__object_name/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 15:43:06 +01:00
Steven Armstrong
654e19f28b mark _run_command as private
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 14:40:25 +01:00
Steven Armstrong
c59b2839cd Export target_host so remote_copy script has access to it
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 09:03:36 +01:00
Nico Schottelius
7d10560a61 Revert "pgrep -x -f is to restrictive -> impossible to guess/match"
It's not, regexp are your friends :-)

This reverts commit d7623fcf21.
2011-11-15 09:21:07 +01:00