mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
The new puppet.conf file has to be moved into place manually. (imported from commit 253d9a95386dae8c803a998ce2dc7e8be40c880a)
38 lines
1.4 KiB
Puppet
38 lines
1.4 KiB
Puppet
class zulip-internal::zmirror_personals {
|
|
class { 'zulip-internal::base': }
|
|
class { 'zulip::supervisor': }
|
|
|
|
$zmirror_packages = [ "cython", "libzephyr-dev", "comerr-dev", "python-dev", "libzephyr4-krb5", "zephyr-clients",
|
|
"krb5-config", "krb5-user", "krb5-clients", "debathena-kerberos-config", "debathena-zephyr-config"]
|
|
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',
|
|
}
|
|
file { ['/home/zulip/api-keys', '/home/zulip/zephyr_sessions', '/home/zulip/ccache',
|
|
'/home/zulip/mirror_status']:
|
|
ensure => directory,
|
|
mode => 644,
|
|
owner => "zulip",
|
|
group => "zulip",
|
|
}
|
|
|
|
file { "/etc/cron.d/test_zephyr_personal_mirrors":
|
|
ensure => file,
|
|
owner => "root",
|
|
group => "root",
|
|
mode => 644,
|
|
source => "puppet:///modules/zulip-internal/cron.d/test_zephyr_personal_mirrors",
|
|
}
|
|
|
|
# TODO: Do the rest of our setup, which includes at least:
|
|
# Building patched libzephyr4-krb5 from davidben's roost branch and installing that
|
|
# (to add ZLoadSession/ZDumpSession).
|
|
# Building python-zephyr after cloning it from https://github.com/ebroder/python-zephyr
|
|
# (patched with tabbott's branch to add dump_session and load_session using the above)
|
|
}
|