HomeSoftware Heritage

Simplify service class

Description

Simplify service class

It's valid to pass in undef values. That makes the OpenBSD check
redundant. The same goes for the restart command. That removes
pretty much all logic so there is no more benefit to having class
parameters. That's why it now uses all the variables directly from the
nginx class. The has{status,restart} parameters default to true since
Puppet 2.7 so can be removed.

Details

Provenance
Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>Authored on Aug 31 2020, 12:30 PM
vsellierPushed on Sep 25 2020, 11:27 AM
Parents
rSPNGXf042e755b4a8: Merge pull request #1407 from smkillen/master
Branches
Unknown
Tags
Unknown

Event Timeline

Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> committed rSPNGXede91a6e4e14: Simplify service class (authored by Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>).Aug 31 2020, 5:33 PM