On Mon, 07 Dec 2009 17:09:41 -0500 Joe McDonagh <joseph.e.mcdon...@gmail.com> 
wrote:

> It would be nice if we could preseed the puppet installation package 
> with some values. This way during boot up, preseeding
> debian-installer, I could also preseed the puppet package to start in
> a certain environment. Beyond that you could preseed certname,
> server, etc.

Here we use this sort of thing:

file { "/var/cache/debconf/sun-java6-bin.preseed":
  ensure  => present,
  content => "sun-java6-bin   shared/accepted-sun-dlj-v1-1    boolean true",
}

package { "sun-java6-bin":
  ensure       => present,
  responsefile => "/var/cache/debconf/sun-java6-bin.preseed",
  require      => File["/var/cache/debconf/sun-java6-bin.preseed"],
}

Then anything you can do using preseed is open to you.

Hope this helps !

Marc

--

You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.


Reply via email to