[Spacewalk-devel] [PATCH] - BZ#699966 - Add an option on rhncfg-manager to ignore missing local files

Marcelo Moreira de Mello mmello at redhat.com
Wed Apr 27 08:16:27 EDT 2011


On Wed, 2011-04-27 at 09:51 +0200, Jan Pazdziora wrote:
> On Wed, Apr 27, 2011 at 02:46:02AM -0300, Marcelo Moreira de Mello wrote:
> > 
> > This patch adds a new option in rhncfg-manager which allows to continue
> > if local files were missing. 
> > 
> > Per example: 
> > 
> > [root at server ~]# rhncfg-manager  update --help
> > usage: rhncfg-manager update [options] file [ file ... ]
> > 
> > options:
> >   -c CHANNEL, --channel=CHANNEL
> >                         Upload files in this config channel
> >   -d DEST_FILE, --dest-file=DEST_FILE
> >                         Upload the file as this path
> >   -t TOPDIR, --topdir=TOPDIR
> >                         Make all files relative to this string
> >   --delim-start=DELIM_START
> >                         Start delimiter for variable interpolation
> >   --delim-end=DELIM_END
> >                         End delimiter for variable interpolation
> >   -f, --force           Ignore errors if some local files does not exist
> >   -h, --help            show this help message and exit
> > 
> > [root at server ~]# rhncfg-manager  update --channel=test-channel
> > --force /etc/shadow /etc/autofss /etc/group /etc/no_exists
> 
> I don't like the --force. Could we have it names --ignore-missing
> or --skip-missing or something similar?
> 

Hey Jan, 

My first version I set --ignore-missing :) hehehe.. fixing it 

Cheers, 
Marcelo

-- 
Marcelo Moreira de Mello
RHCA RHCSS RHCVA 
Software Maintenance Engineer/SEG           

gpg id: 2048R/FDB110E5
gpg fingerprint: 3BE7 EF71 4DD7 6812 D309  8F18 BD42 D095 FDB1 10E5




More information about the Spacewalk-devel mailing list