[Puppet Users] Installing packages that require user input (e.g. NIS) ?

2012-09-12 Thread Sandra Schlichting
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

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/nPiUgbBGqicJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Installing packages that require user input (e.g. NIS) ?

2012-09-12 Thread Craig White

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

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Installing packages that require user input (e.g. NIS) ?

2012-09-12 Thread Sandra Schlichting


 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

http://wiki.debian.org/DebianInstaller/Preseed
http://serverfault.com/questions/228266/how-do-i-generate-a-response-file-to-be-used-with-apt-get-or-aptitude

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


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/nDjEb_S9KMUJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.