Hello folks, I'm trying to implement the following policy on FreeBSD box: - let's try to install a package from the default repo - upon failure copy a custom copy of a package from cfengine policy host and install it locally
Things which stop me are: 1. There's no obvious way to define a class if package installation wasn't successful 2. Neither isdir() nor fileexists() support regular expressions, so I cannot check /var/db/pkg/<package> or /var/db/pkg/<package/+CONTENTS for existence. Any ideas? -- SY, Seva Gluschenko. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine