Commit Graph

279 Commits

Author SHA1 Message Date
Emmanuel Garette a87485abd2 default value for ParamInformation must be empty list for multi value 2021-04-26 17:56:41 +02:00
Emmanuel Garette 0e55679e8b cannot override an existing dictionary in upgrade 2021-04-16 09:20:54 +02:00
Emmanuel Garette 12111397e6 leadership in dynamic family + path of leadership in extra 2021-04-16 09:20:18 +02:00
Emmanuel Garette e354352dc8 simplify group 2021-04-14 17:55:40 +02:00
Emmanuel Garette e5737cd572 remove group constrainte, it's now a normal group 2021-04-13 19:05:01 +02:00
Emmanuel Garette 65d40f494f reident tests 2021-04-13 11:07:10 +02:00
Emmanuel Garette cda68e88a2 fake files 2021-04-12 16:57:57 +02:00
Emmanuel Garette f4471c4875 can add extra annotators 2021-04-12 15:04:38 +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 5add91082f auto_freeze_variable cannot be force_default_on_freeze 2021-03-28 15:49:40 +02:00
Emmanuel Garette 1c7e2b9f0b rougail/template is a module 2021-03-27 15:41:59 +01:00
Emmanuel Garette 17e7f4caa0 update improvment 2021-03-27 07:45:45 +01:00
Emmanuel Garette 2a77093187 param with tiramisu3 library 2021-03-27 07:45:11 +01:00
Emmanuel Garette db69df3b86 external function support in fill 2021-03-27 07:44:42 +01:00
Emmanuel Garette 2b2cc4cf20 name in family or variable must be valid 2021-03-27 07:44:13 +01:00
Emmanuel Garette 20de4443ae do not generate empty file 2021-03-19 10:32:08 +01:00
Emmanuel Garette 1e6c9060b5 better debug information 2021-03-19 10:31:29 +01:00
Emmanuel Garette e66a462710 add creole_client and is_empty in creole_legacy 2021-03-19 10:31:05 +01:00
Emmanuel Garette 9eb6a67ac6 manage fill with multi variable 2021-03-19 10:16:06 +01:00
Emmanuel Garette d895c46729 auto_freeze is now allowed in extra 2021-03-19 10:15:34 +01:00
Emmanuel Garette 63e679036b add valid_enum with function and rename domain type to domainname 2021-03-19 10:14:08 +01:00
Emmanuel Garette 12acf2a3f4 update tests 2021-03-19 10:05:50 +01:00
Emmanuel Garette fc686e9b7f if name is a variable, it could be disabled 2021-03-08 17:56:28 +01:00
Emmanuel Garette 6a12504e8c remove variable in param and remove check 2021-03-08 06:52:49 +01:00
Emmanuel Garette e11105db32 calculation with param 'information' from a variable 2021-03-08 06:52:01 +01:00
Emmanuel Garette 55c3021a5d first support to RougailUpgrade 2021-02-28 21:08:25 +01:00
Emmanuel Garette 5eeaaedded hack to support valid_network_netmask 2021-02-28 21:07:36 +01:00
Emmanuel Garette b049cb9324 file name information if option is not found 2021-02-28 20:41:57 +01:00
Emmanuel Garette cbd1081371 better support of auto_freeze 2021-02-28 20:40:18 +01:00
Emmanuel Garette af8f0bfc9a support heritage 2021-02-28 20:38:45 +01:00
Emmanuel Garette 651d89dd04 add new engine creole_legacy 2021-02-28 20:16:57 +01:00
Emmanuel Garette f4538004c7 activate with disabled variable 2021-02-27 18:07:03 +01:00
Emmanuel Garette 83156863da twice disable support 2021-02-27 17:24:18 +01:00
Emmanuel Garette 88f864cd2a allow multiple IP 2021-02-26 22:22:38 +01:00
Emmanuel Garette 3e7ae41061 check owner, deployed_service and various improvment 2021-02-26 20:38:17 +01:00
Emmanuel Garette 46ba8c8067 doc for valid_enum 2021-02-24 19:22:07 +01:00
Emmanuel Garette 54bf1c35a7 we can force mandatory to False 2021-02-23 21:36:26 +01:00
Emmanuel Garette 2ca7b9a6fc personaze mode 2021-02-22 19:28:51 +01:00
Emmanuel Garette 38e54fe187 tests: pretty print json in dump 2021-02-21 19:51:09 +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 b094e5a6ca test patch with jinja2 2021-02-21 11:04:55 +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 710711b253 add jinja template with include 2021-02-20 19:54:30 +01:00
Emmanuel Garette 20d8242d47 add jinja2 templating 2021-02-20 18:02:50 +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