Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gazsi István
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
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 @@
- source: salt://agentdriver/files/postactivate
- template: jinja
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- mode: 700
/etc/incron.d/agentdriver:
...
...
salt/agentdriver/gitrepo.sls
View file @
48106f5a
...
...
@@ -3,8 +3,10 @@ include:
gitrepo_agentdriver:
git.latest:
- name: {{ pillar['agentdriver']['repo_name']
}}
- rev: {{ pillar['agentdriver']['repo_revision']
}}
- name: {{ pillar['agentdriver']['repo_name']
}}
- rev: {{ pillar['agentdriver']['repo_revision'] }}
- target: /home/{{ pillar['user'] }}/agentdriver
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- require:
- pkg: git
salt/agentdriver/virtualenv.sls
View file @
48106f5a
...
...
@@ -2,4 +2,5 @@ virtualenv_agentdriver:
virtualenv.managed:
- name: /home/{{ pillar['user'] }}/.virtualenvs/agentdriver
- 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:
- source: salt://graphite/files/postactivate
- template: jinja
- user: {{ pillar['graphite']['user'] }}
- group: {{ pillar['graphite']['user'] }}
- mode: 700
requirements:
...
...
@@ -33,6 +34,7 @@ requirements:
file.directory:
- makedirs: True
- user: {{ pillar['graphite']['user'] }}
- group: {{ pillar['graphite']['user'] }}
- require:
- user: {{ pillar['graphite']['user'] }}
...
...
salt/storagedriver/configuration.sls
View file @
48106f5a
...
...
@@ -3,6 +3,7 @@
- source: salt://storagedriver/files/postactivate
- template: jinja
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- mode: 700
/etc/init/storagecelery.conf:
...
...
salt/storagedriver/gitrepo.sls
View file @
48106f5a
...
...
@@ -3,8 +3,10 @@ include:
gitrepo_storagedriver:
git.latest:
- name: {{ pillar['storagedriver']['repo_name']
}}
- rev: {{ pillar['storagedriver']['repo_revision']
}}
- name: {{ pillar['storagedriver']['repo_name']
}}
- rev: {{ pillar['storagedriver']['repo_revision'] }}
- target: /home/{{ pillar['user'] }}/storagedriver
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- require:
- pkg: git
salt/storagedriver/virtualenv.sls
View file @
48106f5a
...
...
@@ -2,4 +2,5 @@ virtualenv_storagedriver:
virtualenv.managed:
- name: /home/{{ pillar['user'] }}/.virtualenvs/storagedriver
- 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 @@
- source: salt://vncproxy/files/postactivate
- template: jinja
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- mode: 700
/etc/init/vncproxy.conf:
...
...
salt/vncproxy/gitrepo.sls
View file @
48106f5a
...
...
@@ -3,8 +3,10 @@ include:
gitrepo_vncproxy:
git.latest:
- name: {{ pillar['vncproxy']['repo_name']
}}
- rev: {{ pillar['vncproxy']['repo_revision']
}}
- name: {{ pillar['vncproxy']['repo_name']
}}
- rev: {{ pillar['vncproxy']['repo_revision'] }}
- target: /home/{{ pillar['user'] }}/vncproxy
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- require:
- pkg: git
salt/vncproxy/virtualenv.sls
View file @
48106f5a
...
...
@@ -2,4 +2,5 @@ virtualenv_vncproxy:
virtualenv.managed:
- name: /home/{{ pillar['user'] }}/.virtualenvs/vncproxy
- 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