DRY: Remove default parameter value handeling in __package_rubygem
This commit is contained in:
parent
33cc3b0fa2
commit
a938468bb0
2 changed files with 2 additions and 5 deletions
|
@ -27,11 +27,7 @@ else
|
||||||
name="$__object_id"
|
name="$__object_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$__object/parameter/state" ]; then
|
|
||||||
state_should="$(cat "$__object/parameter/state")"
|
state_should="$(cat "$__object/parameter/state")"
|
||||||
else
|
|
||||||
state_should="present"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if grep -q true "$__object/explorer/pkg_status"; then
|
if grep -q true "$__object/explorer/pkg_status"; then
|
||||||
state_is="present"
|
state_is="present"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
present
|
Loading…
Reference in a new issue