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
35011098
authored
Oct 30, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix upstart configs
parent
f2ba2509
Hide 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 @@
- user: {{ pillar['user'] }}
/etc/init/agentdriver.conf:
file.
copy
:
file.
managed
:
- user: 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:
file.directory:
...
...
salt/graphite/configuration.sls
View file @
35011098
...
...
@@ -22,6 +22,13 @@ requirements:
- template: jinja
- 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:
file.directory:
- 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
setgid
{{
pillar
[
'graphite'
][
'user'
] }}
setuid
{{
pillar
[
'graphite'
][
'user'
] }}
env
HOME
=/
home
/{{
pillar
[
'graphite'
][
'user'
] }}
script
HOME
=/
home
/{{
pillar
[
'graphite'
][
'user'
] }}
. $
HOME
/.
virtualenvs
/
graphite
/
local
/
bin
/
activate
cd
/
opt
/
graphite
/
bin
/
killall
carbon
-
cache
.
py
||
true
./
carbon
-
cache
.
py
start
cd
/
opt
/
graphite
/
webapp
/
graphite
python
manage
.
py
runserver
[::]:
8081
exec
python
manage
.
py
runserver
[::]:
8081
end
script
salt/graphite/init.sls
View file @
35011098
...
...
@@ -22,3 +22,7 @@ graphite:
service:
- running
graphite-carbon:
service:
- running
salt/storagedriver/configuration.sls
View file @
35011098
...
...
@@ -6,16 +6,18 @@
- mode: 700
/etc/init/storagecelery.conf:
file.
copy
:
file.
managed
:
- user: 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:
file.
copy
:
file.
managed
:
- user: root
- group: root
- source: /home/{{ pillar['user'] }}/storagedriver/miscellaneous/storage.conf
- template: jinja
- source: file:///home/{{ pillar['user'] }}/storagedriver/miscellaneous/storage.conf
/datastore:
file.directory:
...
...
salt/vncproxy/configuration.sls
View file @
35011098
...
...
@@ -6,7 +6,8 @@
- mode: 700
/etc/init/vncproxy.conf:
file.
copy
:
file.
managed
:
- user: 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