Permalink
Browse files

Support for Java devs ;)

  • Loading branch information...
1 parent 09236d1 commit 48cd5d0b49ce64d033e77802e376b561acb68e04 @sickill sickill committed Jul 5, 2011
Showing with 15 additions and 6 deletions.
  1. +8 −3 README.markdown
  2. +1 −3 bootstrap.sh
  3. +3 −0 nodes/linux-javadev.json
  4. +3 −0 roles/javadev.rb
View
11 README.markdown
@@ -64,18 +64,23 @@ family) on OSX system.
* install Xcode if on OSX
* run following in terminal:
- $ curl -skL http://bit.ly/lunar-station | bash
+ $ curl -skL http://bit.ly/lunar-station | DEV_TYPE=rubydev bash
or if curl is not installed but wget is:
- $ wget -qO - http://bit.ly/lunar-station | bash
+ $ wget -qO - http://bit.ly/lunar-station | DEV_TYPE=rubydev bash
or just manually download the bootstrap script and run it with bash:
- $ bash lunar-station
+ $ DEV_TYPE=rubydev bash lunar-station
where "lunar-station" is name of downloaded file with bootstrap script.
+DEV\_TYPE can be one of following:
+
+* rubydev - for Ruby on Rails developer
+* javadev - for Java developer
+
# Authors
Marcin Kulik
View
4 bootstrap.sh
@@ -69,9 +69,7 @@ if [ -z $(which chef-solo 2>/dev/null) ]; then
gem install chef --no-ri --no-rdoc >/dev/null || exit 1
fi
-if [ -n "$1" ]; then
- DEV_TYPE=$1
-else
+if [ -z "$DEV_TYPE" ]; then
DEV_TYPE="rubydev"
fi
View
3 nodes/linux-javadev.json
@@ -0,0 +1,3 @@
+{
+ "run_list": [ "role[javadev]" ]
+}
View
3 roles/javadev.rb
@@ -0,0 +1,3 @@
+description 'LLP Java developer workstation'
+
+run_list 'role[base]', 'recipe[mysql]'

0 comments on commit 48cd5d0

Please sign in to comment.