Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cca64022
authored
Jun 26, 2022
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bower isntall fix
parent
25d261b3
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
18 deletions
+18
-18
pillar/agentdriver.sls
+1
-1
pillar/installer.sls
+10
-10
pillar/vncproxy.sls
+1
-1
salt/manager/files/compile.sh
+2
-2
salt/manager/virtualenv.sls
+4
-4
No files found.
pillar/agentdriver.sls
View file @
cca64022
agentdriver:
agentdriver:
repo_name: https://git.ik.bme.hu/circle3/agentdriver.git
repo_name: https://git.ik.bme.hu/circle3/agentdriver.git
repo_revision:
python3.6
repo_revision:
master
pillar/installer.sls
View file @
cca64022
admin_pass:
admin
admin_pass:
'12345678'
admin_user: admin
admin_user: admin
amqp:
amqp:
host: 127.0.0.1
host: 127.0.0.1
password:
phvBiu3rPLXaJZc8
password:
R6vXml2rkGuJ817I
port: 5672
port: 5672
user: cloud
user: cloud
vhost: circle
vhost: circle
cache: pylibmc://127.0.0.1:11211/
cache: pylibmc://127.0.0.1:11211/
database:
database:
name: circle
name: circle
password:
PmH8Fzdx0LBcl6sr
password:
x0B5eVNY6ubFSZcU
user: circle
user: circle
deployment_type: local
deployment_type: local
fwdriver:
fwdriver:
external_if: eth0
external_if: eth0
external_net: 10.9.0.
55
/16
external_net: 10.9.0.
101
/16
gateway: 10.9.255.254
gateway: 10.9.255.254
management_if: ethy
management_if: ethy
queue_name:
cloud-41174
queue_name:
dev-janos
trunk_if: linkb
trunk_if: linkb
graphite:
graphite:
host: 127.0.0.1
host: 127.0.0.1
password:
huWGODFPm1HSgMZk
password:
GZgcS9l0XPsDqMQf
port: 5672
port: 5672
queue: monitor
queue: monitor
secret_key:
YK4c6jfDR31HsA0O
secret_key:
WsJOiKxfND5oSpjX
user: monitor
user: monitor
vhost: monitor
vhost: monitor
init_type: systemd
init_type: systemd
...
@@ -33,10 +33,10 @@ nfs:
...
@@ -33,10 +33,10 @@ nfs:
enabled: true
enabled: true
network: 127.0.0.0/8
network: 127.0.0.0/8
server: 127.0.0.1
server: 127.0.0.1
proxy_secret:
P4dFDnXOmvQtKUJ0
proxy_secret:
KqSWakUfEb6RZQYj
secret_key:
XISvOHyuaWBc89kF
secret_key:
NaiuQC6MK5UlcGAB
storagedriver:
storagedriver:
queue_name:
cloud-41174
queue_name:
dev-janos
timezone: Europe/Budapest
timezone: Europe/Budapest
user: cloud
user: cloud
vmdriver:
vmdriver:
...
...
pillar/vncproxy.sls
View file @
cca64022
vncproxy:
vncproxy:
repo_name: https://git.ik.bme.hu/circle3/vncproxy.git
repo_name: https://git.ik.bme.hu/circle3/vncproxy.git
repo_revision:
python3.6
repo_revision:
master
salt/manager/files/compile.sh
View file @
cca64022
#!/bin/bash
#!/bin/bash
cd
/home/
{{
pillar[
'user'
]
}}
/circle/circle/
cd
/home/
{{
pillar[
'user'
]
}}
/circle/circle/
source
/home/
{{
pillar[
'user'
]
}}
/.virtualenvs/circle/bin/activat
e
workon circl
e
source
/home/
{{
pillar[
'user'
]
}}
/.virtualenvs/circle/bin/postactivate
MANAGE
=
"python /home/{{ pillar['user'] }}/circle/circle/manage.py"
MANAGE
=
"python /home/{{ pillar['user'] }}/circle/circle/manage.py"
bower install
bower install
...
...
salt/manager/virtualenv.sls
View file @
cca64022
...
@@ -49,18 +49,18 @@ salt://manager/files/syncdb.sh:
...
@@ -49,18 +49,18 @@ salt://manager/files/syncdb.sh:
cmd.script:
cmd.script:
- template: jinja
- template: jinja
- user: {{ pillar['user'] }}
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- runas: {{ pillar['user'] }}
- stateful: true
- stateful: true
- require:
- require:
- virtualenv: virtualenv_manager
- virtualenv: virtualenv_manager
- file: /home/{{ pillar['user'] }}/.virtualenvs/circle/bin/postactivate
- user: {{ pillar['user'] }}
salt://manager/files/compile.sh:
salt://manager/files/compile.sh:
cmd.script:
cmd.script:
- template: jinja
- template: jinja
- user: {{ pillar['user'] }}
- user: {{ pillar['user'] }}
- group: {{ pillar['user'] }}
- runas: {{ pillar['user'] }}
- stateful: true
- stateful: true
- require:
- require:
- virtualenv: virtualenv_manager
- virtualenv: virtualenv_manager
- file: /home/{{ pillar['user'] }}/.virtualenvs/circle/bin/postactivate
- user: {{ pillar['user'] }}
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