summaryrefslogtreecommitdiff
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.
2016-02-24Merge remote-tracking branch 'shared/master' into leap_mastervarac
2016-02-23Use @ infront of erb variablesvarac
2015-12-02Merge remote-tracking branch 'shared/master' into leap_mastervarac
2015-04-17incorporate changes from lelutin (#4285)Micah Anderson
2015-04-17Add GPLv3 licenseMicah Anderson
2015-03-02Merge branch 'document_nagios_custom_logic' into 'master'Jerome Charaoui
Document nagios custom logic Add some note for ppl who need to inject their own logic before creating nagios-related checks. See merge request !1
2015-02-20README: mention how one could reuse nagios resources with their own logicGabriel Filion
Some people might want to inject their own logic before including nagios resources. We can explain that since the nagios resources are in their own part of the manifests, they can shortcut the module's automatic handling of it, and call it manually from their own manifests.
2015-02-20Split nagios resources into their own file.Gabriel Filion
This will make it possible to manage nagios resources from a point external to this module in order to have more fine-grained control.
2015-02-20Rename nagios flag to manage_nagiosGabriel Filion
This is so that we stay consistent between all shared modules that are using this pattern.
2014-12-09add dependency on the stunnel service so refresh_stunnel is not run until ↵reload_dependencyMicah Anderson
the service has been started
2013-09-17fix include stunnel in stunnel::service (https://leap.se/code/issues/3861) - ↵Micah Anderson
this is what b6fbb5f013976f6ad1448ac744ae50b2b1aa0bd0 should have been
2013-09-17Revert "include stunnel in stunnel::service (https://leap.se/code/issues/3861)"Micah Anderson
This reverts commit b6fbb5f013976f6ad1448ac744ae50b2b1aa0bd0. This removes some pieces of service.pp that shouldn't be removed
2013-09-17include stunnel in stunnel::service (https://leap.se/code/issues/3861)varac
2013-07-02we need to make sure that the stunnel package is installed before any ↵Micah Anderson
attempt to refresh happens
2013-06-14Merge remote-tracking branch 'origin/master' into leap_mastervarac
2013-06-14Merge remote-tracking branch 'leap/feature/refresh_stunnels'varac
2013-06-14Merge remote-tracking branch 'leap/parameterized_classes'varac
Conflicts: manifests/init.pp
2013-06-12Variable being ignored due to incorrect quoting.Gabriel Filion
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-06-12Merge remote-tracking branch 'riseup/master' into leapMicah Anderson
2013-04-11fix alignment of the nagios::service blocklintMicah Anderson
2013-04-03Reverting "update template to get rid of older (and unreliable) helper ↵Micah Anderson
functions, these can lead to odd results when variables are explicitly set to undef, and should be avoided" Revert "update template to get rid of older (and unreliable) helper functions, these can lead to odd results when variables are explicitly set to undef, and should be avoided" This reverts commit fbbcc3580bf337478e587db6a688e4b3efee3292.
2013-04-03update template to get rid of older (and unreliable) helper functions, these ↵Micah Anderson
can lead to odd results when variables are explicitly set to undef, and should be avoided
2013-04-03Merge branch 'parameterized_classes' into riseupMicah Anderson
Conflicts: manifests/init.pp
2013-04-03Merge branch 'parameterized_classes' into leapMicah Anderson
Conflicts: manifests/init.pp
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-03Merge remote-tracking branch 'leap/master' into riseupMicah Anderson
Conflicts: manifests/centos.pp manifests/init.pp manifests/linux.pp
2013-04-03fix accidentally removed cluster 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-03qualify variablesMicah Anderson
2013-04-03add READMEMicah Anderson
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
2012-06-14take hiera out of the paramsmh
2012-06-08refactor things for >2.7mh
2011-07-12add stunnel_cluster source selectionmh
2011-03-24Merge remote-tracking branch 'immerda/master'Micah Anderson
2010-10-01add newlineMicah Anderson
2010-09-30check to see if the $stunnel_default_extra variable is set and if not ↵Matt Taggart
provide a reasonable default, adjust some comments
2010-09-30add a way to add additional things to the /etc/default/stunnel4 file byMatt Taggart
setting a variable
2010-08-07remove unnecessary fileserver variable (#2460)mh
2010-05-05improve stunnel init.d scriptmh
2010-04-03add pidfile to check statusmh
status failed often due to a missing pidfile. Add a hardcoded pidfile to improve the status query. Note: in general the status script should be improved! So see this rather as a quickfix.