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 017fd24 commit 8cb8828
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 @@ -296,6 +296,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 8cb8828

Please sign in to comment.