puppetlabs/puppetlabs-debbuilder — pull request #31 by MosesMendoza (2013-12-31 23:34:42+00:00)
Title: Add additional options

Expose some new attributes!

$debootstrap_components allows you to specify the repository components to
use with debootstrap. By default, debootstrap always assumes a repo will have
'main'. If you have a repo you are using for your debootstrap mirror, and it
doesn't have main, it isn't going to work. If this variable is used, the
resulting string will be inserted into the pbuilderrc as a DEBOOTSTRAPOPTS
element. This should be a space-separated string of components.

$debootstrap_keyring allows you to specify the exact keyring file to use when
debootstrapping a base system. This is important when you have you're own
debian distribution repo signed with your key, not debian's. By default,
debootstrap will use the very last '--keyring' argument as its canonical
keyring, which in the pbbuilderrc is debian's or ubuntu's. by using this
option, you append an extra '--keyring' option to DEBOOTSTRAPOPTS with the
value. This should be the path to a keyring file on disk.

$debian_suites/ubuntu_suiters allows you to specify the distributions that
are defined as "suites" in the pbuilderrc, which is useful if you
aren't building a commonly accepted debian distribution. This should be a
comma-separated string of debian suites.

Signed-off-by: Moses Mendoza