Commit a0fb9f0e by Szeberényi Imre

agentdriver service fix

parent 613499eb
...@@ -21,6 +21,13 @@ ...@@ -21,6 +21,13 @@
- template: jinja - template: jinja
- source: file:///home/{{ pillar['user'] }}/agentdriver/miscellaneous/agentdriver.service - source: file:///home/{{ pillar['user'] }}/agentdriver/miscellaneous/agentdriver.service
agentdriver:
service.running:
- enable: true
- reload: true
- require:
- file: /etc/systemd/system/agentdriver.service
{% else %} {% else %}
/etc/init/agentdriver.conf: /etc/init/agentdriver.conf:
......
...@@ -3,11 +3,11 @@ include: ...@@ -3,11 +3,11 @@ include:
- agentdriver.virtualenv - agentdriver.virtualenv
- agentdriver.configuration - agentdriver.configuration
agentdriver: init_agentdriver:
pkg.installed: pkg.installed:
- pkgs: - pkgs:
- git - git
- ntp - chrony
- incron - incron
{% if grains['os_family'] == 'RedHat' %} {% if grains['os_family'] == 'RedHat' %}
- libmemcached-devel - libmemcached-devel
......
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