units now can choose their environment. consider moving to plan.

This commit is contained in:
Master
2020-07-03 00:24:01 -04:00
parent 8b35a88643
commit a5317bfeda
7 changed files with 29 additions and 53 deletions

View File

@@ -9,7 +9,8 @@
"user": "bagira",
"group": "bagira",
"rectify": false,
"shell": "/usr/bin/env bash"
"shell": "/usr/bin/env bash",
"environment": "examplar.variables"
},
{
"name": "independent test 2",
@@ -20,7 +21,8 @@
"user": "bagira",
"group": "bagira",
"rectify": false,
"shell": "/usr/bin/env bash"
"shell": "/usr/bin/env bash",
"environment": "examplar.variables"
}
]
}

View File

@@ -1,22 +0,0 @@
{
"units": [
{
"name": "A DEFINITION THAT IS NOT USED",
"target": "/usr/bin/dialog --yesno test 50 50",
"rectifier": "/usr/bin/false",
"active": false,
"required": true,
"rectify": true,
"user": "root"
},
{
"name": "dependent test",
"target": "/usr/bin/false",
"rectifier": "/usr/bin/true",
"active": false,
"required": true,
"rectify": true,
"user": "root"
}
]
}