forked from ungleich-public/cdist
DRY: Remove default parameter value handeling in __package_luarocks
This commit is contained in:
parent
601346d482
commit
de282c50f3
2 changed files with 2 additions and 5 deletions
|
@ -29,11 +29,7 @@ else
|
|||
name="$__object_id"
|
||||
fi
|
||||
|
||||
if [ -f "$__object/parameter/state" ]; then
|
||||
state_should="$(cat "$__object/parameter/state")"
|
||||
else
|
||||
state_should="present"
|
||||
fi
|
||||
state_should="$(cat "$__object/parameter/state")"
|
||||
|
||||
if grep -q "(installed)" "$__object/explorer/pkg_status"; then
|
||||
state_is="present"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
present
|
Loading…
Reference in a new issue