Commit Graph

22 Commits

Author SHA1 Message Date
Emmanuel Garette fbc5f9374e owner and group could be a variable 2022-01-26 13:01:40 +01:00
Emmanuel Garette e8667848e9 remove included template 2022-01-09 18:43:54 +01:00
Emmanuel Garette 8cf8c9b8eb provider support 2021-12-10 23:35:44 +01:00
Emmanuel Garette d41a879ed9 add undisable attribut to service 2021-11-26 22:46:34 +01:00
Emmanuel Garette a1c3b2b19c templates_dir and templates_dir can be a list 2021-11-26 21:54:26 +01:00
Emmanuel Garette f9acc7d6f8 better leader support in extra 2021-11-23 08:51:03 +01:00
Emmanuel Garette 6f6b761e3d do not raise if origin directory is deleted 2021-08-28 07:21:44 +02:00
Emmanuel Garette 38b30c12b4 could do extra['myvariable'] in templates 2021-05-22 16:32:22 +02:00
Emmanuel Garette 4711206c55 allow any character as service name 2021-05-14 07:00:55 +02:00
Emmanuel Garette 9c1589ca53 better systemd service support 2021-05-13 22:30:58 +02:00
Emmanuel Garette b7cedd85fb support leadership name in extra 2021-04-12 15:04:15 +02:00
Emmanuel Garette 3999969aa0 In creole template support of %%lead.follower2 and %%lead['follower2'] notation
%if 'follower1' in %%lead now search if a follower exists has follower
2021-04-04 19:46:05 +02:00
Emmanuel Garette 1249276b9d now we can personalise default setting for file et override 2021-04-04 11:03:49 +02:00
Emmanuel Garette 1e6c9060b5 better debug information 2021-03-19 10:31:29 +01:00
Emmanuel Garette fc686e9b7f if name is a variable, it could be disabled 2021-03-08 17:56:28 +01:00
Emmanuel Garette 88f864cd2a allow multiple IP 2021-02-26 22:22:38 +01:00
Emmanuel Garette e6afef6a81 add servicelist 2021-02-21 19:48:30 +01:00
Emmanuel Garette c149d7c38d include => included fixes #2 2021-02-21 16:58:56 +01:00
Emmanuel Garette 0be7a72d28 Add new attribute "include" to "file"
This attribute have 3 values:
- "no": it's a normal file
- "name": the name is included in another template so it is generated before other templates
- "content": the content is included in another template so it is generated before the other templates and is not installed on the server

fixes #2
2021-02-21 10:44:48 +01:00
Emmanuel Garette 807842e680 coverage + pylint 2021-02-20 16:07:38 +01:00
Emmanuel Garette eb3720d6bf separate RougailTemplate to RougailSystemdTemplate 2021-02-20 15:46:13 +01:00
Emmanuel Garette ba41b27dbf separate engine from template 2021-02-20 10:41:53 +01:00