summaryrefslogtreecommitdiff
path: root/manifests/init.pp
AgeCommit message (Collapse)Author
2016-06-14notify the refresh_stunnel exec when the conf files changeHEADmasterMicah Anderson
2016-06-14Ensure ordering for package, service and defaultsMicah Anderson
2016-06-07fix refresh_stunnel.sh sometimes never running.Micah Anderson
It turns out that in some corner-cases, the script is not called: (1) start the deploy, create files in /var/lib/puppet/stunnel4/config (2) halt puppet before apply finishes (3) re-run deploy in this scenario, next time you run deploy, refresh_stunnel will never get called to populate /etc/stunnel, because the files in /var/lib/puppet/stunnel4/config haven't changed. This problem can be really confusing when it happens. To fix this, we just run refresh_stunnel every, it is pretty fast and the script has more complete logic for what to do than puppet, which has only an asymmetrical view on the situation.
2014-12-09add dependency on the stunnel service so refresh_stunnel is not run until ↵reload_dependencyMicah Anderson
the service has been started
2013-07-02we need to make sure that the stunnel package is installed before any ↵Micah Anderson
attempt to refresh happens
2013-06-12Previous to this commit, when a stunnel::service definition was removed, theMicah Anderson
/etc/stunnel/${name}.conf was left, and the stunnel remained running. Also, if you changed a parameter in a stunnel::service definition, the .conf file was changed, but the service restart may not happen properly. This commit adds functionality to properly clean up running stunnels that are no longer managed, and restart managed ones whose parameters have changed
2013-04-03format the class variablesparameterized_classesMicah Anderson
2013-04-03fix merge conflict error causing the $cluster parameter to go missingMicah Anderson
2013-04-03set an empty default for the $default_extra parameterMicah Anderson
2013-04-03remove variable defaults, they are handled by the paramterization of the classMicah Anderson
make sure template variables are properly looked up.
2013-04-03move the $use_nagios check into the stunnel::service define, where it is moreMicah Anderson
useful for creating accurate nagios-statd-proc checks for the correct stunnel names
2013-04-03switch to parameterized classes, changing the variable names as appropriate ↵Micah Anderson
to remove the redundant stunnel_ prefix
2013-04-03minor additional lintingMicah Anderson
2013-04-03lintMicah Anderson
2010-03-31introduce centos supportmh
2010-02-24refactoring - no behavior changemh
- everything goes into its own file -> autolookup - order the params of the define nicer -> debugging! - move nagios stuff to the init class -> configure module at the very first point - move variable version enforcing to init class -> configure module at the very first point
2009-11-11its a mistake to use the puppet keyword 'debug', changed to use theMicah Anderson
original 'debuglevel' and fixed the template
2009-11-11fix incorrect debug variable name, should be 'debug' not 'debuglevel'Micah Anderson
which was not referenced in the templates
2009-10-07remove the stunnel.conf pieces from the service definitionsMicah Anderson
2009-10-02rename stunnel::client to be stunnel::service to be less confusing (aMicah Anderson
service can be a client in stunnel, and a service can act in server mode, which would be confusing if it was called stunnel::client)
2009-10-02switch parameters to lowercase, seems to be a puppet restrictionMicah Anderson
2009-10-02fix the client variable configuration in the templateMicah Anderson
also fix the service depending on the unnecessary stunnel.conf
2009-10-02fix missing double-quoteMicah Anderson
2009-10-02move variables into the :client defineMicah Anderson
2009-10-02fixed missing $ on variablesMicah Anderson
2009-10-02initial check-in of stunnel module, based on stunnel4Micah Anderson