forked from ungleich-public/cdist
parameter default handling in __zypper_repo type corrected
This commit is contained in:
parent
08b8270739
commit
360b42e892
1 changed files with 1 additions and 5 deletions
|
@ -45,11 +45,7 @@ else
|
||||||
id="$__object_id"
|
id="$__object_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$__object/parameter/state" ]; then
|
|
||||||
state="$(cat "$__object/parameter/state")"
|
state="$(cat "$__object/parameter/state")"
|
||||||
else
|
|
||||||
state="present"
|
|
||||||
fi
|
|
||||||
|
|
||||||
repo_id="$(cat "$__object/explorer/repo_id")"
|
repo_id="$(cat "$__object/explorer/repo_id")"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue