Skip to content

Missing without_subscribes_to or without_notifies #28

Open
@fe80

Description

@fe80

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions