shared: Add zypper
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This commit is contained in:
parent
907dfedc33
commit
016e09c445
@ -254,6 +254,7 @@ func (d *Definition) Validate() error {
|
||||
"portage",
|
||||
"yum",
|
||||
"equo",
|
||||
"zypper",
|
||||
}
|
||||
if !shared.StringInSlice(strings.TrimSpace(d.Packages.Manager), validManagers) {
|
||||
return fmt.Errorf("packages.manager must be one of %v", validManagers)
|
||||
|
Loading…
Reference in New Issue
Block a user