Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemctl: Use relative path #136

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Conversation

bastelfreak
Copy link
Member

replacement of #135. it's not required to provide an absolute path. I tested this on debian and centos, works fine.

Info: /Stage[main]/Nftables::Inet_filter/Nftables::Chain[INPUT]/File[/etc/nftables/puppet/inet-filter-chain-INPUT.nft]: Scheduling refresh of Service[nftables]
Debug: /Stage[main]/Nftables::Inet_filter/Nftables::Chain[INPUT]/File[/etc/nftables/puppet/inet-filter-chain-INPUT.nft]: The container Nftables::Chain[INPUT] will propagate my refresh event
Debug: Nftables::Chain[INPUT]: The container Class[Nftables::Inet_filter] will propagate my refresh event
Debug: Executing: '/bin/systemctl is-active -- nftables'
Debug: Executing: '/bin/systemctl is-enabled -- nftables'
Debug: Executing: '/bin/systemctl is-active -- nftables'
Debug: Executing: '/bin/systemctl show --property=NeedDaemonReload -- nftables'
Debug: Executing: 'systemctl reload nftables'
Notice: /Service[nftables]: Triggered 'refresh' from 1 event

manifests/init.pp Outdated Show resolved Hide resolved
@bastelfreak bastelfreak merged commit 462a783 into voxpupuli:master Jul 5, 2022
@bastelfreak bastelfreak deleted the debian2 branch July 5, 2022 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants