Forum: Cfengine Help Subject: RHS of authorize promise for .* should be a list Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18402,18402#msg-18402
This has been annoying me for some time now: teispes:/srv/sysconf# /etc/init.d/cfengine3 restart Restarting datacenter management platform: cfengine3RHS of authorize promise for .* should be a list It seems like a bug, since the server config is as follows: bundle server access_rules { access: "$(config.scm)" admit => { "@(config.hosts)" }, comment => "$(ansi.black)(this.promiser):(this.handle)$(ansi.reset)"; "$(sys.workdir)" admit => { "@(config.hosts)" }, comment => "$(ansi.black)(this.promiser):(this.handle)$(ansi.reset)"; roles: ".*" authorize => { "$(config.user)" }, comment => "$(ansi.black)(this.promiser):(this.handle)$(ansi.reset)"; } And my configuration file is as follows: #. coding:utf-8 #. vim: fileencoding=utf-8 syn=cf3 sw=4 ts=4 et bundle common config { vars: "user" string => "root"; "user" string => "root"; "mail" string => "n...@$(sys.domain)"; "mail" string => "auto...@$(sys.domain)"; "mail" string => "localhost"; "log" string => "LOG_LOCAL0"; "scm" string => "/srv/sysconf"; "scm" string => "$(config.scm)/slash"; "scm" string => "$(config.scm)/server"; "scm" string => "$(config.scm)/server/inputs"; "scm" string => "$(config.scm)/server/modules"; "reports" string => "$(sys.workdir)/reports"; "hosts" slist => { "127.0.0.1/32", "172.31.69.0/24" }; } _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine