Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

params.pp $template set to '' -> provided template not used #14

Open
dagobert opened this issue Feb 6, 2015 · 1 comment
Open

params.pp $template set to '' -> provided template not used #14

dagobert opened this issue Feb 6, 2015 · 1 comment

Comments

@dagobert
Copy link
Contributor

dagobert commented Feb 6, 2015

Hi,

I noticed that you provided a template for the main configuration file "monitrc/monit.conf".
You do not used as default by the module, because in params.pp you assign $template to ''.

I wonder. Is this correct. This way it is not possible to use your template unless I copy it out to "my own" configuration module.

Cheers

@alvagante
Copy link
Member

Frankly I don't remember if this was an explicit choice or a forgotten default parameter.
To avoid to change the behaviour of the module, I'd leave the default template empty, and document better in the README how to use the existing one provided by the module. PR welcomed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants