Преглед на файлове

Remove reset schema.rb

The schema.rb is in the .gitignore for a long time now, so this isn't
needed anymore.
tags/v1.0.0
Benjamin Neff преди 4 години
родител
ревизия
166047a3b8
No account linked to committer's email address
променени са 1 файла, в които са добавени 0 реда и са изтрити 8 реда
  1. +0
    -8
      diaspora/install.sls

+ 0
- 8
diaspora/install.sls Целия файл

@@ -87,13 +87,6 @@ diaspora_install_directory:
- require:
- user: diaspora_user

diaspora_reset_schema.rb:
cmd.run:
- name: git checkout db/schema.rb
- runas: {{ diaspora.user.username }}
- cwd: {{ diaspora.install_path }}
- onlyif: git ls-files --error-unmatch db/schema.rb && git rev-parse && ! git diff --name-only --exit-code db/schema.rb

diaspora_git:
git.latest:
- name: {{ diaspora.repository }}
@@ -103,7 +96,6 @@ diaspora_git:
- force_fetch: True
- require:
- file: diaspora_install_directory
- cmd: diaspora_reset_schema.rb
- require_in:
- file: {{ diaspora.install_path }}/config/database.yml


Loading…
Отказ
Запис