mirror of https://github.com/zulip/zulip.git
35 lines
984 B
Puppet
35 lines
984 B
Puppet
class zulip_ops::prod_app_frontend {
|
|
include zulip_ops::base
|
|
include zulip_ops::app_frontend
|
|
|
|
file { '/etc/nginx/sites-available/zulip':
|
|
ensure => file,
|
|
require => Package['nginx-full'],
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0644',
|
|
source => 'puppet:///modules/zulip_ops/nginx/sites-available/zulip',
|
|
notify => Service['nginx'],
|
|
}
|
|
|
|
file { '/etc/nginx/sites-enabled/zulip':
|
|
ensure => 'link',
|
|
require => Package['nginx-full'],
|
|
target => '/etc/nginx/sites-available/zulip',
|
|
notify => Service['nginx'],
|
|
}
|
|
|
|
file { '/usr/lib/nagios/plugins/zulip_zephyr_mirror':
|
|
require => Package[nagios-plugins-basic],
|
|
recurse => true,
|
|
purge => true,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0755',
|
|
source => 'puppet:///modules/zulip_ops/nagios_plugins/zulip_zephyr_mirror',
|
|
}
|
|
|
|
# Prod has our Apple Push Notifications Service private key at
|
|
# /etc/ssl/django-private/apns-dist.pem
|
|
}
|