Here is the output of editfiles: ********************************************************************* Main Tree Sched: editfiles pass 1 @ Wed Jan 27 09:31:23 2010 *********************************************************************
Begin editing /etc/skel/.bashrc End editing /etc/skel/.bashrc ..................................................................... cfengine:worf: Program does not define mountpattern cfengine:worf: Mountpattern is undefined Begin editing /etc/ssh/ssh_config ..................................................................... Begin editing /var/spool/cron/crontabs/root End editing /var/spool/cron/crontabs/root ..................................................................... Later passes of editfiles have: ********************************************************************* Main Tree Sched: editfiles pass 2 @ Wed Jan 27 09:31:23 2010 ********************************************************************* cfengine:worf: Program does not define mountpattern cfengine:worf: Mountpattern is undefined Defined Edit . /etc/foo / any Defined Edit . /etc/foo / any Checking for potential rule:: Edit <home/.bashrc> In addition, other actionsequences (links, files, processes, etc) all have the last three lines in them. What I am trying to do is to set custom prompts out of the box, and the stock Debian .bashrc has a section which sets PS1, so I figured that I would either have to go in and comment them out on all machines (at which point, I could just add the source line to /etc/profile or /etc/bash.bashrc as you suggested). but editing every .bashrc on every machine seemed more of a hassle than letting cfengine manage it. 2010/1/27 <nwat...@symcor.com> > help-cfengine-boun...@cfengine.org wrote on 2010-01-26 18:14:56: > > > > # "Live" .bashrc > > { home/.bashrc > > AppendIfNoSuchLine ". /etc/foo" > > } > > What does verbose output say? I'm guessing that this promise will be > ignored since, being a relative path, Cf cannot determine where to apply > it. I think you'd be better of updating /etc/bashrc or /etc/profile. > Those changes will be automatically applied to all current and future > users. > > Sincerely, > -- > Neil Watson > 416-673-3465 > > > > 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