Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Remove unused 'builder' files.

Alex Vandiverfb2d05f9e367
diff --git a/puppet/zulip/lib/puppet/type/chroot.rb b/puppet/zulip/lib/puppet/type/chroot.rb
deleted file mode 100644
index 3718e43c0df..00000000000
--- a/puppet/zulip/lib/puppet/type/chroot.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-Puppet::Type.newtype(:chroot) do
- ensurable
- newparam(:release) do
- desc "The name of the release"
- isnamevar
- end
- newparam(:distro) do
- desc "The name of the Linux distribution (Debian, Ubuntu)"
- end
-end
-
-Puppet::Type.type(:chroot).provide(:chroot) do
- def exists?
- File.exists?("/var/lib/schroot/chroots/" + resource[:release] + "-amd64")
- end
-
- def create
- if @resource[:distro] == "ubuntu"
- mirror = "http://mirror.cc.columbia.edu/pub/linux/ubuntu/archive/"
- else
- mirror = "http://mirror.cc.columbia.edu/debian"
- end
- ["amd64", "i386"].each { |x|
- system("mk-sbuild #{@resource[:release]} --arch=#{x} --debootstrap-mirror=#{mirror} --distro=#{@resource[:distro]}")
- }
- end
-
- def destroy
- system("rm -rf /var/lib/schroot/chroots/#{@resource[:release]}-*")
- end
-end
diff --git a/puppet/zulip_ops/files/builder/sbuildrc b/puppet/zulip_ops/files/builder/sbuildrc
deleted file mode 100644
index 603d9d3a937..00000000000
--- a/puppet/zulip_ops/files/builder/sbuildrc
+++ /dev/null
@@ -1,21 +0,0 @@
-# Mail address where logs are sent to (mandatory, no default!)
-$mailto = '[email protected]';
-
-# Directory for chroot symlinks and sbuild logs. Defaults to the
-# current directory if unspecified. (Deprecated.) Leave this unset;
-# umt compare-bin relies upon this being unset.
-#
-# The above comment is a lie. ~ lfaraone
-$build_dir='/home/zulip/ubuntu/build';
-
-# Directory for writing build logs to
-$log_dir="/home/zulip/ubuntu/logs";
-
-# Override default sbuild dependency resolver (see 'man sbuild'). The default
-# resolver (apt) mostly works ok but not always (eg, oneiric libreoffice).
-# Use 'apt', 'aptitude', 'internal'. Can also use '--build-dep-resolver' with
-# sbuild or '--sbuild-dep-resolver' with umt.
-#$build_dep_resolver="apt";
-
-# don't remove this, Perl needs it:
-1;
diff --git a/puppet/zulip_ops/files/builder/ubuntu-archive-keyring.gpg b/puppet/zulip_ops/files/builder/ubuntu-archive-keyring.gpg
deleted file mode 100644
index b18548d0585..00000000000
Binary files a/puppet/zulip_ops/files/builder/ubuntu-archive-keyring.gpg and /dev/null differ