Skip to content

Commit

Permalink
Merge pull request #27 from benhosmer/master
Browse files Browse the repository at this point in the history
As requested by Corey, adding rubygems install.
  • Loading branch information
thatch45 committed Feb 15, 2013
2 parents 1f08373 + 5c58544 commit e4bf591
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
17 changes: 17 additions & 0 deletions small/rubygems/pillar/gems.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
rgems:
- sinatra
- rest-client
- haml
- json
- activerecord
- json_pure
- journey
- fastercsv
- geojson
- georuby
- pg
- rdoc
- bcrypt-ruby
- passenger


3 changes: 3 additions & 0 deletions small/rubygems/pillar/top.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
base:
'*':
- gems
8 changes: 8 additions & 0 deletions small/rubygems/salt/rubygems/init.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Install the gems listed in pillar data.

install-gems:
{% for rgems in pillar['gems'] %}
module.run:
- name: gem.install
- gems: {{ rgems }}
{% endfor %}

0 comments on commit e4bf591

Please sign in to comment.