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
3f9822e7
authored
Jan 15, 2022
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manager fix
parent
e56a6953
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
6 deletions
+32
-6
requirements.txt
+2
-0
salt/manager/rabbitmq.sls
+17
-6
salt/manager/virtualenv.sls
+13
-0
No files found.
requirements.txt
View file @
3f9822e7
...
...
@@ -4,3 +4,5 @@ netifaces
halo
virtualenvwrapper
stevedore
setuptools
<58
pip
<21
salt/manager/rabbitmq.sls
View file @
3f9822e7
...
...
@@ -14,21 +14,32 @@ rabbitmq-server:
- file: rabbitmq-server
{% endif %}
virtual_host:
virtual_host
_amqp
:
rabbitmq_vhost.present:
- name: {{ pillar['amqp']['vhost']}}
- require:
- service: rabbitmq-server
rabbitmq_user:
rabbitmq_user
_amqp
:
rabbitmq_user.present:
- name: {{ pillar['amqp']['user'] }}
- password: {{ pillar['amqp']['password'] }}
- perms: [{ {{ pillar['amqp']['vhost']}}: [.*, .*, .*]}]
# - '{{ pillar['amqp']['vhost']}}':
# - conf: ".*"
# - write: " .*"
# - read: ".*"
- require:
- service: rabbitmq-server
virtual_host_graphite:
rabbitmq_vhost.present:
- name: {{ pillar['graphite']['vhost']}}
- require:
- service: rabbitmq-server
rabbitmq_user_graphite:
rabbitmq_user.present:
- name: {{ pillar['graphite']['user'] }}
- password: {{ pillar['graphite']['password'] }}
- perms: [{ {{ pillar['graphite']['vhost']}}: [.*, .*, .*]}]
- require:
- service: rabbitmq-server
salt/manager/virtualenv.sls
View file @
3f9822e7
...
...
@@ -23,14 +23,27 @@ virtualenv_manager:
- no_chown: true
- require:
- git: gitrepo
- virtualenv: virtualenv_install_first
{% if grains['os_family'] == 'RedHat' %}
- environ: m2crypto_swig_env
{% endif %}
virtualenv_install_first:
virtualenv.managed:
- python: /usr/bin/python3
- name: /home/{{ pillar['user'] }}/.virtualenvs/circle
- requirements: /home/{{ pillar['user'] }}/circle/requirements/install_first.txt
- user: {{ pillar['user'] }}
- cwd: /home/{{ pillar['user'] }}/circle/
- no_chown: true
/home/{{ pillar['user'] }}/.virtualenvs/circle/lib/python3.6/site-packages/simplesshkey/models.py:
file.patch:
- source: file:///home/{{ pillar['user'] }}/circle/requirements/simplesshkey.patch
- strip: 5
- require:
- virtualenv: virtualenv_manager
salt://manager/files/syncdb.sh:
cmd.script:
...
...
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