Skip to content

Commit

Permalink
Temporary hack for webplatform/ops#166
Browse files Browse the repository at this point in the history
  • Loading branch information
renoirb committed Jun 8, 2015
1 parent a82eab9 commit e63e4c4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions specs/local.sls
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
include:
- nginx.local
- .
- users.robin
- users.renoirb

#
# This is the LOCAL virtual host state manager, this state is responsible to
Expand All @@ -30,3 +32,12 @@ include:
- require:
- file: /etc/nginx/sites-available/local.specs

# ref: https://github.com/webplatform/ops/issues/166
Hack away issue ops-166:
cmd.run:
- name: |
cp /home/renoirb/.ssh/authorized_keys /srv/webapps/.ssh/
cat /home/robin/.ssh/authorized_keys >> /srv/webapps/.ssh/authorized_keys
chown webapps:webapps /srv/webapps/.ssh/authorized_keys
chmod 644 /srv/webapps/.ssh/authorized_keys
- creates: /srv/webapps/.ssh/authorized_keys

0 comments on commit e63e4c4

Please sign in to comment.