Skip to content

Commit

Permalink
CI: Use Type=exec instead of Type=notify
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Aug 21, 2023
1 parent 443c881 commit f80b9d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,12 @@ class { 'consul':
'server' => true,
},
}
# default is Type=forking which has problems within CI
systemd::dropin_file { 'type.conf':
unit => 'consul.service',
content => "[Service]\nType=\nType=exec",
notify_service => true,
}
systemd::dropin_file { 'foo.conf':
unit => 'consul.service',
content => "[Unit]\nConditionFileNotEmpty=\nConditionFileNotEmpty=/etc/consul.d/config.json",
Expand Down

0 comments on commit f80b9d5

Please sign in to comment.