Commit Graph

77 Commits

Author SHA1 Message Date
Daniel Rodríguez
1ae8918f1e fix(service): service restart handling with watch requisite
Previously, the state for the keepalived service included the enable
attribute. This would prevent the watch requisite to restart the service
if the service was already running but not enabled.

For reference, https://docs.saltproject.io/en/latest/ref/states/requisites.html#watch

Split service handling in service.enabled and service.running.
2021-06-04 15:43:40 +02:00
Imran Iqbal
89986bfe5f
test: standardise use of share suite & _mapdata state [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/302
2021-03-23 21:29:20 +00:00
Imran Iqbal
f07212dfbb
fix(osfamilymap): add package for Gentoo 2021-02-24 09:58:24 +00:00
Roman
a67b1426dc
Merge pull request #44 from hatifnatt/scripts
feat(scripts): deploy helper scripts
2020-12-06 18:12:07 +03:00
Hatifnatt
5fc37fa6fb feat(scripts): deploy helper scripts
Deploy arbitrary helper scripts to use them in configuration file
2020-11-30 18:10:54 +03:00
Hatifnatt
20d67c13a1 feat(config): add support for switch type parameters
In config file render only key name if key value is boolean and it is 'true'
2020-11-26 15:11:24 +03:00
Imran Iqbal
16d6742949 style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
2020-07-19 23:26:39 +01:00
Ricardo Klein
0490489614
fix(service): restart service if config changes
* fixes #37
2020-04-07 14:15:36 +01:00
Ricardo Klein
45e3261e53 feat(vrrp_sync_group): added option for vrrp_sync_group
* Changed the template to include new config setting group
* Added example to pillar.example
* Included test (could be better if we check the entire section and
  ensure that it is in the correct format?)
2020-04-06 22:40:52 +02:00
Imran Iqbal
e01cd28115 fix(libtofs): “files_switch” mess up the variable exported by “map.jinja” [skip ci]
* Checked using https://github.com/myii/ssf-formula/pull/131
2020-02-14 19:09:47 +00:00
Imran Iqbal
4391459df8
fix(keepalived.conf.tmpl.jinja): fix has no attribute error
* https://freenode.logbot.info/saltstack-formulas/20200122#c3126298-c3126299
2020-01-22 22:15:56 +00:00
Nicolas Rodriguez
96fe445946 refactor(pillar): sync map.jinja with template-formula 2019-08-25 23:19:15 +02:00
Imran Iqbal
cc106e3276 chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.6.0)
2019-08-17 16:05:40 +01:00
Imran Iqbal
7a0473737c chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.2)
2019-07-25 09:36:59 +01:00
Imran Iqbal
4588916d08 chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
2019-07-20 06:14:28 +01:00
Nicolas Rodriguez
51f872ed39 feat(semantic-release): implement an automated changelog 2019-05-13 16:16:29 +02:00
Jeff Baskin
2c97cd79c9 Refactored. 2017-01-21 00:59:22 -05:00
Jeff Baskin
2f8ff3ec6b Corrected carryover indention. 2017-01-21 00:12:44 -05:00
Jeff Baskin
726f34379d Got carryover indention correct. 2017-01-20 23:27:03 -05:00
Jeff Baskin
306fd72287 Added additional indentions. 2017-01-20 22:56:08 -05:00
Jeff Baskin
9a3410a34c Starting the work to add indention back in. 2017-01-20 22:36:42 -05:00
Jeff Baskin
1ee609a616 General cleanup. 2017-01-19 09:48:28 -05:00
Jeff Baskin
80b46aca2f Correcting the import. 2017-01-19 09:25:24 -05:00
Jeff Baskin
52a9281d42 Correcting the import. 2017-01-19 09:15:12 -05:00
Jeff Baskin
3f85ced525 Replaced the old macro. 2017-01-19 09:06:48 -05:00
Jeff Baskin
c545484961 Added additional carryovers. 2017-01-19 08:25:12 -05:00
Jeff Baskin
f419f265e9 Adding additional vrrp 2017-01-19 08:09:44 -05:00
Jeff Baskin
671f64b672 Added the first of the carryovers. 2017-01-19 07:48:26 -05:00
Jeff Baskin
4c329515f7 refactored. 2017-01-18 21:47:53 -05:00
Jeff Baskin
da070c862b Added ordered hashes. 2017-01-18 21:38:51 -05:00
Jeff Baskin
243ab902ab Sorted the dictionary. 2017-01-18 21:29:15 -05:00
Jeff Baskin
f96a5b9b4b Added key hash pairs. 2017-01-18 20:40:19 -05:00
Jeff Baskin
d66a776ddb Added key array pairs. 2017-01-18 20:06:48 -05:00
Jeff Baskin
ff6fc02595 Refactored the testing scripts. 2017-01-18 19:51:16 -05:00
Jeff Baskin
096e830281 Get the static items tested. 2017-01-18 19:11:23 -05:00
Dan Lloyd
73e8a88cd1 Change unicode right single quote to ascii
This runs fine with python 3 but 2.7 fails when rendering the template even though this occurs in a comment.
2016-12-06 17:32:29 -05:00
Jeff Baskin
b5342f3813 Added a macro explanation. 2016-11-08 13:48:11 -05:00
Jeff Baskin
3f4ab0c27a Clean up. 2016-10-24 05:34:39 -04:00
Jeff Baskin
0541f8b4ce Added null string handler. 2016-10-23 23:25:07 -04:00
Jeff Baskin
914bad367c Added null string handler. 2016-10-23 23:19:41 -04:00
Jeff Baskin
50fdd24d42 Added null string handler. 2016-10-23 23:16:13 -04:00
Jeff Baskin
5e4e5d8b4a Added null string handler. 2016-10-23 23:12:25 -04:00
Jeff Baskin
b0c56cadab Added a missing space. 2016-10-23 22:23:59 -04:00
Jeff Baskin
8e422ac369 Added the missing space. 2016-10-23 22:20:25 -04:00
Jeff Baskin
4fbbe5d822 Added the carryover entry. 2016-10-23 22:12:47 -04:00
Jeff Baskin
8fb48f7225 Getting the special entries added. 2016-10-23 22:01:51 -04:00
Jeff Baskin
948e4eede5 Removed the unnecessary space. 2016-10-23 21:09:30 -04:00
Jeff Baskin
42cde887c8 Correcting the indentation. 2016-10-23 21:03:24 -04:00
Jeff Baskin
35f7294ea9 Correcting the indentation. 2016-10-23 20:53:01 -04:00
Jeff Baskin
4558329742 Correcting the indentation. 2016-10-23 20:50:06 -04:00