Révision cc9fc807
systemctl: Use relative path
manifests/init.pp | ||
---|---|---|
177 | 177 |
ensure => running, |
178 | 178 |
enable => true, |
179 | 179 |
hasrestart => true, |
180 |
restart => '/usr/bin/systemctl reload nftables',
|
|
180 |
restart => 'PATH=/usr/bin:/bin systemctl reload nftables',
|
|
181 | 181 |
} |
182 | 182 |
|
183 | 183 |
systemd::dropin_file { 'puppet_nft.conf': |
spec/classes/nftables_spec.rb | ||
---|---|---|
85 | 85 |
ensure: 'running', |
86 | 86 |
enable: true, |
87 | 87 |
hasrestart: true, |
88 |
restart: %r{/usr/bin/systemctl reload nft.*}
|
|
88 |
restart: %r{PATH=/usr/bin:/bin systemctl reload nft.*}
|
|
89 | 89 |
) |
90 | 90 |
} |
91 | 91 |
|
Formats disponibles : Unified diff