Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
17
Merge Requests
1
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
48106f5a
authored
Oct 30, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix permissions
parent
35011098
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
23 additions
and
9 deletions
+23
-9
salt/agentdriver/configuration.sls
+1
-0
salt/agentdriver/gitrepo.sls
+4
-2
salt/agentdriver/virtualenv.sls
+2
-1
salt/graphite/configuration.sls
+2
-0
salt/storagedriver/configuration.sls
+1
-0
salt/storagedriver/gitrepo.sls
+4
-2
salt/storagedriver/virtualenv.sls
+2
-1
salt/vncproxy/configuration.sls
+1
-0
salt/vncproxy/gitrepo.sls
+4
-2
salt/vncproxy/virtualenv.sls
+2
-1
No files found.
salt/agentdriver/configuration.sls
View file @
48106f5a
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
- source: salt://agentdriver/files/postactivate
- source: salt://agentdriver/files/postactivate
- template: jinja
- template: jinja
- user: {{ pillar['user'] }}
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- mode: 700
- mode: 700
/etc/incron.d/agentdriver:
/etc/incron.d/agentdriver:
...
...
salt/agentdriver/gitrepo.sls
View file @
48106f5a
...
@@ -3,8 +3,10 @@ include:
...
@@ -3,8 +3,10 @@ include:
gitrepo_agentdriver:
gitrepo_agentdriver:
git.latest:
git.latest:
- name: {{ pillar['agentdriver']['repo_name']
}}
- name: {{ pillar['agentdriver']['repo_name']
}}
- rev: {{ pillar['agentdriver']['repo_revision']
}}
- rev: {{ pillar['agentdriver']['repo_revision'] }}
- target: /home/{{ pillar['user'] }}/agentdriver
- target: /home/{{ pillar['user'] }}/agentdriver
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- require:
- require:
- pkg: git
- pkg: git
salt/agentdriver/virtualenv.sls
View file @
48106f5a
...
@@ -2,4 +2,5 @@ virtualenv_agentdriver:
...
@@ -2,4 +2,5 @@ virtualenv_agentdriver:
virtualenv.managed:
virtualenv.managed:
- name: /home/{{ pillar['user'] }}/.virtualenvs/agentdriver
- name: /home/{{ pillar['user'] }}/.virtualenvs/agentdriver
- requirements: /home/{{ pillar['user'] }}/agentdriver/requirements.txt
- requirements: /home/{{ pillar['user'] }}/agentdriver/requirements.txt
- runas: {{ pillar['user'] }}
- no_chown: true
salt/graphite/configuration.sls
View file @
48106f5a
...
@@ -4,6 +4,7 @@ postactivate:
...
@@ -4,6 +4,7 @@ postactivate:
- source: salt://graphite/files/postactivate
- source: salt://graphite/files/postactivate
- template: jinja
- template: jinja
- user: {{ pillar['graphite']['user'] }}
- user: {{ pillar['graphite']['user'] }}
- group: {{ pillar['graphite']['user'] }}
- mode: 700
- mode: 700
requirements:
requirements:
...
@@ -33,6 +34,7 @@ requirements:
...
@@ -33,6 +34,7 @@ requirements:
file.directory:
file.directory:
- makedirs: True
- makedirs: True
- user: {{ pillar['graphite']['user'] }}
- user: {{ pillar['graphite']['user'] }}
- group: {{ pillar['graphite']['user'] }}
- require:
- require:
- user: {{ pillar['graphite']['user'] }}
- user: {{ pillar['graphite']['user'] }}
...
...
salt/storagedriver/configuration.sls
View file @
48106f5a
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
- source: salt://storagedriver/files/postactivate
- source: salt://storagedriver/files/postactivate
- template: jinja
- template: jinja
- user: {{ pillar['user'] }}
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- mode: 700
- mode: 700
/etc/init/storagecelery.conf:
/etc/init/storagecelery.conf:
...
...
salt/storagedriver/gitrepo.sls
View file @
48106f5a
...
@@ -3,8 +3,10 @@ include:
...
@@ -3,8 +3,10 @@ include:
gitrepo_storagedriver:
gitrepo_storagedriver:
git.latest:
git.latest:
- name: {{ pillar['storagedriver']['repo_name']
}}
- name: {{ pillar['storagedriver']['repo_name']
}}
- rev: {{ pillar['storagedriver']['repo_revision']
}}
- rev: {{ pillar['storagedriver']['repo_revision'] }}
- target: /home/{{ pillar['user'] }}/storagedriver
- target: /home/{{ pillar['user'] }}/storagedriver
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- require:
- require:
- pkg: git
- pkg: git
salt/storagedriver/virtualenv.sls
View file @
48106f5a
...
@@ -2,4 +2,5 @@ virtualenv_storagedriver:
...
@@ -2,4 +2,5 @@ virtualenv_storagedriver:
virtualenv.managed:
virtualenv.managed:
- name: /home/{{ pillar['user'] }}/.virtualenvs/storagedriver
- name: /home/{{ pillar['user'] }}/.virtualenvs/storagedriver
- requirements: /home/{{ pillar['user'] }}/storagedriver/requirements/production.txt
- requirements: /home/{{ pillar['user'] }}/storagedriver/requirements/production.txt
- runas: {{ pillar['user'] }}
- no_chown: true
salt/vncproxy/configuration.sls
View file @
48106f5a
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
- source: salt://vncproxy/files/postactivate
- source: salt://vncproxy/files/postactivate
- template: jinja
- template: jinja
- user: {{ pillar['user'] }}
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- mode: 700
- mode: 700
/etc/init/vncproxy.conf:
/etc/init/vncproxy.conf:
...
...
salt/vncproxy/gitrepo.sls
View file @
48106f5a
...
@@ -3,8 +3,10 @@ include:
...
@@ -3,8 +3,10 @@ include:
gitrepo_vncproxy:
gitrepo_vncproxy:
git.latest:
git.latest:
- name: {{ pillar['vncproxy']['repo_name']
}}
- name: {{ pillar['vncproxy']['repo_name']
}}
- rev: {{ pillar['vncproxy']['repo_revision']
}}
- rev: {{ pillar['vncproxy']['repo_revision'] }}
- target: /home/{{ pillar['user'] }}/vncproxy
- target: /home/{{ pillar['user'] }}/vncproxy
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- require:
- require:
- pkg: git
- pkg: git
salt/vncproxy/virtualenv.sls
View file @
48106f5a
...
@@ -2,4 +2,5 @@ virtualenv_vncproxy:
...
@@ -2,4 +2,5 @@ virtualenv_vncproxy:
virtualenv.managed:
virtualenv.managed:
- name: /home/{{ pillar['user'] }}/.virtualenvs/vncproxy
- name: /home/{{ pillar['user'] }}/.virtualenvs/vncproxy
- requirements: /home/{{ pillar['user'] }}/vncproxy/requirements.txt
- requirements: /home/{{ pillar['user'] }}/vncproxy/requirements.txt
- runas: {{ pillar['user'] }}
- no_chown: true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment