help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get cfengine to act like tar


From: Mark . Burgess
Subject: Re: How to get cfengine to act like tar
Date: Mon, 30 Sep 2002 22:37:58 +0200 (MET DST)

Could you send me this snippet with -d2 set on cfengine, so that I
can see how the message arises. It might be correct...I'm not
sure

M


On 30 Sep, Chris Marlow wrote:
> 
> Mark -
> 
> That seems to have taken care of part of the problem...  The errors about
> "internal error" have disappeared.  However, I'm still getting:
> 
> --snip--
> cfengine:axentmgr: Will not create directories for a relative filename
> ../bin4/a2p
> Has no invariant meaning
> cfengine:axentmgr: Can't stat ../bin4/a2p
> cfengine:axentmgr: Will not create directories for a relative filename
> ../bin2/adapters.dsense
> Has no invariant meaning
> cfengine:axentmgr: Can't stat ../bin2/adapters.dsense
> cfengine:axentmgr: Will not create directories for a relative filename
> ../bin2/arrays.dsense
> Has no invariant meaning
> cfengine:axentmgr: Can't stat ../bin2/arrays.dsense
> cfengine:axentmgr: Will not create directories for a relative filename
> ../bin4/c2ph
> Has no invariant meaning
> cfengine:axentmgr: Can't stat ../bin4/c2ph
> cfengine:axentmgr: Will not create directories for a relative filename
> ../bin3/call
> Has no invariant meaning
> cfengine:axentmgr: Can't stat ../bin3/call
> --unsnip--
> 
> Here's a breakdown of the configs:
> 
> ****************
> ****Server side
> ****************
> 
> control:
> 
>   domain = ( domain.com )
> 
>      cfrunCommand = ( "/var/cfengine/bin/cfagent" )
> 
>  any::
> 
>   IfElapsed = ( 1 )
>   ExpireAfter = ( 15 )
>   MaxConnections = ( 50 )
>   MultipleConnections = ( true )
>   LogAllConnections = ( true )
>   AllowUsers = ( root )
> 
> 
> #########################################################
> 
> grant:
> 
>    # Files should be world readable
> 
>    /var/cfengine/configs/client                         *.domain.com
>    /var/local/cfengine-data                             *.domain.com
> 
> 
> ****************
> ****Client Side - cfengine-class.configuration file
> ****************
> 
> control:
> 
>         actionsequence  = ( copy )  # Keep this simple and constant
>         domain = (domain.com )  # Needed for remote copy
>         cfengineserver      = ( newsup.domain.com )
> 
>         cf_workdir          = ( /var/cfengine )
>         cf_install_dir      = ( /var/local/contrib/bin )
>         destination_base    = ( /var/local/cfenginetestbed )
>         LogDirectory        = ( /var/cfengine/logs )
> 
>         #
>         # Classes that we belong to, so we know what packages to download
>         #
> 
>         AddClasses = ( prod_contrib )
> 
> #
> # Run the main cfengine file, now that our classes are set up
> #
> 
> import:
>         /var/cfengine/configs/client/cfengine.conf
> 
> 
> ****************
> ****Client Side - cfengine.conf file
> ****************
> 
> control:
> 
>         actionsequence        = ( copy )
>         fileserver            = ( newsup.domain.com )
>         cfengine_base_data    = ( /var/local/cfengine-data )
>         cfengine_base_configs = ( /var/cfengine/configs/client )
>         excludecopy           = ( cfengine-class.configuration RCS sup *~ )
> 
> # Config file for FSS Contrib tree
> import:
>         $(cfengine_base_configs)/aix.prod_contrib.conf
> 
> 
> ****************
> ****Client Side - aix.prod_contrib.conf
> ****************
> control:
> 
>  actionsequence  = ( copy )  # Keep this simple and constant
> 
> ############################################################################
> # Individual packages start here
> ############################################################################
> 
> # Config file for FSS contrib tree
> copy:
> any.prod_contrib::
>         $(cfengine_base_data)/prod_contrib
>         dest=$(destination_base)
>         r=inf
>         owner=root
>         group=system
>         timestamps=keep
>         type=binary
>         forcedirs=true
>         server=$(fileserver)
>         typecheck=false
>         backup=false
> 
> 
> 
> 
> Any help would be greatly appreciated.  Thanks
> 
> 
> 
> -Chris
> 
> --------
> Christopher S. Marlow
> AIX Infrastructure / 24x7 Security
> IBM Global Services SDC-North
> marlowc@us.ibm.com
> T/L - 446-3253
> Phone - 802-769-3253
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






reply via email to

[Prev in Thread] Current Thread [Next in Thread]