Skip to content

Commit

Permalink
Add awscli state
Browse files Browse the repository at this point in the history
  • Loading branch information
bretep committed Mar 2, 2014
1 parent 15e0f37 commit eb859d2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions states/awscli/init.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/opt/awscli/venv:
virtualenv.managed:
- system_site_packages: False
- requirements: /opt/awscli/requirements.txt
- require:
- file: awscli_requirements

awscli_requirements:
file.managed:
- name: /opt/awscli/requirements.txt
- source: salt://awscli/requirements.txt
- template: jinja

1 change: 1 addition & 0 deletions states/awscli/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
awscli=={{ pillar['pip']['awscli'] }}

0 comments on commit eb859d2

Please sign in to comment.