diff --git a/spec/acceptance/class_spec.rb b/spec/acceptance/class_spec.rb index b6e6dd14..a6793ce1 100644 --- a/spec/acceptance/class_spec.rb +++ b/spec/acceptance/class_spec.rb @@ -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",