[Gllug] CFengine and dpkg/dselect

Rich Walker rw at shadow.org.uk
Tue Mar 15 21:03:10 UTC 2005


Hi,

I've probably missed something obvious here.

I'm trying to use cfengine to make sure various machines have the right
stuff installed on them. A line like:

	linux.installpackages::
		"/usr/bin/apt-get  -y install hdparm ksymoops emacs21 emacs-goodies-el global gcc g++ flex bison libc6-dev libgtk2.0-dev libpopt-dev libncurses5-dev libreadline4-dev libieee1284-3-dev picp gputils libroy-dev libjudy-dev libraw1394-dev libdc1394-11-dev libglut3-dev unifdef docbook-utils geda geda-utils geda-gsymcheck pcb geda-symbols "

(apologies for length)

works, allowing me to do
# cfagent -v -q -Dinstallpackages
and get the packages installed. But if any of them happens to want to
ask a question, the whole process breaks.

What can I replace the apt-get with, so that the next time I run
dselect/apt-get install from the console of the machine, it does the
install then, and asks the questions then?

cheers, Rich.

-- 
rich walker         |  Shadow Robot Company | rw at shadow.org.uk
technical director     251 Liverpool Road   |
need a Hand?           London  N1 1LX       | +UK 20 7700 2487
www.shadow.org.uk/products/newhand.shtml
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list