Commit Graph

268 Commits

Author SHA1 Message Date
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 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 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 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
Emmanuel Garette 99d9fb7e70 modes 2021-02-19 17:06:49 +01:00
Emmanuel Garette 04f8fc048c <file name='a'/> => <file>a</file> 2021-02-19 14:44:27 +01:00
Emmanuel Garette ac0e510e40 manage 2021-02-19 12:31:12 +01:00
Emmanuel Garette 41620cc92e add manage service 2021-02-19 11:03:52 +01:00
Emmanuel Garette bc25216c27 reworks on ip 2021-02-19 10:50:28 +01:00
Emmanuel Garette 0ccd3405db add 'version' to rougail attribut 2021-02-18 18:57:50 +01:00
Emmanuel Garette 493aeff04e pylint 2021-02-18 17:00:12 +01:00
Emmanuel Garette 88f5b20aa9 test index param 2021-02-18 14:08:57 +01:00
Emmanuel Garette 2e16bc2b90 update mode 2021-02-18 14:02:07 +01:00
Emmanuel Garette e35a3cb19d add ParamIndex 2021-02-17 22:32:28 +01:00
Emmanuel Garette 3b2d96566b valid value in param 2021-02-17 17:30:06 +01:00
Emmanuel Garette c11ae16ea0 add port_type example 2021-02-17 12:17:53 +01:00
Emmanuel Garette 0c4deb1016 name of file is a filename 2021-02-17 09:52:17 +01:00
Emmanuel Garette c7ea03b411 check symlink type for _type in service 2021-02-17 07:48:19 +01:00
Emmanuel Garette 85151da58d a family and a variable cannot have the same path 2021-02-16 13:45:43 +01:00
Emmanuel Garette e60fd4adbc check variable and family name 2021-02-16 12:08:45 +01:00
Emmanuel Garette bd299e3d2b documentation + fallback on condition 2021-02-16 10:22:29 +01:00
Emmanuel Garette 6d571d8cac mandatory_if_in only for variables 2021-02-15 18:52:12 +01:00
Emmanuel Garette 86ec629ce3 support optional to condition to *list 2021-02-15 18:23:57 +01:00
Emmanuel Garette d1a39e5183 add in RougailConfig auto_freeze_variable 2021-02-14 18:42:16 +01:00
Emmanuel Garette b0588768af some correction 2021-02-14 17:48:50 +01:00
Emmanuel Garette 0abd4398c7 Simply library usage 2021-02-14 10:11:34 +01:00
Emmanuel Garette 5f76065597 better support type in params 2021-02-12 18:08:28 +01:00
Emmanuel Garette ce507a84f9 support family in family 2021-02-12 07:48:27 +01:00
Emmanuel Garette 8d47923abe fill's documentation 2021-02-10 08:19:33 +01:00
Emmanuel Garette 6f05c22a3d same target and param in check|condition|fill 2021-02-08 17:46:58 +01:00
Emmanuel Garette 0100c692b2 notraisepropertyerror => propertyerror 2021-02-07 09:23:01 +01:00
Emmanuel Garette 66356d8ff0 better _if_in and _if_not_in support 2021-02-06 15:19:34 +01:00
Emmanuel Garette 683bd862f5 documentation 2021-01-30 19:42:46 +01:00
Emmanuel Garette e1fd29001b default_multi is the first value not the last one 2021-01-30 17:47:39 +01:00
Emmanuel Garette b76a04dd19 remove todict 2021-01-30 17:32:21 +01:00
Emmanuel Garette c6cda5ce92 add todict to calc_value 2021-01-30 17:06:56 +01:00
Emmanuel Garette 84a67b20d0 invalid number valid enum in condition 2021-01-30 16:05:55 +01:00
Emmanuel Garette c90324187b convert xxxlist to fill in separate function 2021-01-30 15:36:02 +01:00
Emmanuel Garette 1dcdbd474d add multiple disable_if_in support 2021-01-30 15:19:18 +01:00
Emmanuel Garette e618b3b42c remove unecessary notraisepropertyerror and todict parameters 2021-01-30 12:39:31 +01:00
Emmanuel Garette 0a8be9a355 activate is not a true boolean 2021-01-30 12:29:46 +01:00
Emmanuel Garette f5f68f3bc8 update license 2021-01-30 08:15:26 +01:00
Emmanuel Garette 623d234add remove RENAME_ATTIBUTES 2021-01-26 18:32:22 +01:00
Emmanuel Garette 8eb3b99f27 reorganize modes 2021-01-26 13:42:48 +01:00
Emmanuel Garette cbd11a29c2 reorganise 2021-01-26 13:33:54 +01:00
Emmanuel Garette 0b8a6e399a better quote support 2021-01-25 17:30:24 +01:00
Emmanuel Garette 001a3131d5 simplify tiramisureflector 2021-01-24 18:50:24 +01:00
Emmanuel Garette 28ba5ef8ff remove empty kwargs 2021-01-24 18:18:40 +01:00
Emmanuel Garette 5a66cb7799 reorganisation 2021-01-24 18:11:43 +01:00
Emmanuel Garette f4f0312e46 remove multi=False 2021-01-24 10:17:01 +01:00
Emmanuel Garette 1d33414e6a pylint 2021-01-23 21:21:45 +01:00
Emmanuel Garette f5c7220930 reorganize tiramisureflector 2021-01-23 21:15:26 +01:00
Emmanuel Garette 04e9706a1b simplify tiramisureflector 2021-01-23 13:44:21 +01:00
Emmanuel Garette 4df2d0e2bf better dynamic support 2021-01-23 12:28:02 +01:00
Emmanuel Garette 7545e6105d better opt support 2021-01-23 12:04:58 +01:00
Emmanuel Garette 4d565f811c min before max 2021-01-23 11:58:49 +01:00
Emmanuel Garette 02771b6d73 manage informations 2021-01-23 11:57:46 +01:00
Emmanuel Garette c05c0b9716 manage test attribute 2021-01-23 08:45:41 +01:00
Emmanuel Garette 562ef23dd2 does not allow services and rougail namespace 2021-01-23 08:16:24 +01:00
Emmanuel Garette 5bfa3132e7 manage description in family 2021-01-21 08:50:43 +01:00
Emmanuel Garette 74898b1ed7 pylint 2021-01-19 19:28:42 +01:00
Emmanuel Garette 925c94c63e load_modules is depreciated 2021-01-19 19:28:42 +01:00
Emmanuel Garette 686a218ed0 mutualise load_modules 2021-01-19 19:05:07 +01:00
Emmanuel Garette 0497698203 pylint 2021-01-19 18:06:33 +01:00
Emmanuel Garette 0d87be9d7b pylint + simplify path 2021-01-18 18:52:38 +01:00
Emmanuel Garette 0aba66b8b5 pylint path.py 2021-01-17 18:39:15 +01:00
Emmanuel Garette f0ba368f2a suppress separators 2021-01-17 18:12:33 +01:00
Emmanuel Garette fc2551a8d2 get_variable_obj => get_variable 2021-01-17 18:04:49 +01:00
Emmanuel Garette 529bb1ae7d split check, condition and fill 2021-01-17 18:00:29 +01:00
Emmanuel Garette 06e7196280 object in target 2021-01-17 17:18:56 +01:00
Emmanuel Garette 3e2d221cc4 object in symlink 2021-01-16 20:16:46 +01:00
Emmanuel Garette 82e8057e9d object in constrainte 2021-01-16 20:10:13 +01:00
Emmanuel Garette e34d285eb3 manage group 2021-01-16 08:50:11 +01:00