diff --git a/libvirt/server/config/files.sls b/libvirt/server/config/files.sls index 0be1b17..b5ac88d 100644 --- a/libvirt/server/config/files.sls +++ b/libvirt/server/config/files.sls @@ -18,11 +18,17 @@ libvirt-server-config-files-libvirtd-file-managed: - name: {{ libvirt_settings.libvirtd_config }} - template: jinja - source: salt://{{ slspath }}/templates/libvirtd.conf.jinja + - require: + - pkg: libvirt-server-package-install-pkg-installed + - watch_in: + - service: libvirt-server-service-running-service-running libvirt-server-config-files-daemonconfig-file-managed: file.managed: - name: {{ libvirt_settings.daemon_config_path }}/{{ libvirt_settings.libvirt_service }} - template: jinja - source: salt://{{ slspath }}/templates/{{ os_family }}/daemon_libvirtd.jinja + - require: + - pkg: libvirt-server-package-install-pkg-installed - watch_in: - service: libvirt-server-service-running-service-running