[email protected] wrote on 2010-03-05 14:37:57:
> I'd like to add one more suggestion as well:
> 
> * Include the ability to call expand_scalars in the same promise as
>     copying a file from a remote host.  Currently, this has to be done 
via
>     two separate promises:  one to copy the file to the local host, and 
a
>     second to call edit_files and expand the variables.

Technically they are separate.  One involves a comparision, a copy and 
possibly a verify of a source file.  The second edits a copy of that file 
that was copied.

cfserverd:/var/masterfiles/source-template
|
copy
|
cfagent:/tmp/souce-template-copy
|
edit and save to new location
|
/etc/final-target-file


Sincerely,
--
Neil Watson
416-673-3465

> 
> >* The reference manual doesn't specify the default value for 
copy_from's
> >copy_backup attribute. (That goes for a number of things in the
> >documentation, actually.)
> >
> >* cfengine_stdlib.cf has several copy_from bodies. secure_cp is useful
> >but I prefer a secure_cp with a backup, so I created my own
> >(secure_copy_with_backup) in my own library file. A third
> >"backup=true|false" parameter to the standard copy_from bodies may be
> >valuable, but that would break existing policy files, so it's just a
> >thought.
> >
> >* It might be nice to have the file extension appended when copy_backup
> >is used to be configurable beyond just the default ".cfsaved" text and
> >"timestamp" options, mainly to allow for multiple backups, similar to
> >what  various log rotation commands provide. I can see how it may be
> >argued that this goes against Cfengine's convergent nature, but since 
it
> >already provides the timestamp option, I thought I'd throw this out
> >there anyway. A files promise could be used to limit the number of
> >backups, or that could be another attribute.
> >
> >That is all. :)
> >
> >-- 
> >Justin C. Lloyd 
> >Unix Infrastructure Engineer 
> >DigitalGlobe, An Imaging and Information Company
> >
> >
> >This electronic communication and any attachments may contain 
> confidential and proprietary 
> >information of DigitalGlobe, Inc. If you are not the intended 
> recipient, or an agent or employee 
> >responsible for delivering this communication to the intended 
> recipient, or if you have received 
> >this communication in error, please do not print, copy, retransmit,
> disseminate or 
> >otherwise use the information. Please indicate to the sender that 
> you have received this 
> >communication in error, and delete the copy you received. 
> DigitalGlobe reserves the 
> >right to monitor any electronic communication sent or received by 
> its employees, agents 
> >or representatives.
> >
> >_______________________________________________
> >Help-cfengine mailing list
> >[email protected]
> >https://cfengine.org/mailman/listinfo/help-cfengine
> 
> -- 
> Jesse Becker
> NHGRI Linux support (Digicon Contractor)
> _______________________________________________
> Help-cfengine mailing list
> [email protected]
> 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
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to