Browse Source

Add a few requirements for follow-up commands

master
Benjamin Neff 7 years ago
parent
commit
09ee996976
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      diaspora/install.sls

+ 3
- 0
diaspora/install.sls View File

- runas: diaspora - runas: diaspora
- unless: rvm alias list | grep "$(cat {{ diaspora.install_path }}/.ruby-version) => ruby-{{ diaspora.ruby_version }}" - unless: rvm alias list | grep "$(cat {{ diaspora.install_path }}/.ruby-version) => ruby-{{ diaspora.ruby_version }}"
- require: - require:
- rvm: diaspora_rvm_ruby
- git: diaspora_git - git: diaspora_git


diaspora_bundle_install: diaspora_bundle_install:
- env: - env:
- RAILS_ENV: {{ environment }} - RAILS_ENV: {{ environment }}
- require: - require:
- rvm: diaspora_rvm_gemset
- cmd: diaspora_rvm_ruby_version_alias
- git: diaspora_git - git: diaspora_git


diaspora_create_database: diaspora_create_database:

Loading…
Cancel
Save