Commit 76701508 by Szeberényi Imre

Salt FIX - graphite new order

parent c2af621b
......@@ -11,9 +11,20 @@
### Red Hat family
TBD
### Debian family
For Devenv start a new ubuntu 18.04 with least 4G RAM.
Set the proper hostname.
In circle VMs you can set the name to mycircel-dev using the following commands.
```bash
sudo sed -ie 1,\$s/$(hostname)/mycircle-dev/ /etc/hosts
sudo bash -c "echo mycircle-dev > /etc/hostname"
reboot - it not neccessary because the next step
```
Refresh your system:
```bash
sudo apt update
......@@ -35,7 +46,7 @@ git clone https://git.ik.bme.hu/CIRCLE3/salt.git
## Single node quick install
```bash
sudo salt/install --local
sudo salt/install --local [--defpass]
```
Open the port 443 for the portal
......@@ -43,8 +54,6 @@ Open the port 443 for the portal
ufw allow 443
```
## Quickstart - Standalone Node
### Login
......
......@@ -2,29 +2,29 @@ admin_pass: '12345678'
admin_user: admin
amqp:
host: 127.0.0.1
password: vWGoF2wQUeJ6YiT0
password: dbtNFSc6OoinjM5e
port: 5672
user: cloud
vhost: circle
cache: pylibmc://127.0.0.1:11211/
database:
name: circle
password: qBZbKIfyX9JmauYN
password: jgdxM2FGEAS0HRBb
user: circle
deployment_type: local
fwdriver:
external_if: eth0
external_net: 10.34.0.85/16
external_net: 10.34.0.108/16
gateway: 10.34.255.254
management_if: ethy
queue_name: mycircle-dev
queue_name: cloud-17198
trunk_if: linkb
graphite:
host: 127.0.0.1
password: lv0NtzdTKOfWFqbw
password: z9qeb74Go2hHgByL
port: 5672
queue: monitor
secret_key: y7k6op3Qc2hM0fTn
secret_key: R5NlO0KUprq1Z297
user: monitor
vhost: monitor
init_type: systemd
......@@ -33,10 +33,10 @@ nfs:
enabled: true
network: 127.0.0.0/8
server: 127.0.0.1
proxy_secret: 764OfnrsZ5lU2YMi
secret_key: CbRqoynxNZTv7uE6
proxy_secret: 1FfsO9LbWTlagdVG
secret_key: EC0xuaGiMSY9VhAe
storagedriver:
queue_name: mycircle-dev
queue_name: cloud-17198
timezone: Europe/Budapest
user: cloud
vmdriver:
......
......@@ -7,9 +7,11 @@ virtualenv_graphite:
- cwd: /home/{{ pillar['graphite']['user'] }}
- no_chown: true
- require:
- virtualenv: virtualenv_graphite_first
- user: {{ pillar['graphite']['user'] }}
- file: /home/{{ pillar['graphite']['user'] }}/requirements.txt
- file: /opt/graphite
virtualenv_graphite_first:
virtualenv_graphite_web:
virtualenv.managed:
- python: /usr/bin/python3
- name: /home/{{ pillar['graphite']['user'] }}/.virtualenvs/graphite
......@@ -21,10 +23,10 @@ virtualenv_graphite_first:
- env_vars:
PYTHONIOENCODING: 'utf-8'
- require:
- virtualenv: virtualenv_graphite
- user: {{ pillar['graphite']['user'] }}
- file: /home/{{ pillar['graphite']['user'] }}/requirement0.txt
- file: /home/{{ pillar['graphite']['user'] }}/requirement1.txt
- file: /home/{{ pillar['graphite']['user'] }}/requirements.txt
- file: /opt/graphite
global-site-packages:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment