Project

General

Profile

Bug #15572 » Disable kernel module disabled.json

Félix DALLIDET, 2019-08-23 15:39

 
{
"type": "ncf_technique",
"version": 1,
"data": {
"bundle_args": [
"module"
],
"bundle_name": "1_1_Filesystem_Configuration",
"description": "",
"name": "Disable kernel module disabled",
"version": "1.0",
"parameter": [
{
"constraints": {
"allow_empty_string": false,
"allow_whitespace_string": false,
"max_length": 16384
},
"id": "ef3a3cc4-ce02-44b0-a280-d1b90876506a",
"name": "module"
}
],
"method_calls": [
{
"args": [
"skip_item",
"node.properties[skip][${report_data.directive_id}]"
],
"class_context": "any",
"method_name": "condition_from_variable_existence"
},
{
"args": [
"${module}",
"install ${module} /bin/false"
],
"class_context": "any.(skip_item_false)",
"method_name": "kernel_module_configuration"
},
{
"args": [
"${module}"
],
"class_context": "any.(skip_item_false)",
"method_name": "kernel_module_not_loaded"
}
]
}
}
    (1-1/1)