2013/12/18 Nico Schottelius <notifications@github.com>

> In cdist/conf/type/__user/gencode-remote:
>
> >      esac
> >      echo "$ret"
> >  }
> >
> > -cd "$__object/parameter"
> > -if grep -q "^${name}:" "$__object/explorer/passwd"; then
> > -   for property in $(ls .); do
> > -      new_value="$(cat "$property")"
> > -      unset current_value
> > +if [ "$state" = "present" ]; then
> > +    cd "$__object/parameter"
>
> If possible, please add a shortcut using state_is and state_should before
> the whole real block - would be nicer than indenting
> everything.
>
Its not so easy,
the fist if is only to skip the original create / modify block which all
checks
(these checks examine if some modifications needs to be done, this is most
of the indented code ...)


—
> Reply to this email directly or view it on GitHub<https://github.com/telmich/cdist/pull/233/files#r8441641>
> .
>