forked from ungleich-public/cdist
state_should is being populated in manifest, if not given
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
18eaa476e4
commit
2b0c273715
1 changed files with 1 additions and 6 deletions
|
@ -19,12 +19,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ -f "$__object/parameter/state" ]; then
|
state_should="$(cat "$__object/parameter/state")"
|
||||||
state_should="$(cat "$__object/parameter/state")"
|
|
||||||
else
|
|
||||||
state_should="present"
|
|
||||||
fi
|
|
||||||
|
|
||||||
state_is=$(cat "$__object/explorer/state")
|
state_is=$(cat "$__object/explorer/state")
|
||||||
|
|
||||||
# Nothing todo, go away
|
# Nothing todo, go away
|
||||||
|
|
Loading…
Reference in a new issue