HomePhabricator

contint: move package_builder setup to its own class

Authored by hashar on May 4 2016, 3:32 PM.

Description

contint: move package_builder setup to its own class

Factor out Debian package building related stuff to a standalone class
contint::package_builder out of contint:馃摝:labs.

Move the dependency from role class to it, that solves a dependency
definition we had which was set to Class['contint::packages::labs'] when
we really want /var/cache/pbuilder to be a symlink to the mounted
extended disk.

Package building is only done on Jessie instances. Add a requires_os()
to prevent the class from being applied on other distributions.

Bug: T95545
Depends-On: Ic9e9141a188d153955aac8d7a5055e693cd27ae3
Change-Id: Ief15d1b9219e51767f7b5dbc4cd325a333c11235

Details

Committed
hasharMay 11 2016, 1:10 PM
Parents
rOPUP5cfbc822cf5f: contint: move File[/srv/localhost-worker] out of role
Branches
Unknown
Tags
Unknown
ChangeId
Ief15d1b9219e51767f7b5dbc4cd325a333c11235