Forum: Cfengine Help Subject: Re: Unexpected argument with no preceding option: && Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,16855,17982#msg-17982
I went back to this quite old topic because it became obvious to me that the important part of runagent's functionality have been missing since that restriction came into place. The typical cf-runagent usage is to enforce (push) changes at the target host. But currently it means that one must run cf-runagent twice to enforce changes, because first run will be spend for update process and only second might produce the desired state. That's not quite what it's wanted. It is mandatory either to permit shell expansion back, or to change cf-agent's behaviour, so that it would always run update first. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine