Projet

Général

Profil

« Précédent | Suivant » 

Révision 435a5db2

ID435a5db2a1f93585af6faab1669a880029e81df6
Parent 232c1364
Enfant 817e064b

Ajouté par Steve Traylen il y a environ 3 ans

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é

Voir les différences