2016-10-17 04:05:49 +02:00
|
|
|
class zulip_ops::prod_app_frontend {
|
|
|
|
include zulip_ops::base
|
|
|
|
include zulip_ops::app_frontend
|
2017-02-07 21:19:24 +01:00
|
|
|
include zulip::analytics
|
2013-05-29 00:22:56 +02:00
|
|
|
|
2013-09-25 20:34:37 +02:00
|
|
|
file { "/etc/nginx/sites-available/zulip":
|
2013-11-15 16:20:30 +01:00
|
|
|
require => Package["nginx-full"],
|
2013-05-29 00:22:56 +02:00
|
|
|
ensure => file,
|
|
|
|
owner => "root",
|
|
|
|
group => "root",
|
|
|
|
mode => 644,
|
2016-10-17 04:05:49 +02:00
|
|
|
source => "puppet:///modules/zulip_ops/nginx/sites-available/zulip",
|
2013-12-12 23:58:05 +01:00
|
|
|
notify => Service["nginx"],
|
2013-05-29 00:22:56 +02:00
|
|
|
}
|
2017-10-20 01:35:55 +02:00
|
|
|
|
2013-09-25 20:34:37 +02:00
|
|
|
file { '/etc/nginx/sites-enabled/zulip':
|
2013-12-12 23:58:05 +01:00
|
|
|
require => Package["nginx-full"],
|
2013-05-29 00:22:56 +02:00
|
|
|
ensure => 'link',
|
2013-09-25 20:34:37 +02:00
|
|
|
target => '/etc/nginx/sites-available/zulip',
|
2013-12-12 23:58:05 +01:00
|
|
|
notify => Service["nginx"],
|
2013-05-29 00:22:56 +02:00
|
|
|
}
|
|
|
|
|
2016-08-15 06:56:07 +02:00
|
|
|
file { "/usr/lib/nagios/plugins/zulip_zephyr_mirror":
|
|
|
|
require => Package[nagios-plugins-basic],
|
|
|
|
recurse => true,
|
|
|
|
purge => true,
|
|
|
|
owner => "root",
|
|
|
|
group => "root",
|
|
|
|
mode => 755,
|
|
|
|
source => "puppet:///modules/zulip_ops/nagios_plugins/zulip_zephyr_mirror",
|
|
|
|
}
|
|
|
|
|
2013-10-23 22:32:32 +02:00
|
|
|
# Prod has our Apple Push Notifications Service private key at
|
|
|
|
# /etc/ssl/django-private/apns-dist.pem
|
2013-05-29 00:22:56 +02:00
|
|
|
}
|