Open
Description
Use Case
Hello,
Sometimes we disable notification of service or a exec resource. That can be useful to check if a subscribes or an notifies is correctly absent.
Describe the Solution You Would Like
contain_service(title).without_subscribes_to("File[/etc/systemd/system/#{title}]")
Describe Alternatives You've Considered
voxpupuli/puppet-systemd#295 (comment)
it { is_expected.not_to contain_service(title).with_subscribes_to("File[/etc/systemd/system/#{title}]")
Additional Context
This issue is related with voxpupuli/puppet-systemd#295
Metadata
Metadata
Assignees
Labels
No labels