You can use {} or () for variables.

Nicolas Charles wrote:
> Hi Neil,
> 
> Shouldn't it be $(mod) rather than ${mod} ? I guess the () are for
> function parameters, whereas {} are for variables and classes, isn't it ?
> 
> Regards,
> Nicolas
> 
> 2009/12/2 <nwat...@symcor.com <mailto:nwat...@symcor.com>>
> 
>     Anyone?
> 
>     Sincerely,
>     --
>     Neil Watson
>     416-673-3465
> 
>     help-cfengine-boun...@cfengine.org
>     <mailto:help-cfengine-boun...@cfengine.org> wrote on 2009-12-01
>     21:07:40:
> 
>     > I've put together a test bundle for this.  Nova gives out these
>     errors:
>     > cf-promises -f ./foo.cf <http://foo.cf>
>     > Invalid mode string (${mod})
>     > Problem validating a mode string
>     > Promise (version not specified) belongs to bundle 'filecontents'
>     in file
>     > './foo.cf <http://foo.cf>' near line 50
>     > Comment: ${cmt}
>     > Unknown user ${usr}
>     > Unknown group '${grp}'
>     > Promise (version not specified) belongs to bundle 'filecontents'
>     in file
>     > './foo.cf <http://foo.cf>' near line 50
>     > Comment: ${cmt}
>     >
>     > Strangely Community V3.0.2 returns now errors or warnings.  What do
>     these
>     > messages mean?
>     >
>     > --
>     > Neil Watson
>     > Linux/UNIX Consultant
>     > http://watson-wilson.ca
>     > [attachment "foo.cf <http://foo.cf>" deleted by Neil Watson/TOR/SYM]
>     > _______________________________________________
>     > Help-cfengine mailing list
>     > Help-cfengine@cfengine.org <mailto:Help-cfengine@cfengine.org>
>     > https://cfengine.org/mailman/listinfo/help-cfengine
> 
> 
> 
> 
>     CONFIDENTIALITY WARNING
>     This communication, including any attachments, is for the exclusive
>     use of addressee and may contain proprietary and/or confidential
>     information. If you are not the intended recipient, any use,
>     copying, disclosure, dissemination or distribution is strictly
>     prohibited. If you are not the intended recipient, please notify the
>     sender immediately by return e-mail, delete this communication and
>     destroy all copies.
> 
>     AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ
>     Ce message, ainsi que les pièces qui y sont jointes, est destiné à
>     l’usage exclusif de la personne à laquelle il s’adresse et peut
>     contenir de l’information personnelle ou confidentielle. Si le
>     lecteur de ce message n’en est pas le destinataire, nous l’avisons
>     par la présente que toute diffusion, distribution, reproduction ou
>     utilisation de son contenu est strictement interdite. Veuillez
>     avertir sur-le-champ l’expéditeur par retour de courrier
>     électronique et supprimez ce message ainsi que toutes les pièces
>     jointes.
> 
>     _______________________________________________
>     Help-cfengine mailing list
>     Help-cfengine@cfengine.org <mailto:Help-cfengine@cfengine.org>
>     https://cfengine.org/mailman/listinfo/help-cfengine
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-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
-------------------------------------------------
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to