Forum: Cfengine Help Subject: Re: Syntax checking without promise analyze Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18689,18830#msg-18830
Well, there's nothing in oppose to run cf-promises over your pre-commited set of policies using unprivileged user's local setup. The Cfengine Reference Manual contains quite clear guidelines about running Cfengine binaries by an unprivileged user. In short, the $HOME/.cfengine/inputs contains promises to check over. Moreover, placing the pre-commited set into the separate directory like $HOME/.cfengine/test and running cf-promises -v -f $HOME/.cfengine/test/promises.cf, you can setup unprivileged user policies themselves, so that cf-promises -v -f $HOME/.cfengine/test/promises.cf will be run, upon success changes will be commited to subversion, otherwise a troubleshooting action is applied. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine