On 4/1/2009 5:26 PM, Scott Frazer wrote:
> On Apr 1, 4:37 pm, James Turnbull <[email protected]> wrote:
>> Why would preseed do installation any differently?  d-i pkgsel/include
>> should use Debian standard package tool - in this case aptitude - to
>> install.
> 
> I'd love to know myself.  All I know is that I spent a weekend trying
> to figure out why my new installs were constantly generating 500
> messages.  Then I discovered that Ubuntu also broke apt-get in such a
> way as to prevent it from doing an install on first boot through an
> init.d script.
> 
> For now, I've got a manual process in setting up the puppet client
> software, but then everything else gets set up for me, so it's still a
> time saver.

I don't have a recent Ubuntu preseed setup, but here's what I ended up 
with for preseeding a newer Puppet onto Debian etch on Feb. 23 (lines 
may break badly -- each d-i entry should be a single line).

# Add openssh-server plus newer puppet dependencies
d-i pkgsel/include string openssh-server ruby libxmlrpc-ruby 
libopenssl-ruby adduser lsb-base lsb-release libshadow-ruby1.8

# Grab facter and puppet packages and settings, install local
# repository key, toggle bootable flags on Windows and root
# partitions, and save installation log to newly-installed drive.
d-i preseed/late_command string wget -O 
/target/root/facter_1.5.1-0.1_all.deb 
http://ftp.cae.tntech.edu/REDACTED/facter_1.5.1-0.1_all.deb ; wget -O 
/target/root/puppet_0.24.6-1_all.deb 
http://ftp.cae.tntech.edu/REDACTED/puppet_0.24.6-1_all.deb ; in-target 
dpkg --force-confold -i /root/facter_1.5.1-0.1_all.deb 
/root/puppet_0.24.6-1_all.deb ; wget -O /target/etc/puppet/puppet.conf 
http://ftp.cae.tntech.edu/REDACTED/puppet.conf ; wget -O 
/target/root/caeftp_key.asc 
http://ftp.cae.tntech.edu/REDACTED/caeftp_key.asc ; in-target apt-key 
add /root/caeftp_key.asc ; echo -e 'a\n1\na\n2\nw\n' | fdisk /dev/sda || 
true; cp /var/log/syslog /target/root

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University

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

Reply via email to