Nomis52 has asked for the wisdom of the Perl Monks concerning the following question:
I'm writing a small script to automate the task of setting up workstations in a non-profit organisation where I help out. The clients (all running Debian) need to be configured to authenticate users to a LDAP server and also mount nfs shares. This involes installing a few packages using apt and then editing a few text files. Being lazy I don't particularly want to have to do this for every client so I'm trying to write a script to do it for me.
What I'm after is a Perl interface to the debian apt mechanism, so I can grab a few debs, install them and then edit the config files. So far the only solution I can find is to use system() to call apt-get with the -y option to turn off prompts.
Any ideas?
Many thanks
Simon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl <-> debian apt interface
by cees (Curate) on Feb 21, 2003 at 14:34 UTC | |
|
Re: Perl <-> debian apt interface
by Corion (Patriarch) on Feb 21, 2003 at 13:32 UTC | |
|
Re: Perl <-> debian apt interface
by IlyaM (Parson) on Feb 21, 2003 at 15:54 UTC | |
by Nomis52 (Friar) on Feb 23, 2003 at 16:13 UTC | |
|
Re: Perl <-> debian apt interface
by hardburn (Abbot) on Feb 21, 2003 at 14:46 UTC | |
|
Re: Perl <-> debian apt interface
by jonadab (Parson) on Feb 22, 2003 at 02:52 UTC | |
|
Re: Perl <-> debian apt interface
by maksl (Pilgrim) on Feb 23, 2003 at 12:48 UTC | |
by Nomis52 (Friar) on Feb 23, 2003 at 16:01 UTC | |
by maksl (Pilgrim) on Feb 23, 2003 at 18:01 UTC |