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
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
04f8fc048c
<file name='a'/> => <file>a</file>
2021-02-19 14:44:27 +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
e35a3cb19d
add ParamIndex
2021-02-17 22:32:28 +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
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
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
683bd862f5
documentation
2021-01-30 19:42:46 +01:00
Emmanuel Garette
f5f68f3bc8
update license
2021-01-30 08:15:26 +01:00
Emmanuel Garette
f0ba368f2a
suppress separators
2021-01-17 18:12:33 +01:00
Emmanuel Garette
25d4fb9db4
remove oui/non yes/no ... types
2021-01-10 16:53:41 +01:00
Emmanuel Garette
1e0cb96b34
pylint annotator/constrainte.py
2021-01-02 21:23:18 +01:00
Emmanuel Garette
ccc6924866
simplify objectspace
2020-12-23 17:36:50 +01:00
Emmanuel Garette
6c6746c58f
help in variable or family now
2020-12-23 13:29:51 +01:00
Emmanuel Garette
6bda645903
leadership name
2020-11-14 17:20:55 +01:00
Emmanuel Garette
f7db6b0289
add remove_fill attribute
2020-11-08 09:51:33 +01:00
Emmanuel Garette
101dfefaa9
dynamic variable and calculation
2020-10-04 17:27:55 +02:00
Emmanuel Garette
246ac25791
refactor valid_enum
2020-10-04 17:23:55 +02:00
Emmanuel Garette
5f2d1b3eb7
add 'manage' attribut to service, unmanage services is, for example a fake service
2020-07-30 09:37:19 +02:00
Emmanuel Garette
d18248544c
refactor
2020-07-24 14:59:09 +02:00
Emmanuel Garette
17e09354fa
refactoring
2020-07-20 18:13:53 +02:00
Emmanuel Garette
05ca7ed578
refactor
2020-07-16 09:50:01 +02:00
Emmanuel Garette
8c5a9f2cd3
remove override and rougail.conf from template.py
2020-07-08 16:20:06 +02:00
Emmanuel Garette
9fcd72d459
refactor condition
2020-07-07 19:36:26 +02:00
Emmanuel Garette
ef948fa109
refactor
2020-07-07 18:12:16 +02:00
Emmanuel Garette
ef5297a4e4
refactor
2020-07-06 19:47:45 +02:00
Emmanuel Garette
5b4b43d5f4
<file> is not necessarily a template + add <override> tag to override systemd service
2020-04-23 07:34:54 +02:00
Emmanuel Garette
308e980bfd
master/slave => leader/follower
2020-04-18 09:00:03 +02:00
Emmanuel Garette
822483ab70
manage method in service
2020-04-10 18:01:10 +02:00
Benjamin Bohard
0b98f2ff6f
Empaquetage minimal de rougail
2020-03-31 10:35:02 +02:00