Skip to content

Commit

Permalink
fix(config): ensure daemon dir is created
Browse files Browse the repository at this point in the history
  • Loading branch information
stooj committed Apr 23, 2023
1 parent e7f31e1 commit 4a64329
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libvirt/server/config/files.sls
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ libvirt-server-config-files-libvirtd-file-managed:
- watch_in:
- service: libvirt-server-service-running-service-running
libvirt-server-config-files-daemonconfig-dir-managed:
file.directory:
- name: {{ libvirt_settings.daemon_config_path }}
- mode: '0755'
libvirt-server-config-files-daemonconfig-file-managed:
file.managed:
- name: {{ libvirt_settings.daemon_config_path }}/{{ libvirt_settings.libvirt_service }}
Expand All @@ -39,5 +44,6 @@ libvirt-server-config-files-daemonconfig-file-managed:
}}
- require:
- pkg: libvirt-server-package-install-pkg-installed
- file: libvirt-server-config-files-daemonconfig-dir-managed
- watch_in:
- service: libvirt-server-service-running-service-running

0 comments on commit 4a64329

Please # to comment.