Oh, I was trying in Community Edition. Yeah, that sounds like an
overly verbose Nova warning.

2009/12/14  <nwat...@symcor.com>:
> Using community I do not get these warnings.  Have you tried my example in
> community or Nova?
>
> Sincerely,
> --
> Neil Watson
> 416-673-3465
>
> help-cfengine-boun...@cfengine.org wrote on 2009-12-13 17:13:42:
>
>> I do this all the time and never get any warnings.
>>
>> On Fri, Nov 27, 2009 at 8:47 PM, Neil Watson <cfeng...@watson-
>> wilson.ca> wrote:
>> > Can one keep bundles in library.cf to be called when needed but not in
>> > the bundle sequence?  I have done so but cf-promises is giving me
>> > warnings.
>> >
>> > nova>  ?? Analysing promise dependencies for "promise_library_cf_28"
>> > nova> Classes activated by the outcomes of promise ref
>> "promise_library_cf_28" did not occur in any promise proposal, so
>> they are nullpotent
>> > nova> Promise (version not specified) belongs to bundle
>> 'fileperms' in file '/var/cfengine/inputs/library.cf' near line 28
>> > nova> Comment: ${cmt}
>> > nova> Invalid mode string (${mod})
>> > nova> Problem validating a mode string
>> > nova> Promise (version not specified) belongs to bundle
>> 'fileperms' in file '/var/cfengine/inputs/library.cf' near line 28
>> > nova> Comment: ${cmt}
>> > nova> Unknown user ${usr}
>> > nova> Unknown group '${grp}'
>> > nova> Promise (version not specified) belongs to bundle
>> 'fileperms' in file '/var/cfengine/inputs/library.cf' near line 28
>> > nova> Comment: ${cmt}
>> >
>> > bundle agent fileperms (trg, mod, usr, grp, cmt){
>> > # Bundle to set file permissions.
>> >
>> >     files:
>> >         "${trg}"
>> >             perms => system( "${mod}", "${usr}", "${grp}" ),
>> >             action => warn_now, # Passive only at this point.
>> >             classes => cdefine(
>> >                 "${trg}_kept",
>> >                 "${trg}_repaired",
>> >                 "${trg}_failed"
>> >             ),
>> >             comment => "${cmt}";
>> >
>> >     reports:
>> >
>> >         all::
>> >             "ALARM: ${trg} wrong perms ${mod}, ${usr}, ${grp}",
>> >             ifvarclass => canonify("${trg}_failed");
>> >
>> >             "${trg} correct perms ${mod}, ${usr}, ${grp}",
>> >             ifvarclass => canonify("${trg}_kept");
>> >
>> >             "WARNING: ${trg} fixed perms ${mod}, ${usr}, ${grp}",
>> >             ifvarclass => canonify("${trg}_repaired");
>> > }
>> >
>> > --
>> > Neil Watson
>> > Linux/UNIX Consultant
>> > http://watson-wilson.ca
>> > _______________________________________________
>> > Help-cfengine mailing list
>> > 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
>
>
>
>
> 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
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to