Révision 435a5db2
rspec mock systemd process on docker
On docker rspec the service provider is autodetected as redhat
rather than systemd.
https://tickets.puppetlabs.com/browse/PUP-11167
That causes
```
error during compilation: Parameter enable failed on Service[firewalld]: Provider redhat must have features 'maskable' to set 'enable' to 'mask' (file: /builds/ai/it-puppet-module-nftables/code/spec/fixtures/modules/nftables/manifests/init.pp, line: 186)
```
mock the systemd process so that the systemd provider is used.
Fichiers
- ajouté
- modifié
- copié
- renommé
- supprimé