We can provide a /etc/buildd/buildd.conf file on buildds to reduce a
bit the amount of configuration to be done in $HOME/.builddrc. It
currently mostly includes upload configuration.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
--- /dev/null
+$nice_level = 0;
+$should_build_msgs = 0;
+$log_queued_messages = 1;
+
+$upload_queues = [
+ {
+ dupload_local_queue_dir => "upload",
+ dupload_archive_name => "rsync-ftp-master",
+ },
+ {
+ dupload_local_queue_dir => "upload-security",
+ dupload_archive_name => "security",
+ }
+];
+
+1;
--- /dev/null
+$nice_level = 0;
+$should_build_msgs = 0;
+$log_queued_messages = 1;
+
+$upload_queues = [
+ {
+ dupload_local_queue_dir => "upload",
+ dupload_archive_name => "rsync-ftp-master",
+ },
+ {
+ dupload_local_queue_dir => "upload-security",
+ dupload_archive_name => "security",
+ }
+];
source => 'puppet:///modules/buildd/dupload.conf',
require => Package['dupload'],
}
+ package { 'buildd':
+ ensure => installed,
+ }
+ file { '/etc/buildd/buildd.conf':
+ source => 'puppet:///modules/buildd/buildd.conf',
+ require => Package['buildd'],
+ }
site::linux_module { 'dm_snapshot': }
include ferm::ftp_conntrack
}