Historique | Voir | Annoter | Télécharger (148 octets)
manage spec_helper.rb
Merge pull request #128 from traylenator/systemd
rspec mock systemd process on docker
On docker rspec the service provider is autodetected as redhatrather 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)...
Enable parameter_documentation/parameter_types checks
Migrate from deprecated mocha
vp-puppet-lint-plugin enables param-docs already
No need to enable puppet-lint-param-docs locally since version 3.0.0of voxpupuli-puppet-lint-plugins enables param-docs anyway.
https://github.com/voxpupuli/voxpupuli-puppet-lint-plugins/commit/5c207d586878162218e45ce50bcfd927588796c9
Fix .sync.yml
Typo introduced in 09cba1822af345c6fe7d4db1a49921f12a53cb31
Enable parameter_documentation lint
The linter checks that every parameter has been documented.
While corrections have been made to great many classes some morecomplicated examples have been left for now. Should be updatedas the files get touched.
https://github.com/domcleal/puppet-lint-param-docs
Add basic configuration validation acceptance test (#38)
It is not possible to start the nftables service within docker sothe service is altered to only validate the serviceconfiguration resulting from concat constructed files and nft inclusions.
Mock with mocha
Drop duritong .sync.yml
Git ignore .ruby-version
Switch back to Ruby 2.5
```can't modify frozen String: "true" ```[Ticket IAC-1146](https://tickets.puppetlabs.com/browse/IAC-1146)
Only test with Ruby 2.7 and Puppet 6
Add travis ci configuration
Do PDK convert