now we can personalise default setting for file et override

This commit is contained in:
Emmanuel Garette 2021-04-04 11:03:49 +02:00
parent 5add91082f
commit 1249276b9d
176 changed files with 553 additions and 3869 deletions

View File

@ -14,7 +14,9 @@ Pour modifier il suffit de faire :
RougailConfig[key] = value
```
## Les répertoires des dictionnaires
## Configuration de chargement des dictionnaires
### Les répertoires des dictionnaires
Il existe deux types de répertoires de dictionnaires :
@ -36,7 +38,7 @@ RougailConfig['extra_dictionaries']['example'] = ['/dir1', '/dir2']
Les dictionnaires sont chargés dans le même ordre que les dictionnaires principaux.
## La DTD
### La DTD
Rougail a besoin du fichier de DTD pour lire les fichiers dictionnaire.
@ -44,51 +46,75 @@ Par défaut le fichier de la DTD est dans le sous répertoire "data" du réperto
Pour pouvez changer le répertoire de destination de la DTD et le nom du fichier avec la clef "dtdfilename".
## Le fichier de fonction
### Le fichier de fonction
Le fichier qui contient les fonctions personnalisés est géré dans la clef "functions_file" et a comme valeur par défaut "/srv/rougail/functions.py".
## Le répertoire des templates
Le répertoire des templates est géré dans la clef "templates_dir" et a comme valeur par défaut : "/srv/rougail/templates".
## Le moteur de templates par défaut
Le moteur de template est géré dans la clef "default_engine" et a comme valeur par défaut : "creole". Les valeurs possible sont "none", "creole" ou "jinja2".
## Le répertoire des patchs
Le répertoire des patches est géré dans la clef "patches_dir" et a comme valeur par défaut : "/srv/rougail/patches".
## Le répertoire temporaire
Le répertoire temporaire est utile lors de la génération de template. Il contient une copie des templates avec, éventuellement, les patches appliqués sur les templates.
Le répertoire de temporaire est géré dans la clef "tmp_dir" et a comme valeur par défaut : "/srv/rougail/tmp".
## Le répertoire de destination des fichiers générés
Le répertoire de destination des fichiers générés est géré dans la clef "destinations_dir" et a comme valeur par défaut : "/srv/rougail/destinations".
## La variable auto_freeze
### La variable auto_freeze
La propriété auto_freeze n'est appliqué que une variable spécifique passe à True. Par défaut le nom de la variable est "instancied_module", mais il est possible de changer le nom de cette variable via la clef "auto_freeze_variable".
## Les modes
### Les modes
Les modes sont personnalisables dans Rougail. Par défaut les modes sont "basic", "normal" et "expert".
Il est possible de changer cette liste via la clef "modes_level".
Si vous changer ces valeurs, penser à changer les modes par défaut des familles et des variables.
## Le mode par défaut pour une famille
### Le mode par défaut pour une famille
Le mode par défaut d'une famille est "basic". Il est possible de changer le mode par défaut d'une famille via la clef "default_family_mode".
## Le mode par défaut pour une variable
### Le mode par défaut pour une variable
Le mode par défaut d'une variable est "normal". Il est possible de changer le mode par défaut d'une variable via la clef "default_variable_mode".
## Le nom des fonctions internes
### Le nom des fonctions internes
Il est possible d'ajouter des fonctions interne via la clef "internal_functions".
## Configuration de la templatisation
### Le répertoire des templates
Le répertoire des templates est géré dans la clef "templates_dir" et a comme valeur par défaut : "/srv/rougail/templates".
### Le répertoire des patchs
Le répertoire des patches est géré dans la clef "patches_dir" et a comme valeur par défaut : "/srv/rougail/patches".
### Le répertoire temporaire
Le répertoire temporaire est utile lors de la génération de template. Il contient une copie des templates avec, éventuellement, les patches appliqués sur les templates.
Le répertoire de temporaire est géré dans la clef "tmp_dir" et a comme valeur par défaut : "/srv/rougail/tmp".
### Le répertoire de destination des fichiers générés
Le répertoire de destination des fichiers générés est géré dans la clef "destinations_dir" et a comme valeur par défaut : "/srv/rougail/destinations".
## La configuration par défaut des fichiers
### Le moteur de templates par défaut
Le moteur de template est géré dans la clef "default_files_engine" et a comme valeur par défaut : "creole". Les valeurs possible sont "none", "creole" ou "jinja2".
### Les droits par défaut des fichiers
Les droits des fichiers générés est géré dans la clef "default_files_mode" et a comme valeur par défaut : "0644".
### Le propriétaire par défaut des fichiers
Le propriétaire des fichiers générés est géré dans la clef "default_files_owner" et a comme valeur par défaut : "root".
Le groupe propriétaire des fichiers générés est géré dans la clef "default_files_group" et a comme valeur par défaut : "root".
### La méthode d'inclusion par défaut des fichiers
La méthode d'inclusion des fichiers générés est géré dans la clef "default_files_included" et a comme valeur par défaut : "no". Les valeurs possible sont "no", "name" et "content".
'default_files_included': 'no',
## La configuration par défaut des overrides
### Le moteur de templates par défaut
Le moteur de template est géré dans la clef "default_overrides_engine" et a comme valeur par défaut : "creole". Les valeurs possible sont "none", "creole" ou "jinja2".

View File

@ -97,12 +97,14 @@ Attention : les deux variables "my_variable1" et "my_variable2" doivent être mu
Par défaut les droits du fichier généré sont "0644" avec comme utilisateur "root" et groupe "root".
Il est possible de définir une autre valeur à un ou plusieurs de ces attributs :
Il est possible de définir les droits, l'utilisateur ou le groupe d'un fichier généré :
```
<file mode="0640" owner="nobody" group="squid">/etc/squid/squid.conf</file>
```
Il est possible de personnaliser les droits par défaut dans la [configuration de rougail](../dev/config.md)
## Désactiver la génération d'un fichier
Il est possible de définir une [condition](../condition/README.md) de type "disabled_if_in" ou "disabled_if_not_in" sur une balise fichier :
@ -150,6 +152,8 @@ Ou d'utiliser le moteur "jinja2" :
<file engine="jinja2">/etc/squid/squid.conf</file>
```
Il est possible de personnaliser le moteur par défaut dans la [configuration de rougail](../dev/config.md)
## Inclusion de template
Un attribut "included" permet de définir la nature du fichier. Cet attribut peut avoir trois valeurs :
@ -166,3 +170,5 @@ Exemples :
```
Bien entendu, c'est au développeur de lister ou d'inclure le contenu de ce template dans le fichier de destination. Cet attribut permet juste de garantir que le fichier sera fait avant l'autre et de ne pas l'installer sur le serveur si ce n'est pas nécessaire.
Il est possible de personnaliser les methodes d'inclusion par défaut dans la [configuration de rougail](../dev/config.md)

View File

@ -41,3 +41,5 @@ Ou d'utiliser le moteur "jinja2" :
```
<override engine="jinja2"/>
```
Il est possible de personnaliser le moteur par défaut dans la [configuration de rougail](../dev/config.md)

View File

@ -30,7 +30,6 @@ from typing import Tuple
from ..i18n import _
from ..utils import normalize_family
from ..error import DictConsistencyError
from ..config import RougailConfig
# a object's attribute has some annotations
# that shall not be present in the exported (flatened) XML
ERASED_ATTRIBUTES = ('redefine', 'exists', 'optional', 'remove_check', 'namespace',
@ -97,6 +96,7 @@ class ServiceAnnotator:
family = self._gen_family(eltname,
path,
service.xmlfiles,
with_informations=False,
)
if isinstance(values, dict):
values = list(values.values())
@ -165,17 +165,21 @@ class ServiceAnnotator:
dtd_key_type = elttype + '_type'
else:
dtd_key_type = key + '_type'
elt_type = getattr(elt, dtd_key_type, 'string')
if elt_type == 'variable':
elt_type = 'symlink'
family.variable.append(self._generate_element(elt_type,
dtd_key_type,
elttype,
key,
value,
elt,
f'{subpath}.{key}'
))
elt_type = getattr(elt, dtd_key_type, None)
if elt_type:
if elt_type == 'variable':
elt_type = 'symlink'
family.variable.append(self._generate_element(elt_type,
dtd_key_type,
elttype,
key,
value,
elt,
f'{subpath}.{key}'
))
else:
setattr(family.information, key, value)
family.variable.append(activate_obj)
families.append(family)
return families
@ -205,7 +209,8 @@ class ServiceAnnotator:
def _gen_family(self,
name,
path,
xmlfiles
xmlfiles,
with_informations=True,
):
family = self.objectspace.family(xmlfiles)
family.name = normalize_family(name)
@ -216,6 +221,8 @@ class ServiceAnnotator:
family,
None,
)
if with_informations:
family.information = self.objectspace.information(xmlfiles)
return family
def _generate_element(self,
@ -263,8 +270,6 @@ class ServiceAnnotator:
raise DictConsistencyError(msg, 69, override.xmlfiles)
self.uniq_overrides.append(service_name)
override.name = service_name
if not hasattr(override, 'engine'):
override.engine = RougailConfig['default_engine']
if not hasattr(override, 'source'):
override.source = f'{service_name}.service'
@ -279,8 +284,6 @@ class ServiceAnnotator:
msg = _(f'attribute "source" is mandatory for the file "{file_.name}" '
f'"({service_name})"')
raise DictConsistencyError(msg, 34, file_.xmlfiles)
if not hasattr(file_, 'engine'):
file_.engine = RougailConfig['default_engine']
def _update_ip(self,
ip,

View File

@ -229,12 +229,9 @@ class VariableAnnotator(Walk): # pylint: disable=R0903
"""Convert variable help
"""
for variable in self.get_variables():
if not hasattr(variable, 'help'):
continue
if not hasattr(variable, 'information'):
variable.information = self.objectspace.information(variable.xmlfiles)
self._convert_help(variable)
@staticmethod
def _convert_help(variable) -> None:
if hasattr(variable, 'help'):
variable.information.help = variable.help
del variable.help

View File

@ -42,9 +42,14 @@ RougailConfig = {'dictionaries_dir': [join(ROUGAILROOT, 'dictionaries')],
'functions_file': join(ROUGAILROOT, 'functions.py'),
'variable_namespace': 'rougail',
'auto_freeze_variable': 'server_deployed',
'default_engine': 'creole',
'internal_functions': [],
'modes_level': ['basic', 'normal', 'expert'],
'default_family_mode': 'basic',
'default_variable_mode': 'normal',
'default_files_engine': 'creole',
'default_files_mode': '0644',
'default_files_owner': 'root',
'default_files_group': 'root',
'default_files_included': 'no',
'default_overrides_engine': 'creole',
}

View File

@ -62,13 +62,13 @@
<!ATTLIST file variable CDATA #IMPLIED>
<!ATTLIST file variable_type (variable) "variable">
<!ATTLIST file source CDATA #IMPLIED>
<!ATTLIST file mode CDATA "0644">
<!ATTLIST file owner CDATA "root">
<!ATTLIST file group CDATA "root">
<!ATTLIST file mode CDATA #IMPLIED>
<!ATTLIST file owner CDATA #IMPLIED>
<!ATTLIST file group CDATA #IMPLIED>
<!ATTLIST file filelist CDATA #IMPLIED>
<!ATTLIST file redefine (True|False) "False">
<!ATTLIST file engine (none|creole|jinja2|creole_legacy) #IMPLIED>
<!ATTLIST file included (no|name|content) "no">
<!ATTLIST file included (no|name|content) #IMPLIED>
<!ELEMENT override EMPTY>
<!ATTLIST override source CDATA #IMPLIED>
@ -83,6 +83,7 @@
<!ATTLIST family mode CDATA #IMPLIED>
<!ATTLIST family hidden (True|False) "False">
<!ATTLIST family dynamic CDATA #IMPLIED>
<!ATTLIST family public CDATA #IMPLIED>
<!ELEMENT variable (value*)>
<!ATTLIST variable name CDATA #REQUIRED>
@ -101,6 +102,7 @@
<!ATTLIST variable remove_check (True|False) "False">
<!ATTLIST variable remove_condition (True|False) "False">
<!ATTLIST variable remove_fill (True|False) "False">
<!ATTLIST variable public CDATA #IMPLIED>
<!ATTLIST variable test CDATA #IMPLIED>
<!ELEMENT value (#PCDATA)>

View File

@ -34,10 +34,10 @@ from os.path import dirname, join, isfile, isdir, abspath
try:
from tiramisu3 import Config
from tiramisu3 import Config, undefined
from tiramisu3.error import PropertiesOptionError # pragma: no cover
except ModuleNotFoundError: # pragma: no cover
from tiramisu import Config
from tiramisu import Config, undefined
from tiramisu.error import PropertiesOptionError
from ..config import RougailConfig
@ -55,6 +55,11 @@ log = logging.getLogger(__name__)
log.addHandler(logging.NullHandler())
INFORMATIONS = {'files': ['source', 'mode', 'owner', 'group', 'engine', 'included'],
'overrides': ['name', 'source', 'engine'],
}
class RougailLeaderIndex:
"""This object is create when access to a specified Index of the variable
"""
@ -157,22 +162,26 @@ class RougailExtra:
For example %%extra1.family.variable
"""
def __init__(self,
suboption: Dict) -> None:
self.suboption = suboption
suboption: Dict,
) -> None:
self._suboption = suboption
def __getattr__(self,
key: str,
) -> Any:
try:
return self.suboption[key]
return self._suboption[key]
except KeyError:
raise AttributeError(f'unable to find extra "{key}"')
def __iter__(self):
return iter(self.suboption.values())
return iter(self._suboption.values())
def items(self):
return self.suboption.items()
return self._suboption.items()
def __str__(self):
return f'<extra object with: {self._suboption}>'
class RougailBaseTemplate:
@ -286,9 +295,14 @@ class RougailBaseTemplate:
chdir(self.templates_dir)
for option in await self.config.option.list(type='all'):
namespace = await option.option.name()
is_var_namespace = namespace == self.rougailconfig['variable_namespace']
is_variable_namespace = namespace == self.rougailconfig['variable_namespace']
if namespace == 'services':
is_service_namespace = 'root'
else:
is_service_namespace = False
self.rougail_variables_dict[namespace] = await self.load_variables(option,
is_var_namespace,
is_variable_namespace,
is_service_namespace,
)
for template in listdir('.'):
self.prepare_template(template)
@ -303,6 +317,7 @@ class RougailBaseTemplate:
type_ = await fills.option.name()
for fill_obj in await fills.list('all'):
fill = await fill_obj.value.dict()
await self.get_informations(type_, fill, fill_obj)
if 'included' in fill:
if (fill['included'] == 'no' and included is True) or \
(fill['included'] != 'no' and included is False):
@ -317,6 +332,19 @@ class RougailBaseTemplate:
self.post_instance()
chdir(ori_dir)
async def get_informations(self,
type_: str,
dico: dict,
obj: 'Option',
) -> None:
for key in INFORMATIONS.get(type_, []):
default_key = f'default_{type_}_{key}'
if default_key in RougailConfig:
default_value = RougailConfig[default_key]
else:
default_value = undefined
dico[key] = await obj.information.get(key, default_value)
def desactive_service(self,
service_name: str,
):
@ -345,7 +373,8 @@ class RougailBaseTemplate:
async def load_variables(self,
optiondescription,
is_variable_namespace,
is_variable_namespace: str,
is_service_namespace: str,
) -> RougailExtra:
"""Load all variables and set it in RougailExtra objects
"""
@ -366,8 +395,18 @@ class RougailBaseTemplate:
)
variables[leader_name] = leader
else:
if is_service_namespace == 'root':
new_is_service_namespace = 'service_name'
elif is_service_namespace == 'service_name':
new_is_service_namespace = await option.option.name()
elif is_service_namespace in INFORMATIONS:
# remove 's'
new_is_service_namespace = is_service_namespace[:-1]
else:
new_is_service_namespace = is_service_namespace
subfamilies = await self.load_variables(option,
is_variable_namespace,
new_is_service_namespace,
)
variables[await option.option.name()] = subfamilies
else:
@ -382,4 +421,9 @@ class RougailBaseTemplate:
else:
value = await option.value.get()
variables[await option.option.name()] = value
if isinstance(is_service_namespace, str) and is_service_namespace + 's' in INFORMATIONS:
await self.get_informations(is_service_namespace + 's',
variables,
optiondescription,
)
return RougailExtra(variables)

View File

@ -3,66 +3,18 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/etc/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true

View File

@ -1,20 +1,8 @@
{
"rougail.general.mode_conteneur_actif": "non",
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/etc/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": true,
"services.test.files.file2.engine": "jinja2",
"services.test.files.file2.group": "root",
"services.test.files.file2.included": "no",
"services.test.files.file2.mode": "0644",
"services.test.files.file2.name": "/etc/file2",
"services.test.files.file2.owner": "root",
"services.test.files.file2.source": "file2",
"services.test.files.file2.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -3,66 +3,18 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/etc/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true

View File

@ -14,27 +14,18 @@ except:
option_3 = StrOption(name="mode_conteneur_actif", doc="Description", default="non", properties=frozenset({"mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_8 = StrOption(name="engine", doc="engine", default="creole")
option_9 = StrOption(name="group", doc="group", default="root")
option_10 = StrOption(name="included", doc="included", default="no")
option_11 = StrOption(name="mode", doc="mode", default="0644")
option_12 = FilenameOption(name="name", doc="name", default="/etc/file")
option_13 = StrOption(name="owner", doc="owner", default="root")
option_14 = StrOption(name="source", doc="source", default="file")
option_15 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14, option_15])
option_17 = StrOption(name="engine", doc="engine", default="jinja2")
option_18 = StrOption(name="group", doc="group", default="root")
option_19 = StrOption(name="included", doc="included", default="no")
option_20 = StrOption(name="mode", doc="mode", default="0644")
option_21 = FilenameOption(name="name", doc="name", default="/etc/file2")
option_22 = StrOption(name="owner", doc="owner", default="root")
option_23 = StrOption(name="source", doc="source", default="file2")
option_24 = BoolOption(name="activate", doc="activate", default=True)
option_16 = OptionDescription(name="file2", doc="file2", children=[option_17, option_18, option_19, option_20, option_21, option_22, option_23, option_24])
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_16])
option_25 = BoolOption(name="activate", doc="activate", default=True)
option_26 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_25, option_26])
option_8 = FilenameOption(name="name", doc="name", default="/etc/file")
option_9 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9])
option_7.impl_set_information('source', "file")
option_11 = FilenameOption(name="name", doc="name", default="/etc/file2")
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_10 = OptionDescription(name="file2", doc="file2", children=[option_11, option_12])
option_10.impl_set_information('engine', "jinja2")
option_10.impl_set_information('source', "file2")
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_10])
option_13 = BoolOption(name="activate", doc="activate", default=True)
option_14 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_13, option_14])
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])

View File

@ -3,66 +3,18 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/etc/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true

View File

@ -1,20 +1,8 @@
{
"rougail.general.mode_conteneur_actif": "non",
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/etc/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": true,
"services.test.files.file2.engine": "jinja2",
"services.test.files.file2.group": "root",
"services.test.files.file2.included": "no",
"services.test.files.file2.mode": "0644",
"services.test.files.file2.name": "/etc/file2",
"services.test.files.file2.owner": "root",
"services.test.files.file2.source": "file2",
"services.test.files.file2.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -3,66 +3,18 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/etc/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true

View File

@ -14,27 +14,18 @@ except:
option_3 = StrOption(name="mode_conteneur_actif", doc="Description", default="non", properties=frozenset({"mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_8 = StrOption(name="engine", doc="engine", default="creole")
option_9 = StrOption(name="group", doc="group", default="root")
option_10 = StrOption(name="included", doc="included", default="no")
option_11 = StrOption(name="mode", doc="mode", default="0644")
option_12 = FilenameOption(name="name", doc="name", default="/etc/file")
option_13 = StrOption(name="owner", doc="owner", default="root")
option_14 = StrOption(name="source", doc="source", default="file")
option_15 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14, option_15])
option_17 = StrOption(name="engine", doc="engine", default="jinja2")
option_18 = StrOption(name="group", doc="group", default="root")
option_19 = StrOption(name="included", doc="included", default="no")
option_20 = StrOption(name="mode", doc="mode", default="0644")
option_21 = FilenameOption(name="name", doc="name", default="/etc/file2")
option_22 = StrOption(name="owner", doc="owner", default="root")
option_23 = StrOption(name="source", doc="source", default="file2")
option_24 = BoolOption(name="activate", doc="activate", default=True)
option_16 = OptionDescription(name="file2", doc="file2", children=[option_17, option_18, option_19, option_20, option_21, option_22, option_23, option_24])
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_16])
option_25 = BoolOption(name="activate", doc="activate", default=True)
option_26 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_25, option_26])
option_8 = FilenameOption(name="name", doc="name", default="/etc/file")
option_9 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9])
option_7.impl_set_information('source', "file")
option_11 = FilenameOption(name="name", doc="name", default="/etc/file2")
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_10 = OptionDescription(name="file2", doc="file2", children=[option_11, option_12])
option_10.impl_set_information('engine', "jinja2")
option_10.impl_set_information('source', "file2")
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_10])
option_13 = BoolOption(name="activate", doc="activate", default=True)
option_14 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_13, option_14])
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])

View File

@ -3,98 +3,26 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/etc/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true
},
"services.test.files.incfile.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.incfile.group": {
"owner": "default",
"value": "root"
},
"services.test.files.incfile.included": {
"owner": "default",
"value": "content"
},
"services.test.files.incfile.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.incfile.name": {
"owner": "default",
"value": "/etc/dir/incfile"
},
"services.test.files.incfile.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.incfile.source": {
"owner": "default",
"value": "incfile"
},
"services.test.files.incfile.activate": {
"owner": "default",
"value": true

View File

@ -1,28 +1,10 @@
{
"rougail.general.mode_conteneur_actif": "non",
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/etc/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": true,
"services.test.files.file2.engine": "jinja2",
"services.test.files.file2.group": "root",
"services.test.files.file2.included": "no",
"services.test.files.file2.mode": "0644",
"services.test.files.file2.name": "/etc/file2",
"services.test.files.file2.owner": "root",
"services.test.files.file2.source": "file2",
"services.test.files.file2.activate": true,
"services.test.files.incfile.engine": "creole",
"services.test.files.incfile.group": "root",
"services.test.files.incfile.included": "content",
"services.test.files.incfile.mode": "0644",
"services.test.files.incfile.name": "/etc/dir/incfile",
"services.test.files.incfile.owner": "root",
"services.test.files.incfile.source": "incfile",
"services.test.files.incfile.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -3,98 +3,26 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/etc/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true
},
"services.test.files.incfile.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.incfile.group": {
"owner": "default",
"value": "root"
},
"services.test.files.incfile.included": {
"owner": "default",
"value": "content"
},
"services.test.files.incfile.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.incfile.name": {
"owner": "default",
"value": "/etc/dir/incfile"
},
"services.test.files.incfile.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.incfile.source": {
"owner": "default",
"value": "incfile"
},
"services.test.files.incfile.activate": {
"owner": "default",
"value": true

View File

@ -14,36 +14,23 @@ except:
option_3 = StrOption(name="mode_conteneur_actif", doc="Description", default="non", properties=frozenset({"mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_8 = StrOption(name="engine", doc="engine", default="creole")
option_9 = StrOption(name="group", doc="group", default="root")
option_10 = StrOption(name="included", doc="included", default="no")
option_11 = StrOption(name="mode", doc="mode", default="0644")
option_12 = FilenameOption(name="name", doc="name", default="/etc/file")
option_13 = StrOption(name="owner", doc="owner", default="root")
option_14 = StrOption(name="source", doc="source", default="file")
option_8 = FilenameOption(name="name", doc="name", default="/etc/file")
option_9 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9])
option_7.impl_set_information('source', "file")
option_11 = FilenameOption(name="name", doc="name", default="/etc/file2")
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_10 = OptionDescription(name="file2", doc="file2", children=[option_11, option_12])
option_10.impl_set_information('engine', "jinja2")
option_10.impl_set_information('source', "file2")
option_14 = FilenameOption(name="name", doc="name", default="/etc/dir/incfile")
option_15 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14, option_15])
option_17 = StrOption(name="engine", doc="engine", default="jinja2")
option_18 = StrOption(name="group", doc="group", default="root")
option_19 = StrOption(name="included", doc="included", default="no")
option_20 = StrOption(name="mode", doc="mode", default="0644")
option_21 = FilenameOption(name="name", doc="name", default="/etc/file2")
option_22 = StrOption(name="owner", doc="owner", default="root")
option_23 = StrOption(name="source", doc="source", default="file2")
option_24 = BoolOption(name="activate", doc="activate", default=True)
option_16 = OptionDescription(name="file2", doc="file2", children=[option_17, option_18, option_19, option_20, option_21, option_22, option_23, option_24])
option_26 = StrOption(name="engine", doc="engine", default="creole")
option_27 = StrOption(name="group", doc="group", default="root")
option_28 = StrOption(name="included", doc="included", default="content")
option_29 = StrOption(name="mode", doc="mode", default="0644")
option_30 = FilenameOption(name="name", doc="name", default="/etc/dir/incfile")
option_31 = StrOption(name="owner", doc="owner", default="root")
option_32 = StrOption(name="source", doc="source", default="incfile")
option_33 = BoolOption(name="activate", doc="activate", default=True)
option_25 = OptionDescription(name="incfile", doc="incfile", children=[option_26, option_27, option_28, option_29, option_30, option_31, option_32, option_33])
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_16, option_25])
option_34 = BoolOption(name="activate", doc="activate", default=True)
option_35 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_34, option_35])
option_13 = OptionDescription(name="incfile", doc="incfile", children=[option_14, option_15])
option_13.impl_set_information('included', "content")
option_13.impl_set_information('source', "incfile")
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_10, option_13])
option_16 = BoolOption(name="activate", doc="activate", default=True)
option_17 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_16, option_17])
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])

View File

@ -3,98 +3,26 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/etc/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true
},
"services.test.files.incfile.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.incfile.group": {
"owner": "default",
"value": "root"
},
"services.test.files.incfile.included": {
"owner": "default",
"value": "name"
},
"services.test.files.incfile.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.incfile.name": {
"owner": "default",
"value": "/etc/dir/incfile"
},
"services.test.files.incfile.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.incfile.source": {
"owner": "default",
"value": "incfile"
},
"services.test.files.incfile.activate": {
"owner": "default",
"value": true

View File

@ -1,28 +1,10 @@
{
"rougail.general.mode_conteneur_actif": "non",
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/etc/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": true,
"services.test.files.file2.engine": "jinja2",
"services.test.files.file2.group": "root",
"services.test.files.file2.included": "no",
"services.test.files.file2.mode": "0644",
"services.test.files.file2.name": "/etc/file2",
"services.test.files.file2.owner": "root",
"services.test.files.file2.source": "file2",
"services.test.files.file2.activate": true,
"services.test.files.incfile.engine": "creole",
"services.test.files.incfile.group": "root",
"services.test.files.incfile.included": "name",
"services.test.files.incfile.mode": "0644",
"services.test.files.incfile.name": "/etc/dir/incfile",
"services.test.files.incfile.owner": "root",
"services.test.files.incfile.source": "incfile",
"services.test.files.incfile.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -3,98 +3,26 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/etc/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true
},
"services.test.files.incfile.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.incfile.group": {
"owner": "default",
"value": "root"
},
"services.test.files.incfile.included": {
"owner": "default",
"value": "name"
},
"services.test.files.incfile.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.incfile.name": {
"owner": "default",
"value": "/etc/dir/incfile"
},
"services.test.files.incfile.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.incfile.source": {
"owner": "default",
"value": "incfile"
},
"services.test.files.incfile.activate": {
"owner": "default",
"value": true

View File

@ -14,36 +14,23 @@ except:
option_3 = StrOption(name="mode_conteneur_actif", doc="Description", default="non", properties=frozenset({"mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_8 = StrOption(name="engine", doc="engine", default="creole")
option_9 = StrOption(name="group", doc="group", default="root")
option_10 = StrOption(name="included", doc="included", default="no")
option_11 = StrOption(name="mode", doc="mode", default="0644")
option_12 = FilenameOption(name="name", doc="name", default="/etc/file")
option_13 = StrOption(name="owner", doc="owner", default="root")
option_14 = StrOption(name="source", doc="source", default="file")
option_8 = FilenameOption(name="name", doc="name", default="/etc/file")
option_9 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9])
option_7.impl_set_information('source', "file")
option_11 = FilenameOption(name="name", doc="name", default="/etc/file2")
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_10 = OptionDescription(name="file2", doc="file2", children=[option_11, option_12])
option_10.impl_set_information('engine', "jinja2")
option_10.impl_set_information('source', "file2")
option_14 = FilenameOption(name="name", doc="name", default="/etc/dir/incfile")
option_15 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14, option_15])
option_17 = StrOption(name="engine", doc="engine", default="jinja2")
option_18 = StrOption(name="group", doc="group", default="root")
option_19 = StrOption(name="included", doc="included", default="no")
option_20 = StrOption(name="mode", doc="mode", default="0644")
option_21 = FilenameOption(name="name", doc="name", default="/etc/file2")
option_22 = StrOption(name="owner", doc="owner", default="root")
option_23 = StrOption(name="source", doc="source", default="file2")
option_24 = BoolOption(name="activate", doc="activate", default=True)
option_16 = OptionDescription(name="file2", doc="file2", children=[option_17, option_18, option_19, option_20, option_21, option_22, option_23, option_24])
option_26 = StrOption(name="engine", doc="engine", default="creole")
option_27 = StrOption(name="group", doc="group", default="root")
option_28 = StrOption(name="included", doc="included", default="name")
option_29 = StrOption(name="mode", doc="mode", default="0644")
option_30 = FilenameOption(name="name", doc="name", default="/etc/dir/incfile")
option_31 = StrOption(name="owner", doc="owner", default="root")
option_32 = StrOption(name="source", doc="source", default="incfile")
option_33 = BoolOption(name="activate", doc="activate", default=True)
option_25 = OptionDescription(name="incfile", doc="incfile", children=[option_26, option_27, option_28, option_29, option_30, option_31, option_32, option_33])
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_16, option_25])
option_34 = BoolOption(name="activate", doc="activate", default=True)
option_35 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_34, option_35])
option_13 = OptionDescription(name="incfile", doc="incfile", children=[option_14, option_15])
option_13.impl_set_information('included', "name")
option_13.impl_set_information('source', "incfile")
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_10, option_13])
option_16 = BoolOption(name="activate", doc="activate", default=True)
option_17 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_16, option_17])
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])

View File

@ -3,66 +3,18 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/etc/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true

View File

@ -1,20 +1,8 @@
{
"rougail.general.mode_conteneur_actif": "non",
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/etc/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": true,
"services.test.files.file2.engine": "jinja2",
"services.test.files.file2.group": "root",
"services.test.files.file2.included": "no",
"services.test.files.file2.mode": "0644",
"services.test.files.file2.name": "/etc/file2",
"services.test.files.file2.owner": "root",
"services.test.files.file2.source": "file2",
"services.test.files.file2.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -3,66 +3,18 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/etc/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true

View File

@ -14,27 +14,18 @@ except:
option_3 = StrOption(name="mode_conteneur_actif", doc="Description", default="non", properties=frozenset({"mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_8 = StrOption(name="engine", doc="engine", default="creole")
option_9 = StrOption(name="group", doc="group", default="root")
option_10 = StrOption(name="included", doc="included", default="no")
option_11 = StrOption(name="mode", doc="mode", default="0644")
option_12 = FilenameOption(name="name", doc="name", default="/etc/file")
option_13 = StrOption(name="owner", doc="owner", default="root")
option_14 = StrOption(name="source", doc="source", default="file")
option_15 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14, option_15])
option_17 = StrOption(name="engine", doc="engine", default="jinja2")
option_18 = StrOption(name="group", doc="group", default="root")
option_19 = StrOption(name="included", doc="included", default="no")
option_20 = StrOption(name="mode", doc="mode", default="0644")
option_21 = FilenameOption(name="name", doc="name", default="/etc/file2")
option_22 = StrOption(name="owner", doc="owner", default="root")
option_23 = StrOption(name="source", doc="source", default="file2")
option_24 = BoolOption(name="activate", doc="activate", default=True)
option_16 = OptionDescription(name="file2", doc="file2", children=[option_17, option_18, option_19, option_20, option_21, option_22, option_23, option_24])
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_16])
option_25 = BoolOption(name="activate", doc="activate", default=True)
option_26 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_25, option_26])
option_8 = FilenameOption(name="name", doc="name", default="/etc/file")
option_9 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="file", doc="file", children=[option_8, option_9])
option_7.impl_set_information('source', "file")
option_11 = FilenameOption(name="name", doc="name", default="/etc/file2")
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_10 = OptionDescription(name="file2", doc="file2", children=[option_11, option_12])
option_10.impl_set_information('engine', "jinja2")
option_10.impl_set_information('source', "file2")
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_10])
option_13 = BoolOption(name="activate", doc="activate", default=True)
option_14 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_13, option_14])
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])

View File

@ -3,66 +3,18 @@
"owner": "default",
"value": "non"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.group": {
"owner": "default",
"value": "root"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.included": {
"owner": "default",
"value": "no"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.name": {
"owner": "default",
"value": "/etc/systemd-makefs@dev-disk-by\\x2dpartlabel"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.source": {
"owner": "default",
"value": "systemd-makefs@dev-disk-by\\x2dpartlabel"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.activate": {
"owner": "default",
"value": true
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.name": {
"owner": "default",
"value": "/etc/systemd-makefs@dev-disk-by\\x2dpartlabel2"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.source": {
"owner": "default",
"value": "systemd-makefs@dev-disk-by\\x2dpartlabel2"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.activate": {
"owner": "default",
"value": true

View File

@ -1,20 +1,8 @@
{
"rougail.general.mode_conteneur_actif": "non",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.engine": "creole",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.group": "root",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.included": "no",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.mode": "0644",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.name": "/etc/systemd-makefs@dev-disk-by\\x2dpartlabel",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.owner": "root",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.source": "systemd-makefs@dev-disk-by\\x2dpartlabel",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.activate": true,
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.engine": "jinja2",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.group": "root",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.included": "no",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.mode": "0644",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.name": "/etc/systemd-makefs@dev-disk-by\\x2dpartlabel2",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.owner": "root",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.source": "systemd-makefs@dev-disk-by\\x2dpartlabel2",
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -3,66 +3,18 @@
"owner": "default",
"value": "non"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.group": {
"owner": "default",
"value": "root"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.included": {
"owner": "default",
"value": "no"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.name": {
"owner": "default",
"value": "/etc/systemd-makefs@dev-disk-by\\x2dpartlabel"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.source": {
"owner": "default",
"value": "systemd-makefs@dev-disk-by\\x2dpartlabel"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel.activate": {
"owner": "default",
"value": true
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.engine": {
"owner": "default",
"value": "jinja2"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.name": {
"owner": "default",
"value": "/etc/systemd-makefs@dev-disk-by\\x2dpartlabel2"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.source": {
"owner": "default",
"value": "systemd-makefs@dev-disk-by\\x2dpartlabel2"
},
"services.test.files.systemd_makefs@dev_disk_by\\x2dpartlabel2.activate": {
"owner": "default",
"value": true

View File

@ -14,27 +14,18 @@ except:
option_3 = StrOption(name="mode_conteneur_actif", doc="Description", default="non", properties=frozenset({"mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_8 = StrOption(name="engine", doc="engine", default="creole")
option_9 = StrOption(name="group", doc="group", default="root")
option_10 = StrOption(name="included", doc="included", default="no")
option_11 = StrOption(name="mode", doc="mode", default="0644")
option_12 = FilenameOption(name="name", doc="name", default="/etc/systemd-makefs@dev-disk-by\\x2dpartlabel")
option_13 = StrOption(name="owner", doc="owner", default="root")
option_14 = StrOption(name="source", doc="source", default="systemd-makefs@dev-disk-by\\x2dpartlabel")
option_15 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="systemd_makefs@dev_disk_by\\x2dpartlabel", doc="systemd-makefs@dev-disk-by\\x2dpartlabel", children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14, option_15])
option_17 = StrOption(name="engine", doc="engine", default="jinja2")
option_18 = StrOption(name="group", doc="group", default="root")
option_19 = StrOption(name="included", doc="included", default="no")
option_20 = StrOption(name="mode", doc="mode", default="0644")
option_21 = FilenameOption(name="name", doc="name", default="/etc/systemd-makefs@dev-disk-by\\x2dpartlabel2")
option_22 = StrOption(name="owner", doc="owner", default="root")
option_23 = StrOption(name="source", doc="source", default="systemd-makefs@dev-disk-by\\x2dpartlabel2")
option_24 = BoolOption(name="activate", doc="activate", default=True)
option_16 = OptionDescription(name="systemd_makefs@dev_disk_by\\x2dpartlabel2", doc="systemd-makefs@dev-disk-by\\x2dpartlabel2", children=[option_17, option_18, option_19, option_20, option_21, option_22, option_23, option_24])
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_16])
option_25 = BoolOption(name="activate", doc="activate", default=True)
option_26 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_25, option_26])
option_8 = FilenameOption(name="name", doc="name", default="/etc/systemd-makefs@dev-disk-by\\x2dpartlabel")
option_9 = BoolOption(name="activate", doc="activate", default=True)
option_7 = OptionDescription(name="systemd_makefs@dev_disk_by\\x2dpartlabel", doc="systemd-makefs@dev-disk-by\\x2dpartlabel", children=[option_8, option_9])
option_7.impl_set_information('source', "systemd-makefs@dev-disk-by\\x2dpartlabel")
option_11 = FilenameOption(name="name", doc="name", default="/etc/systemd-makefs@dev-disk-by\\x2dpartlabel2")
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_10 = OptionDescription(name="systemd_makefs@dev_disk_by\\x2dpartlabel2", doc="systemd-makefs@dev-disk-by\\x2dpartlabel2", children=[option_11, option_12])
option_10.impl_set_information('engine', "jinja2")
option_10.impl_set_information('source', "systemd-makefs@dev-disk-by\\x2dpartlabel2")
option_6 = OptionDescription(name="files", doc="files", children=[option_7, option_10])
option_13 = BoolOption(name="activate", doc="activate", default=True)
option_14 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_13, option_14])
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "non"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true

View File

@ -2,13 +2,7 @@
"rougail.general.condition": "non",
"rougail.general.mode_conteneur_actif": "non",
"rougail.general.mode_conteneur_actif2": "non",
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "non"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="mode_conteneur_actif", doc="No change", default="non"
option_5 = StrOption(name="mode_conteneur_actif2", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("oui")})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe")}))}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file1")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["oui", "maybe"]), 'condition_operator': ParamValue("OR")})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["oui", "maybe"]), 'condition_operator': ParamValue("OR")})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11])
option_9.impl_set_information('source', "file1")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "no"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true

View File

@ -2,13 +2,7 @@
"rougail.general.condition": "no",
"rougail.general.condition2": "no",
"rougail.general.test_variable": "no",
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "no"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="condition2", doc="No change", default="no", propertie
option_5 = StrOption(name="test_variable", doc="No change", default="no", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("yes")})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe")})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True, notraisepropertyerror=True), 'expected': ParamValue("yes")})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe")}))}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file1")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["yes", "maybe"]), 'condition_operator': ParamValue("OR"), 'condition_1': ParamOption(option_4, notraisepropertyerror=True), 'expected_1': ParamValue(["yes", "maybe"])})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["yes", "maybe"]), 'condition_operator': ParamValue("OR"), 'condition_1': ParamOption(option_4, notraisepropertyerror=True), 'expected_1': ParamValue(["yes", "maybe"])})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11])
option_9.impl_set_information('source', "file1")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -7,34 +7,10 @@
"owner": "default",
"value": "no"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": false

View File

@ -1,13 +1,7 @@
{
"rougail.general.condition": "no",
"rougail.general.condition2": "no",
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": false,
"services.test.activate": true,
"services.test.manage": true

View File

@ -7,34 +7,10 @@
"owner": "default",
"value": "no"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": false

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="condition2", doc="No change", default="no", propertie
option_5 = StrOption(name="test_variable", doc="No change", default="no", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("yes"), 'reverse_condition': ParamValue(True)})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe"), 'reverse_condition': ParamValue(True)})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True, notraisepropertyerror=True), 'expected': ParamValue("yes")})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe")}))}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file1")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["yes", "maybe"]), 'reverse_condition_0': ParamValue(True), 'condition_operator': ParamValue("OR"), 'condition_1': ParamOption(option_4, notraisepropertyerror=True), 'expected_1': ParamValue(["yes", "maybe"])})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["yes", "maybe"]), 'reverse_condition_0': ParamValue(True), 'condition_operator': ParamValue("OR"), 'condition_1': ParamOption(option_4, notraisepropertyerror=True), 'expected_1': ParamValue(["yes", "maybe"])})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11])
option_9.impl_set_information('source', "file1")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -7,34 +7,10 @@
"owner": "default",
"value": "no"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true

View File

@ -1,13 +1,7 @@
{
"rougail.general.condition": "yes",
"rougail.general.condition2": "no",
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -7,34 +7,10 @@
"owner": "default",
"value": "no"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="condition2", doc="No change", default="no", propertie
option_5 = StrOption(name="test_variable", doc="No change", default="no", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("yes"), 'reverse_condition': ParamValue(True)})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe"), 'reverse_condition': ParamValue(True)})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True, notraisepropertyerror=True), 'expected': ParamValue("yes")})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe")}))}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file1")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["yes", "maybe"]), 'reverse_condition_0': ParamValue(True), 'condition_operator': ParamValue("OR"), 'condition_1': ParamOption(option_4, notraisepropertyerror=True), 'expected_1': ParamValue(["yes", "maybe"])})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["yes", "maybe"]), 'reverse_condition_0': ParamValue(True), 'condition_operator': ParamValue("OR"), 'condition_1': ParamOption(option_4, notraisepropertyerror=True), 'expected_1': ParamValue(["yes", "maybe"])})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11])
option_9.impl_set_information('source', "file1")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -7,34 +7,10 @@
"owner": "default",
"value": "yes"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": false

View File

@ -1,13 +1,7 @@
{
"rougail.general.condition": "yes",
"rougail.general.condition2": "yes",
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": false,
"services.test.activate": true,
"services.test.manage": true

View File

@ -7,34 +7,10 @@
"owner": "default",
"value": "yes"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": false

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="condition2", doc="No change", default="yes", properti
option_5 = StrOption(name="test_variable", doc="No change", default="no", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("yes"), 'reverse_condition': ParamValue(True)})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe"), 'reverse_condition': ParamValue(True)})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True, notraisepropertyerror=True), 'expected': ParamValue("yes")})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe")}))}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file1")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["yes", "maybe"]), 'reverse_condition_0': ParamValue(True), 'condition_operator': ParamValue("OR"), 'condition_1': ParamOption(option_4, notraisepropertyerror=True), 'expected_1': ParamValue(["yes", "maybe"])})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["yes", "maybe"]), 'reverse_condition_0': ParamValue(True), 'condition_operator': ParamValue("OR"), 'condition_1': ParamOption(option_4, notraisepropertyerror=True), 'expected_1': ParamValue(["yes", "maybe"])})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11])
option_9.impl_set_information('source', "file1")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -7,34 +7,10 @@
"owner": "default",
"value": "yes"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": false

View File

@ -1,13 +1,7 @@
{
"rougail.general.condition": "no",
"rougail.general.condition2": "yes",
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": false,
"services.test.activate": true,
"services.test.manage": true

View File

@ -7,34 +7,10 @@
"owner": "default",
"value": "yes"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": false

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="condition2", doc="No change", default="yes", properti
option_5 = StrOption(name="test_variable", doc="No change", default="no", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("yes"), 'reverse_condition': ParamValue(True)})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe"), 'reverse_condition': ParamValue(True)})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True, notraisepropertyerror=True), 'expected': ParamValue("yes")})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe")}))}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file1")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["yes", "maybe"]), 'reverse_condition_0': ParamValue(True), 'condition_operator': ParamValue("OR"), 'condition_1': ParamOption(option_4, notraisepropertyerror=True), 'expected_1': ParamValue(["yes", "maybe"])})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["yes", "maybe"]), 'reverse_condition_0': ParamValue(True), 'condition_operator': ParamValue("OR"), 'condition_1': ParamOption(option_4, notraisepropertyerror=True), 'expected_1': ParamValue(["yes", "maybe"])})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11])
option_9.impl_set_information('source', "file1")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -3,34 +3,10 @@
"owner": "default",
"value": "oui"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": false

View File

@ -1,12 +1,6 @@
{
"rougail.general.condition": "oui",
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": false,
"services.test.activate": true,
"services.test.manage": true

View File

@ -3,34 +3,10 @@
"owner": "default",
"value": "oui"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": false

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="mode_conteneur_actif", doc="No change", default="non"
option_5 = StrOption(name="mode_conteneur_actif2", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("oui")})), Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("maybe")}))}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file1")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["oui", "maybe"]), 'condition_operator': ParamValue("OR")})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(["oui", "maybe"]), 'condition_operator': ParamValue("OR")})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11])
option_9.impl_set_information('source', "file1")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -7,34 +7,10 @@
"owner": "default",
"value": "no"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true

View File

@ -1,13 +1,7 @@
{
"rougail.general.condition": "no",
"rougail.general.disable_variable": "no",
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -7,34 +7,10 @@
"owner": "default",
"value": "no"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true

View File

@ -15,18 +15,13 @@ option_3 = StrOption(name="condition", doc="No change", default="no", properties
option_4 = StrOption(name="disable_variable", doc="No change", default="no", properties=frozenset({"mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_9 = StrOption(name="engine", doc="engine", default="creole")
option_10 = StrOption(name="group", doc="group", default="root")
option_11 = StrOption(name="included", doc="included", default="no")
option_12 = StrOption(name="mode", doc="mode", default="0644")
option_13 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_14 = StrOption(name="owner", doc="owner", default="root")
option_15 = StrOption(name="source", doc="source", default="file1")
option_16 = BoolOption(name="activate", doc="activate", default=True)
option_8 = OptionDescription(name="file1", doc="file1", children=[option_9, option_10, option_11, option_12, option_13, option_14, option_15, option_16])
option_9 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_10 = BoolOption(name="activate", doc="activate", default=True)
option_8 = OptionDescription(name="file1", doc="file1", children=[option_9, option_10])
option_8.impl_set_information('source', "file1")
option_7 = OptionDescription(name="files", doc="files", children=[option_8])
option_17 = BoolOption(name="activate", doc="activate", default=True)
option_18 = BoolOption(name="manage", doc="manage", default=True)
option_6 = OptionDescription(name="test", doc="test", children=[option_7, option_17, option_18])
option_11 = BoolOption(name="activate", doc="activate", default=True)
option_12 = BoolOption(name="manage", doc="manage", default=True)
option_6 = OptionDescription(name="test", doc="test", children=[option_7, option_11, option_12])
option_5 = OptionDescription(name="services", doc="services", children=[option_6], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_5])

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": true
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true

View File

@ -2,13 +2,7 @@
"rougail.general.condition": "non",
"rougail.general.mode_conteneur_actif": "non",
"rougail.general.mode_conteneur_actif2": true,
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/etc/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": true
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": true

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="mode_conteneur_actif", doc="No change", default="non"
option_5 = BoolOption(name="mode_conteneur_actif2", doc="No change", default=True, properties=frozenset({"mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("oui")}))}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/etc/file")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("oui")})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/etc/file")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("oui")})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11])
option_9.impl_set_information('source', "file")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -3,34 +3,10 @@
"owner": "default",
"value": true
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": false

View File

@ -1,12 +1,6 @@
{
"rougail.general.condition": true,
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": false,
"services.test.activate": true,
"services.test.manage": true

View File

@ -3,34 +3,10 @@
"owner": "default",
"value": true
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": false

View File

@ -14,18 +14,13 @@ except:
option_3 = BoolOption(name="condition", doc="condition", default=True, properties=frozenset({"mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_8 = StrOption(name="engine", doc="engine", default="creole")
option_9 = StrOption(name="group", doc="group", default="root")
option_10 = StrOption(name="included", doc="included", default="no")
option_11 = StrOption(name="mode", doc="mode", default="0644")
option_12 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_13 = StrOption(name="owner", doc="owner", default="root")
option_14 = StrOption(name="source", doc="source", default="file1")
option_15 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(True)})))
option_7 = OptionDescription(name="file1", doc="file1", children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14, option_15])
option_8 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_9 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(True)})))
option_7 = OptionDescription(name="file1", doc="file1", children=[option_8, option_9])
option_7.impl_set_information('source', "file1")
option_6 = OptionDescription(name="files", doc="files", children=[option_7])
option_16 = BoolOption(name="activate", doc="activate", default=True)
option_17 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_16, option_17])
option_10 = BoolOption(name="activate", doc="activate", default=True)
option_11 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_10, option_11])
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])

View File

@ -3,34 +3,10 @@
"owner": "default",
"value": false
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true

View File

@ -1,12 +1,6 @@
{
"rougail.general.condition": false,
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -3,34 +3,10 @@
"owner": "default",
"value": false
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true

View File

@ -14,18 +14,13 @@ except:
option_3 = BoolOption(name="condition", doc="condition", default=False, properties=frozenset({"mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_8 = StrOption(name="engine", doc="engine", default="creole")
option_9 = StrOption(name="group", doc="group", default="root")
option_10 = StrOption(name="included", doc="included", default="no")
option_11 = StrOption(name="mode", doc="mode", default="0644")
option_12 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_13 = StrOption(name="owner", doc="owner", default="root")
option_14 = StrOption(name="source", doc="source", default="file1")
option_15 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(True)})))
option_7 = OptionDescription(name="file1", doc="file1", children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14, option_15])
option_8 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_9 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue(True)})))
option_7 = OptionDescription(name="file1", doc="file1", children=[option_8, option_9])
option_7.impl_set_information('source', "file1")
option_6 = OptionDescription(name="files", doc="files", children=[option_7])
option_16 = BoolOption(name="activate", doc="activate", default=True)
option_17 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_16, option_17])
option_10 = BoolOption(name="activate", doc="activate", default=True)
option_11 = BoolOption(name="manage", doc="manage", default=True)
option_5 = OptionDescription(name="test", doc="test", children=[option_6, option_10, option_11])
option_4 = OptionDescription(name="services", doc="services", children=[option_5], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])

View File

@ -3,34 +3,10 @@
"owner": "default",
"value": "oui"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": false

View File

@ -1,12 +1,6 @@
{
"rougail.general.condition": "oui",
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/etc/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": false,
"services.test.activate": true,
"services.test.manage": true

View File

@ -3,34 +3,10 @@
"owner": "default",
"value": "oui"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/etc/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": false

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="mode_conteneur_actif", doc="No change", default="non"
option_5 = StrOption(name="mode_conteneur_actif2", doc="No change", default="non", properties=frozenset({"mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("oui")}))}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/etc/file")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("oui")})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/etc/file")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("oui")})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11])
option_9.impl_set_information('source', "file")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -11,66 +11,18 @@
"owner": "default",
"value": "non"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/tmp/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true

View File

@ -2,21 +2,9 @@
"rougail.general.condition": "non",
"rougail.general.mode_conteneur_actif": "non",
"rougail.general.mode_conteneur_actif2": "non",
"services.test.files.file1.engine": "creole",
"services.test.files.file1.group": "root",
"services.test.files.file1.included": "no",
"services.test.files.file1.mode": "0644",
"services.test.files.file1.name": "/tmp/file1",
"services.test.files.file1.owner": "root",
"services.test.files.file1.source": "file1",
"services.test.files.file1.activate": true,
"services.test.files.file2.engine": "creole",
"services.test.files.file2.group": "root",
"services.test.files.file2.included": "no",
"services.test.files.file2.mode": "0644",
"services.test.files.file2.name": "/tmp/file2",
"services.test.files.file2.owner": "root",
"services.test.files.file2.source": "file2",
"services.test.files.file2.activate": true,
"services.test.activate": true,
"services.test.manage": true

View File

@ -11,66 +11,18 @@
"owner": "default",
"value": "non"
},
"services.test.files.file1.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file1.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file1.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file1.name": {
"owner": "default",
"value": "/tmp/file1"
},
"services.test.files.file1.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file1.source": {
"owner": "default",
"value": "file1"
},
"services.test.files.file1.activate": {
"owner": "default",
"value": true
},
"services.test.files.file2.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file2.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file2.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file2.name": {
"owner": "default",
"value": "/tmp/file2"
},
"services.test.files.file2.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file2.source": {
"owner": "default",
"value": "file2"
},
"services.test.files.file2.activate": {
"owner": "default",
"value": true

View File

@ -16,27 +16,17 @@ option_4 = StrOption(name="mode_conteneur_actif", doc="No change", default="non"
option_5 = StrOption(name="mode_conteneur_actif2", doc="No change", default="non", properties=frozenset({"mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("oui")}))}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file1")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("oui")})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_19 = StrOption(name="engine", doc="engine", default="creole")
option_20 = StrOption(name="group", doc="group", default="root")
option_21 = StrOption(name="included", doc="included", default="no")
option_22 = StrOption(name="mode", doc="mode", default="0644")
option_23 = FilenameOption(name="name", doc="name", default="/tmp/file2")
option_24 = StrOption(name="owner", doc="owner", default="root")
option_25 = StrOption(name="source", doc="source", default="file2")
option_26 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("oui")})))
option_18 = OptionDescription(name="file2", doc="file2", children=[option_19, option_20, option_21, option_22, option_23, option_24, option_25, option_26])
option_8 = OptionDescription(name="files", doc="files", children=[option_9, option_18])
option_27 = BoolOption(name="activate", doc="activate", default=True)
option_28 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_27, option_28])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file1")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("oui")})))
option_9 = OptionDescription(name="file1", doc="file1", children=[option_10, option_11])
option_9.impl_set_information('source', "file1")
option_13 = FilenameOption(name="name", doc="name", default="/tmp/file2")
option_14 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("oui")})))
option_12 = OptionDescription(name="file2", doc="file2", children=[option_13, option_14])
option_12.impl_set_information('source', "file2")
option_8 = OptionDescription(name="files", doc="files", children=[option_9, option_12])
option_15 = BoolOption(name="activate", doc="activate", default=True)
option_16 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_15, option_16])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/tmp/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": false

View File

@ -2,13 +2,7 @@
"rougail.general.condition": "non",
"rougail.general.mode_conteneur_actif": "non",
"rougail.general.mode_conteneur_actif2": "non",
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/tmp/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": false,
"services.test.activate": true,
"services.test.manage": true

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/tmp/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": false

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="mode_conteneur_actif", doc="No change", default="non"
option_5 = StrOption(name="mode_conteneur_actif2", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("unpossible"), 'reverse_condition_0': ParamValue(True)})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("unpossible"), 'reverse_condition_0': ParamValue(True)})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11])
option_9.impl_set_information('source', "file")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/tmp/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": false

View File

@ -2,13 +2,7 @@
"rougail.general.condition": "non",
"rougail.general.mode_conteneur_actif": "non",
"rougail.general.mode_conteneur_actif2": "non",
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/tmp/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": false,
"services.test.activate": true,
"services.test.manage": true

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/tmp/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": false

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="mode_conteneur_actif", doc="No change", default="non"
option_5 = StrOption(name="mode_conteneur_actif2", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("unpossible"), 'reverse_condition_0': ParamValue(True)})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("unpossible"), 'reverse_condition_0': ParamValue(True)})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11])
option_9.impl_set_information('source', "file")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/tmp/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": false

View File

@ -2,13 +2,7 @@
"rougail.general.condition": "non",
"rougail.general.mode_conteneur_actif": "non",
"rougail.general.mode_conteneur_actif2": "non",
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/tmp/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": false,
"services.test.activate": true,
"services.test.manage": true

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/tmp/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": false

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="mode_conteneur_actif", doc="No change", default="non"
option_5 = StrOption(name="mode_conteneur_actif2", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("unpossible"), 'reverse_condition_0': ParamValue(True), 'condition_1': ParamOption(option_5, notraisepropertyerror=True), 'expected_1': ParamValue("oui"), 'reverse_condition_1': ParamValue(True), 'condition_operator': ParamValue("OR")})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("unpossible"), 'reverse_condition_0': ParamValue(True), 'condition_1': ParamOption(option_5, notraisepropertyerror=True), 'expected_1': ParamValue("oui"), 'reverse_condition_1': ParamValue(True), 'condition_operator': ParamValue("OR")})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11])
option_9.impl_set_information('source', "file")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/tmp/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": false

View File

@ -2,13 +2,7 @@
"rougail.general.condition": "non",
"rougail.general.mode_conteneur_actif": "non",
"rougail.general.mode_conteneur_actif2": "non",
"services.test.files.file.engine": "creole",
"services.test.files.file.group": "root",
"services.test.files.file.included": "no",
"services.test.files.file.mode": "0644",
"services.test.files.file.name": "/tmp/file",
"services.test.files.file.owner": "root",
"services.test.files.file.source": "file",
"services.test.files.file.activate": false,
"services.test.activate": true,
"services.test.manage": true

View File

@ -11,34 +11,10 @@
"owner": "default",
"value": "non"
},
"services.test.files.file.engine": {
"owner": "default",
"value": "creole"
},
"services.test.files.file.group": {
"owner": "default",
"value": "root"
},
"services.test.files.file.included": {
"owner": "default",
"value": "no"
},
"services.test.files.file.mode": {
"owner": "default",
"value": "0644"
},
"services.test.files.file.name": {
"owner": "default",
"value": "/tmp/file"
},
"services.test.files.file.owner": {
"owner": "default",
"value": "root"
},
"services.test.files.file.source": {
"owner": "default",
"value": "file"
},
"services.test.files.file.activate": {
"owner": "default",
"value": false

View File

@ -16,18 +16,13 @@ option_4 = StrOption(name="mode_conteneur_actif", doc="No change", default="non"
option_5 = StrOption(name="mode_conteneur_actif2", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal"}))
option_2 = OptionDescription(name="general", doc="general", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
option_10 = StrOption(name="engine", doc="engine", default="creole")
option_11 = StrOption(name="group", doc="group", default="root")
option_12 = StrOption(name="included", doc="included", default="no")
option_13 = StrOption(name="mode", doc="mode", default="0644")
option_14 = FilenameOption(name="name", doc="name", default="/tmp/file")
option_15 = StrOption(name="owner", doc="owner", default="root")
option_16 = StrOption(name="source", doc="source", default="file")
option_17 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("statique"), 'reverse_condition_0': ParamValue(True)})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17])
option_10 = FilenameOption(name="name", doc="name", default="/tmp/file")
option_11 = BoolOption(name="activate", doc="activate", default=Calculation(func.calc_value, Params((ParamValue(False)), kwargs={'default': ParamValue(True), 'condition_0': ParamOption(option_3, notraisepropertyerror=True), 'expected_0': ParamValue("statique"), 'reverse_condition_0': ParamValue(True)})))
option_9 = OptionDescription(name="file", doc="file", children=[option_10, option_11])
option_9.impl_set_information('source', "file")
option_8 = OptionDescription(name="files", doc="files", children=[option_9])
option_18 = BoolOption(name="activate", doc="activate", default=True)
option_19 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_18, option_19])
option_12 = BoolOption(name="activate", doc="activate", default=True)
option_13 = BoolOption(name="manage", doc="manage", default=True)
option_7 = OptionDescription(name="test", doc="test", children=[option_8, option_12, option_13])
option_6 = OptionDescription(name="services", doc="services", children=[option_7], properties=frozenset({"hidden"}))
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_6])

Some files were not shown because too many files have changed in this diff Show More