f-55: lab: fichiers des nœuds sur un ISO dédié, envoi des binaires compilés en local #55
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
f713f482fa
commit
aceffe7b58
16 changed files with 181 additions and 58 deletions
|
|
@ -186,6 +186,10 @@ func TestValidate_ProvisionRejections(t *testing.T) {
|
|||
`hv: { role: host, image: deb, cpus: 1, memory: 512, segments: [red], files: { agent.yml: "" } }`,
|
||||
"node hv: file agent.yml has no source",
|
||||
},
|
||||
"file source with an equals sign": {
|
||||
`hv: { role: host, image: deb, cpus: 1, memory: 512, segments: [red], files: { bin: "a=b" } }`,
|
||||
`node hv: file bin: source "a=b" must not contain '='`,
|
||||
},
|
||||
"service with shell characters": {
|
||||
`hv: { role: host, image: deb, cpus: 1, memory: 512, segments: [red], services: ["agent.service; reboot"] }`,
|
||||
`node hv: service "agent.service; reboot" must match`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue