Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Commit

Permalink
correctly make examples directory
Browse files Browse the repository at this point in the history
  • Loading branch information
quasiben committed Jan 13, 2017
1 parent 0c0bb38 commit 02663c5
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions dask_ec2/formulas/salt/jupyter/notebook/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@ jupyter-notebook.conf:
- require:
- sls: supervisor
examples:
notebooks-dir:
file.directory:
- name: {{ notebooks_dir }}
- user: {{ user }}
- group: {{ user }}
- makedirs: True
git_examples:
git.latest:
- name: https://github.com/dask/dask-ec2.git
- target: /tmp/dask-ec2
Expand All @@ -34,15 +41,6 @@ link_examples:
- target: /tmp/dask-ec2/notebooks
- force: True
notebooks-dir:
file.directory:
- name: {{ notebooks_dir }}/examples
- user: {{ user }}
- group: {{ user }}
- recurse:
- user
- group
notebook-update-supervisor:
cmd.wait:
Expand Down

0 comments on commit 02663c5

Please sign in to comment.