Skip to content

Instantly share code, notes, and snippets.

@smerchek
Created November 7, 2012 15:53
Show Gist options
  • Save smerchek/4032410 to your computer and use it in GitHub Desktop.
Save smerchek/4032410 to your computer and use it in GitHub Desktop.
Puppet: Install a package with an answer file
#source: http://projects.puppetlabs.com/projects/1/wiki/debian_preseed_patterns
file { "/tmp/file.preseed":
source => 'puppet:///modules/modulename/file.preseed',
mode => 600,
backup => false,
}
package { 'packagename':
responsefile => '/tmp/file.preseed',
require => File['/tmp/file.preseed'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment