Forum: Cfengine Help
Subject: Re: Howto make another pass if some important files gets updated
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18559,18576#msg-18576

Usually it's achieved by the 2nd approach, e.g.


files:
   "/tmp/foo"
             comment => "This file must exist for our promise",
             copy_from => my_copy("policy-server.domain.com", "/opt/foo"),
             classes => if_repaired("foo_copied");

commands:
     foo_copied::
            "/tmp/foo"
                    comment => "Execute command once it's copied";


_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to