help-cfengine
[Top][All Lists]
Advanced

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

Re: syncing files....


From: John Sechrest
Subject: Re: syncing files....
Date: Fri, 06 Feb 2004 16:16:50 -0800


John Gray <gray@agora-net.com> writes:


 % I haven't gotten to far with having cfengine manage my packages yet. 
 % Many of our boxes are debian boxes.   Can I tell cfengine the packages I 
 % need, and have it use apt-get to resolve the dependencies for me?

 Yes!!!!

#################################################################
#
# cf.packages - for vnl
#
# Look for what debian style / apt-get based packages should be installed
#
#################################################################


control:
   split = ( ${n} )
   packagestohave = ( ReadFile(/var/mln/packagelist,4000) )

shellcommands:
              
   any:: 
        
   "/usr/bin/apt-get install ${packagestohave}"

 
###
#
# END cf.packages
#
###

----

More interestingly, I am working on another package that selects
the installation by the "role" of the computer.

I have already posted the core of that.






-----
John Sechrest          .         Helping people use
                        .           computers and the Internet
                          .            more effectively
                             .                      
                                 .       Internet: sechrest@peak.org
                                      .   
                                              . http://www.peak.org/~sechrest




reply via email to

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