Sha256: 6b99a53f6e0efd44d93ad2bf57048d608473e24e29e8e4462ccbcdbbc6354d0d

Contents?: true

Size: 813 Bytes

Versions: 3

Compression:

Stored size: 813 Bytes

Contents

include:
  - lang.rbenv

tmp_railsapp_gems:
  file.directory:
    - name: /tmp/railsapp_gems
    - file_mode: 755
    - user: {{ pillar['username'] }}
    - group: {{ pillar['username'] }}
    - makedirs: True
    - clean: True
    - require:
      - sls: lang.rbenv

railsapp_gems:
  file.recurse:
    - source: salt://files/
    - name: /tmp/railsapp_gems
    - file_mode: 644
    - user: {{ pillar['username'] }}
    - group: {{ pillar['username'] }}
    - exclude_pat: '.*swp'
    - require:
      - file.directory: tmp_railsapp_gems
  cmd.run:
    # Run twice if first fails (weirdness with installing ruby-debug)
    - name: bundle install || bundle install
    - cwd: /tmp/railsapp_gems
    - user: {{ pillar['username'] }}
    - group: {{ pillar['username'] }}
    - require:
      - file: railsapp_gems

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
salted-rails-0.0.9 salt/railsapp/gems.sls
salted-rails-0.0.8 salt/railsapp/gems.sls
salted-rails-0.0.7 salt/railsapp/gems.sls