feat: add a parameter to define if we manage nfs server service ensure state - #183
feat: add a parameter to define if we manage nfs server service ensure state#183ttousai wants to merge 3 commits into
Conversation
|
That sounds like an anti pattern to me. No 2 tools should manage the same resource |
|
Usually I would agree with the comment #183 (comment) But other modules are doing the same: class parameter to set the ensure or enable state. @ttousai can you please rebase your branch? |
|
I tend to agree with @TheMeier on this one. If there is another tool involved managing the service state that tool should manage the enabled/disabled state as well. |
|
There are reasons why puppet should not start the service. e.g. nfs ist started by pacemaker/corosync. |
|
To me the example you mention is exactly the kind of edge case where I would set |
|
For e.g. pacemaker setups, everything should be managed by Puppet, except the state of the service, as this should be handled by pacemaker. There's already a parameter available |
We want puppet-nfs to manage the NFS service but not manage the service state (running/stopped) because that state is managed by another tool.