1 Reply Latest reply on Sep 28, 2015 7:57 PM by jamezp

    Knowing if a change was made when using CLI

    user992281

      When using a configuration management tool (Puppet, Chef) it is essential to make all configuration changes idempotent and to know if an actual configuration change was made or it was a no-op.

       

      When using Wildfly CLI, when I try for example to set a same value twice:

       

      [standalone@embedded /] :write-attribute(name=organization, value=value1)

      {"outcome" => "success"}

      [standalone@embedded /] :write-attribute(name=organization, value=value1)

      {"outcome" => "success"}


      I don't see any feedback for the second command that the value is already there and that it was a no-op.


      Is it possible to achieve this with Wildfly CLI?