Works for me...
body agent control
{
default_repository => "/tmp";
}
$atlas /usr/local/sbin/cf-promises -f ~/tmp/cftest.cf
(nothing)
Montgomery, Philip wrote:
> I am trying to set a default repository path per the instructions in the
> reference manual, but cfengine complains about it.
>
>
>
> I have tried this with cf3 a24,b5, and svn.
>
>
>
> Here is the stanza I am using, which is copied from the reference manual:
>
>
>
> body agent control
>
> {
>
> default_respository => "/var/cfengine/repository";
>
> }
>
>
>
> The message I receive is:
>
>
>
> cf3:/var/cfengine/inputs/promises.cf:23,53: Constraint lvalue
> default_respository is not allowed in 'agent' constraint body, near
> token '/var/cfengine/repository"'
>
>
>
> Thanks,
>
>
>
> -Phil
>
>
>
> This e-mail, and any documents or data attached hereto, is intended for
> the intended recipients only. It may contain confidential and/or
> privileged information and no rights have been waived by the sender. If
> the reader of this message is not the intended recipient, or the
> employee or agent responsible for delivering the message to the intended
> recipient, you are hereby NOTIFIED that any dissemination, distribution,
> retention, archiving or copying of this communication is strictly
> prohibited. If you have received this e-mail in error, please notify me
> at the telephone number shown above or by return mail and delete this
> communication and any copy immediately. MEC provides no assurances that
> this e-mail and its attachments are virus free; you are responsible for
> scanning all e-mails and attachments for viruses. MEC disclaims all
> liability for damages caused by any virus which may be transmitted by
> this email. Thank you.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bug-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/bug-cfengine
--
Mark Burgess
-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway
Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine