[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: methods and scripts
From: |
Brendan Strejcek |
Subject: |
Re: methods and scripts |
Date: |
Thu, 15 Apr 2004 18:53:11 -0500 |
User-agent: |
Mutt/1.3.28i |
Tim Nelson wrote:
> Mark, is there a way to do here-documents as input to
> shellcommands? eg, something like:
I think I posted this before...
shellcommands:
debian_unstable_mta.!debian_unstable_mta_postfix_user::
# add a postfix user; sed allows indentation preservation
#"/bin/cat <<' EOF' | sed 's/^ *//' | EDITOR=ed vipw
"/bin/sed 's/^ *//' <<' EOF' | EDITOR=ed vipw
/^\+/
-
a
postfix:x:1000:1000::/var/spool/postfix:/bin/false
.
w
q
EOF"
- Re: cfengine ideology question, (continued)
- Re: cfengine ideology question, Tim Nelson, 2004/04/14
- Re: cfengine ideology question, Mark . Burgess, 2004/04/15
- methods and scripts [was: Re: cfengine ideology question], Tim Nelson, 2004/04/15
- Re: methods and scripts,
Brendan Strejcek <=
- Re: methods and scripts, John Sechrest, 2004/04/15
- Re: methods and scripts, Chris Edillon, 2004/04/15
- Re: methods and scripts, Brendan Strejcek, 2004/04/15
Re: cfengine ideology question, Bent Gjersvik, 2004/04/15