DRY: Remove default parameter value handeling in __package_apt

This commit is contained in:
Antoine Catton 2014-12-27 20:29:45 -07:00
parent 0844f717a8
commit 601346d482
2 changed files with 2 additions and 5 deletions

View file

@ -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 [ -f "$__object/parameter/target-release" ]; then if [ -f "$__object/parameter/target-release" ]; then
target_release="--target-release $(cat "$__object/parameter/target-release")" target_release="--target-release $(cat "$__object/parameter/target-release")"

View file

@ -0,0 +1 @@
present