Installing packages that require user input (e.g. NIS) ?

339 views
Skip to first unread message

Sandra Schlichting

unread,
Sep 12, 2012, 10:40:24 AM9/12/12
to puppet...@googlegroups.com
Hi all

I would like to install NIS, but how do I handle such a package which prompts for user input, when "apt-get install nis" is done on Ubuntu?

Hugs,
Sandra

Craig White

unread,
Sep 12, 2012, 11:22:56 AM9/12/12
to puppet...@googlegroups.com

On Sep 12, 2012, at 7:40 AM, Sandra Schlichting wrote:

> Hi all
>
> I would like to install NIS, but how do I handle such a package which prompts for user input, when "apt-get install nis" is done on Ubuntu?
----
figure out if nis packages support having an 'answer' file available to provide the input for those questions and if so, have puppet put the file into place prior to installing the packages.

Also, fwiw - I don't use NIS but I do use LDAP everywhere and I have found that asserting control and content over the configuration files (/etc/nsswitch.conf and others - primarily /etc/pam.d files), that the answers to the post-install configuration script are already handled.

Craig

Sandra Schlichting

unread,
Sep 12, 2012, 11:58:51 AM9/12/12
to puppet...@googlegroups.com
figure out if nis packages support having an 'answer' file available to provide the input for those questions and if so, have puppet put the file into place prior to installing the packages.

Great. It does. Thanks =)

These links were useful


apt-get install nis
debconf-get-selections | grep nis > nis.seed
--edit nis.seed--
debconf-set-selections nis.seed


Reply all
Reply to author
Forward
0 new messages