46ba8c8067
doc for valid_enum
2021-02-24 19:22:07 +01:00
54bf1c35a7
we can force mandatory to False
2021-02-23 21:36:26 +01:00
2ca7b9a6fc
personaze mode
2021-02-22 19:28:51 +01:00
38e54fe187
tests: pretty print json in dump
2021-02-21 19:51:09 +01:00
e6afef6a81
add servicelist
2021-02-21 19:48:30 +01:00
c149d7c38d
include => included fixes #2
2021-02-21 16:58:56 +01:00
b094e5a6ca
test patch with jinja2
2021-02-21 11:04:55 +01:00
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
710711b253
add jinja template with include
2021-02-20 19:54:30 +01:00
20d8242d47
add jinja2 templating
2021-02-20 18:02:50 +01:00
807842e680
coverage + pylint
2021-02-20 16:07:38 +01:00
eb3720d6bf
separate RougailTemplate to RougailSystemdTemplate
2021-02-20 15:46:13 +01:00
ba41b27dbf
separate engine from template
2021-02-20 10:41:53 +01:00
04f8fc048c
<file name='a'/> => <file>a</file>
2021-02-19 14:44:27 +01:00
ac0e510e40
manage
2021-02-19 12:31:12 +01:00
41620cc92e
add manage service
2021-02-19 11:03:52 +01:00
bc25216c27
reworks on ip
2021-02-19 10:50:28 +01:00
0ccd3405db
add 'version' to rougail attribut
2021-02-18 18:57:50 +01:00
493aeff04e
pylint
2021-02-18 17:00:12 +01:00
88f5b20aa9
test index param
2021-02-18 14:08:57 +01:00
2e16bc2b90
update mode
2021-02-18 14:02:07 +01:00
e35a3cb19d
add ParamIndex
2021-02-17 22:32:28 +01:00
3b2d96566b
valid value in param
2021-02-17 17:30:06 +01:00
c11ae16ea0
add port_type example
2021-02-17 12:17:53 +01:00
236dda2e3e
add test for iplist
2021-02-17 10:04:57 +01:00
0c4deb1016
name of file is a filename
2021-02-17 09:52:17 +01:00
c7ea03b411
check symlink type for _type in service
2021-02-17 07:48:19 +01:00
1272524cc8
test redefine without family
2021-02-16 13:50:58 +01:00
85151da58d
a family and a variable cannot have the same path
2021-02-16 13:45:43 +01:00
e60fd4adbc
check variable and family name
2021-02-16 12:08:45 +01:00
bd299e3d2b
documentation + fallback on condition
2021-02-16 10:22:29 +01:00
6d571d8cac
mandatory_if_in only for variables
2021-02-15 18:52:12 +01:00
86ec629ce3
support optional to condition to *list
2021-02-15 18:23:57 +01:00
d1a39e5183
add in RougailConfig auto_freeze_variable
2021-02-14 18:42:16 +01:00
b0588768af
some correction
2021-02-14 17:48:50 +01:00
0abd4398c7
Simply library usage
2021-02-14 10:11:34 +01:00
5f76065597
better support type in params
2021-02-12 18:08:28 +01:00
ce507a84f9
support family in family
2021-02-12 07:48:27 +01:00
6f05c22a3d
same target and param in check|condition|fill
2021-02-08 17:46:58 +01:00
0100c692b2
notraisepropertyerror => propertyerror
2021-02-07 09:23:01 +01:00
66356d8ff0
better _if_in and _if_not_in support
2021-02-06 15:19:34 +01:00
e1fd29001b
default_multi is the first value not the last one
2021-01-30 17:47:39 +01:00
b76a04dd19
remove todict
2021-01-30 17:32:21 +01:00
c6cda5ce92
add todict to calc_value
2021-01-30 17:06:56 +01:00
6af2b3d1f3
add 10load_disabled_if_in_multi_param2 test
2021-01-30 15:29:07 +01:00
d78855e70a
correction in example
2021-01-30 15:24:47 +01:00
1dcdbd474d
add multiple disable_if_in support
2021-01-30 15:19:18 +01:00
e618b3b42c
remove unecessary notraisepropertyerror and todict parameters
2021-01-30 12:39:31 +01:00
0a8be9a355
activate is not a true boolean
2021-01-30 12:29:46 +01:00
cbd11a29c2
reorganise
2021-01-26 13:33:54 +01:00