Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Replace debathena krb5 package with equivalent puppet file.
Alex Vandivera6d7539571ba
diff --git a/puppet/zulip_ops/files/krb5.conf b/puppet/zulip_ops/files/krb5.confnew file mode 100644index 00000000000..b3fd7a251d5--- /dev/null+++ b/puppet/zulip_ops/files/krb5.conf@@ -0,0 +1,100 @@+[libdefaults]+ default_realm = ATHENA.MIT.EDU++# The following krb5.conf variables are only for MIT Kerberos.+ kdc_timesync = 1+ ccache_type = 4+ forwardable = true+ proxiable = true++# The following encryption type specification will be used by MIT Kerberos+# if uncommented. In general, the defaults in the MIT Kerberos code are+# correct and overriding these specifications only serves to disable new+# encryption types as they are added, creating interoperability problems.+#+# The only time when you might need to uncomment these lines and change+# the enctypes is if you have local software that will break on ticket+# caches containing ticket encryption types it doesn't know about (such as+# old versions of Sun Java).++# default_tgs_enctypes = des3-hmac-sha1+# default_tkt_enctypes = des3-hmac-sha1+# permitted_enctypes = des3-hmac-sha1++# The following libdefaults parameters are only for Heimdal Kerberos.+ fcc-mit-ticketflags = true++[realms]+ ATHENA.MIT.EDU = {+ kdc = kerberos.mit.edu+ kdc = kerberos-1.mit.edu+ kdc = kerberos-2.mit.edu+ admin_server = kerberos.mit.edu+ master_kdc = kerberos.mit.edu+ }+ CSAIL.MIT.EDU = {+ kdc = kerberos-1.csail.mit.edu+ kdc = kerberos-2.csail.mit.edu+ admin_server = kerberos.csail.mit.edu+ }+ ZONE.MIT.EDU = {+ kdc = casio.mit.edu+ kdc = seiko.mit.edu+ admin_server = casio.mit.edu+ }+ IHTFP.ORG = {+ kdc = kerberos.ihtfp.org+ admin_server = kerberos.ihtfp.org+ }+ 1TS.ORG = {+ kdc = kerberos.1ts.org+ admin_server = kerberos.1ts.org+ }+ ANDREW.CMU.EDU = {+ admin_server = kerberos.andrew.cmu.edu+ default_domain = andrew.cmu.edu+ }+ CS.CMU.EDU = {+ kdc = kerberos-1.srv.cs.cmu.edu+ kdc = kerberos-2.srv.cs.cmu.edu+ kdc = kerberos-3.srv.cs.cmu.edu+ admin_server = kerberos.cs.cmu.edu+ }+ DEMENTIA.ORG = {+ kdc = kerberos.dementix.org+ kdc = kerberos2.dementix.org+ admin_server = kerberos.dementix.org+ }+ stanford.edu = {+ kdc = krb5auth1.stanford.edu+ kdc = krb5auth2.stanford.edu+ kdc = krb5auth3.stanford.edu+ master_kdc = krb5auth1.stanford.edu+ admin_server = krb5-admin.stanford.edu+ default_domain = stanford.edu+ }+ UTORONTO.CA = {+ kdc = kerberos1.utoronto.ca+ kdc = kerberos2.utoronto.ca+ kdc = kerberos3.utoronto.ca+ admin_server = kerberos1.utoronto.ca+ default_domain = utoronto.ca+ }++[domain_realm]+ .exchange.mit.edu = EXCHANGE.MIT.EDU+ exchange.mit.edu = EXCHANGE.MIT.EDU+ .mit.edu = ATHENA.MIT.EDU+ mit.edu = ATHENA.MIT.EDU+ .win.mit.edu = WIN.MIT.EDU+ win.mit.edu = WIN.MIT.EDU+ .csail.mit.edu = CSAIL.MIT.EDU+ csail.mit.edu = CSAIL.MIT.EDU+ .media.mit.edu = MEDIA-LAB.MIT.EDU+ media.mit.edu = MEDIA-LAB.MIT.EDU+ .whoi.edu = ATHENA.MIT.EDU+ whoi.edu = ATHENA.MIT.EDU+ .stanford.edu = stanford.edu+ .slac.stanford.edu = SLAC.STANFORD.EDU+ .toronto.edu = UTORONTO.CA+ .utoronto.ca = UTORONTO.CAdiff --git a/puppet/zulip_ops/manifests/profile/zmirror.pp b/puppet/zulip_ops/manifests/profile/zmirror.ppindex 91830116d43..ecad4c7ab9c 100644--- a/puppet/zulip_ops/manifests/profile/zmirror.pp+++ b/puppet/zulip_ops/manifests/profile/zmirror.pp@@ -8,7 +8,6 @@ class zulip_ops::profile::zmirror {'zephyr-clients','krb5-config','krb5-user',- 'debathena-kerberos-config','debathena-zephyr-config',# Packages needed to build pyzephyr'libzephyr-dev',@@ -41,6 +40,14 @@ class zulip_ops::profile::zmirror {source => 'puppet:///modules/zulip_ops/cron.d/zephyr-mirror',}+ file { '/etc/krb5.conf':+ ensure => file,+ owner => 'root',+ group => 'root',+ mode => '0644',+ source => 'puppet:///modules/zulip_ops/krb5.conf',+ }+file { '/etc/default/zephyr-clients.debathena':ensure => file,owner => 'root',diff --git a/puppet/zulip_ops/manifests/profile/zmirror_personals.pp b/puppet/zulip_ops/manifests/profile/zmirror_personals.ppindex ffd371e2842..91c91cb10c4 100644--- a/puppet/zulip_ops/manifests/profile/zmirror_personals.pp+++ b/puppet/zulip_ops/manifests/profile/zmirror_personals.pp@@ -8,7 +8,6 @@ class zulip_ops::profile::zmirror_personals {'zephyr-clients','krb5-config','krb5-user',- 'debathena-kerberos-config','debathena-zephyr-config',# Packages needed to build pyzephyr'libzephyr-dev',@@ -23,6 +22,14 @@ class zulip_ops::profile::zmirror_personals {require => Exec['setup_apt_repo_debathena'],}+ file { '/etc/krb5.conf':+ ensure => file,+ owner => 'root',+ group => 'root',+ mode => '0644',+ source => 'puppet:///modules/zulip_ops/krb5.conf',+ }+file { ['/home/zulip/api-keys', '/home/zulip/zephyr_sessions', '/home/zulip/ccache','/home/zulip/mirror_status']:ensure => directory,