Forum: Cfengine Help Subject: Re: Cfengine Help: Possibility of forwarding arguments via command line to cf-agent Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,22234,22239#msg-22239
It sounds like cfengine may not be the right tool for what you are trying to do. A simple perl script may work much better to accomplish this task. Generally, you want to define your config file options as variables within a cfengine policy and then use file promises to tell cf-agent how to build/edit the file it in the format you need. The whole point then is to allow cfengine to regularly check the file and keep it the way you want it. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine