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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
35011098
authored
Oct 30, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix upstart configs
parent
f2ba2509
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
45 additions
and
13 deletions
+45
-13
salt/agentdriver/configuration.sls
+3
-2
salt/graphite/configuration.sls
+7
-0
salt/graphite/files/graphite-carbon.conf
+20
-0
salt/graphite/files/graphite.conf
+2
-5
salt/graphite/init.sls
+4
-0
salt/storagedriver/configuration.sls
+6
-4
salt/vncproxy/configuration.sls
+3
-2
No files found.
salt/agentdriver/configuration.sls
View file @
35011098
...
@@ -12,10 +12,11 @@
...
@@ -12,10 +12,11 @@
- user: {{ pillar['user'] }}
- user: {{ pillar['user'] }}
/etc/init/agentdriver.conf:
/etc/init/agentdriver.conf:
file.
copy
:
file.
managed
:
- user: root
- user: root
- group: root
- group: root
- source: /home/{{ pillar['user'] }}/agentdriver/miscellaneous/agentdriver.conf
- template: jinja
- source: file:///home/{{ pillar['user'] }}/agentdriver/miscellaneous/agentdriver.conf
/var/lib/libvirt/serial:
/var/lib/libvirt/serial:
file.directory:
file.directory:
...
...
salt/graphite/configuration.sls
View file @
35011098
...
@@ -22,6 +22,13 @@ requirements:
...
@@ -22,6 +22,13 @@ requirements:
- template: jinja
- template: jinja
- source: salt://graphite/files/graphite.conf
- source: salt://graphite/files/graphite.conf
/etc/init/graphite-carbon.conf:
file.managed:
- user: root
- group: root
- template: jinja
- source: salt://graphite/files/graphite-carbon.conf
/opt/graphite:
/opt/graphite:
file.directory:
file.directory:
- makedirs: True
- makedirs: True
...
...
salt/graphite/files/graphite-carbon.conf
0 → 100644
View file @
35011098
description
"CIRCLE Cloud Graphite monitoring server"
start
on
runlevel
[
2345
]
stop
on
runlevel
[!
2345
]
respawn
respawn
limit
30
30
setgid
{{
pillar
[
'graphite'
][
'user'
] }}
setuid
{{
pillar
[
'graphite'
][
'user'
] }}
env
HOME
=/
home
/{{
pillar
[
'graphite'
][
'user'
] }}
env
GRAPHITE_ROOT
=/
opt
/
graphite
env
PYTHONPATH
=/
opt
/
graphite
/
lib
script
. $
HOME
/.
virtualenvs
/
graphite
/
local
/
bin
/
activate
cd
/
opt
/
graphite
/
bin
/
exec
twistd
--
nodaemon
--
reactor
=
epoll
--
no_save
carbon
-
cache
end
script
salt/graphite/files/graphite.conf
View file @
35011098
...
@@ -8,13 +8,10 @@ respawn limit 30 30
...
@@ -8,13 +8,10 @@ respawn limit 30 30
setgid
{{
pillar
[
'graphite'
][
'user'
] }}
setgid
{{
pillar
[
'graphite'
][
'user'
] }}
setuid
{{
pillar
[
'graphite'
][
'user'
] }}
setuid
{{
pillar
[
'graphite'
][
'user'
] }}
env
HOME
=/
home
/{{
pillar
[
'graphite'
][
'user'
] }}
script
script
HOME
=/
home
/{{
pillar
[
'graphite'
][
'user'
] }}
. $
HOME
/.
virtualenvs
/
graphite
/
local
/
bin
/
activate
. $
HOME
/.
virtualenvs
/
graphite
/
local
/
bin
/
activate
cd
/
opt
/
graphite
/
bin
/
killall
carbon
-
cache
.
py
||
true
./
carbon
-
cache
.
py
start
cd
/
opt
/
graphite
/
webapp
/
graphite
cd
/
opt
/
graphite
/
webapp
/
graphite
python
manage
.
py
runserver
[::]:
8081
exec
python
manage
.
py
runserver
[::]:
8081
end
script
end
script
salt/graphite/init.sls
View file @
35011098
...
@@ -22,3 +22,7 @@ graphite:
...
@@ -22,3 +22,7 @@ graphite:
service:
service:
- running
- running
graphite-carbon:
service:
- running
salt/storagedriver/configuration.sls
View file @
35011098
...
@@ -6,16 +6,18 @@
...
@@ -6,16 +6,18 @@
- mode: 700
- mode: 700
/etc/init/storagecelery.conf:
/etc/init/storagecelery.conf:
file.
copy
:
file.
managed
:
- user: root
- user: root
- group: root
- group: root
- source: /home/{{ pillar['user'] }}/storagedriver/miscellaneous/storagecelery.conf
- template: jinja
- source: file:///home/{{ pillar['user'] }}/storagedriver/miscellaneous/storagecelery.conf
/etc/init/storage.conf:
/etc/init/storage.conf:
file.
copy
:
file.
managed
:
- user: root
- user: root
- group: root
- group: root
- source: /home/{{ pillar['user'] }}/storagedriver/miscellaneous/storage.conf
- template: jinja
- source: file:///home/{{ pillar['user'] }}/storagedriver/miscellaneous/storage.conf
/datastore:
/datastore:
file.directory:
file.directory:
...
...
salt/vncproxy/configuration.sls
View file @
35011098
...
@@ -6,7 +6,8 @@
...
@@ -6,7 +6,8 @@
- mode: 700
- mode: 700
/etc/init/vncproxy.conf:
/etc/init/vncproxy.conf:
file.
copy
:
file.
managed
:
- user: root
- user: root
- group: root
- group: root
- source: /home/{{ pillar['user'] }}/vncproxy/miscellaneous/vncproxy.conf
- template: jinja
- source: file:///home/{{ pillar['user'] }}/vncproxy/miscellaneous/vncproxy.conf
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