mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Convert zmirror to use puppet apt module for debathena sources
(imported from commit 080d59d2ac750d03b55460752d7fe7d02e72611c)
This commit is contained in:
		@@ -1,2 +0,0 @@
 | 
			
		||||
deb http://debathena.mit.edu/apt wheezy debathena debathena-config
 | 
			
		||||
deb-src http://debathena.mit.edu/apt wheezy debathena debathena-config
 | 
			
		||||
@@ -18,13 +18,15 @@ class zulip_internal::zmirror {
 | 
			
		||||
                       ]
 | 
			
		||||
  package { $zmirror_packages: ensure => "installed" }
 | 
			
		||||
 | 
			
		||||
  file { '/etc/apt/sources.list.d/debathena.list':
 | 
			
		||||
    ensure     => file,
 | 
			
		||||
    mode       => 644,
 | 
			
		||||
    owner      => "root",
 | 
			
		||||
    group      => "root",
 | 
			
		||||
    source     => 'puppet:///modules/zulip_internal/debathena.list',
 | 
			
		||||
  apt::sources_list {'debathena':
 | 
			
		||||
    location    => 'http://debathena.mit.edu/apt',
 | 
			
		||||
    release     => 'wheezy',
 | 
			
		||||
    repos       => 'debathena debathena-config',
 | 
			
		||||
    key         => 'D1CD49BDD30B677273A75C66E4EE62700D8A9E8F',
 | 
			
		||||
    key_source  => 'https://debathena.mit.edu/apt/debathena-archive.asc',
 | 
			
		||||
    include_src => true,
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  file { "/etc/supervisor/conf.d/zmirror.conf":
 | 
			
		||||
    require => Package[supervisor],
 | 
			
		||||
    ensure => file,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user