mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-17 10:10:28 +00:00
refactor(service): use systemd-journald
instead of systemd-udevd
* The latter is not available on the stripped down pre-salted images (for Debian and Ubuntu)
This commit is contained in:
parent
241646fe96
commit
a2651058be
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ TEMPLATE:
|
|||
pkg:
|
||||
name: bash
|
||||
service:
|
||||
name: systemd-udevd
|
||||
name: systemd-journald
|
||||
config: /etc/template-formula.conf
|
||||
|
||||
tofs:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# Overide by OS
|
||||
service_name = 'systemd-udevd'
|
||||
service_name = 'systemd-journald'
|
||||
service_name = 'crond' if (os[:name] == 'centos') && os[:release].start_with?('6')
|
||||
|
||||
control 'TEMPLATE service' do
|
||||
|
|
Loading…
Add table
Reference in a new issue