Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Add missing trailing commas.

Anders Kaseorg15483c09cbfb
diff --git a/puppet/zulip/manifests/base.pp b/puppet/zulip/manifests/base.pp
index 5c325422632..ca1900e4e9a 100644
--- a/puppet/zulip/manifests/base.pp
+++ b/puppet/zulip/manifests/base.pp
@@ -47,7 +47,7 @@ class zulip::base {
'moreutils',
'nmap-ncat',
'nagios-plugins', # there is no dummy package on CentOS 7
- 'cronie'
+ 'cronie',
]
}
default: {
diff --git a/puppet/zulip/manifests/nginx.pp b/puppet/zulip/manifests/nginx.pp
index 8e7e5f736a5..673ed8a68e9 100644
--- a/puppet/zulip/manifests/nginx.pp
+++ b/puppet/zulip/manifests/nginx.pp
@@ -92,7 +92,7 @@ class zulip::nginx {
ensure => 'directory',
owner => 'zulip',
group => 'adm',
- mode => '0650'
+ mode => '0650',
}
$certbot_auto_renew = zulipconf('certbot', 'auto_renew', '')
diff --git a/puppet/zulip/manifests/postgres_appdb_tuned.pp b/puppet/zulip/manifests/postgres_appdb_tuned.pp
index 86f7cd2c05e..4fe41f555a9 100644
--- a/puppet/zulip/manifests/postgres_appdb_tuned.pp
+++ b/puppet/zulip/manifests/postgres_appdb_tuned.pp
@@ -36,6 +36,6 @@ class zulip::postgres_appdb_tuned {
exec { $zulip::postgres_appdb_base::postgres_restart:
require => Package[$zulip::postgres_appdb_base::postgresql],
refreshonly => true,
- subscribe => [ File[$postgres_conf_file] ]
+ subscribe => [ File[$postgres_conf_file] ],
}
}
diff --git a/puppet/zulip/manifests/postgres_common.pp b/puppet/zulip/manifests/postgres_common.pp
index 402520a301b..56f5fd15646 100644
--- a/puppet/zulip/manifests/postgres_common.pp
+++ b/puppet/zulip/manifests/postgres_common.pp
@@ -37,7 +37,7 @@ class zulip::postgres_common {
# 'check-postgres', # TODO
]
exec {'pip3_deps':
- command => 'python3 -m pip install python-dateutil'
+ command => 'python3 -m pip install python-dateutil',
}
group { 'ssl-cert':
ensure => present,
diff --git a/puppet/zulip/manifests/supervisor.pp b/puppet/zulip/manifests/supervisor.pp
index 0ea8f2c2298..f95a1a16567 100644
--- a/puppet/zulip/manifests/supervisor.pp
+++ b/puppet/zulip/manifests/supervisor.pp
@@ -27,7 +27,7 @@ class zulip::supervisor {
hasstatus => true,
status => '/bin/true',
hasrestart => true,
- restart => '/bin/true'
+ restart => '/bin/true',
}
exec { 'supervisor-restart':
refreshonly => true,
@@ -63,7 +63,7 @@ class zulip::supervisor {
# don't match.
hasrestart => true,
# lint:ignore:140chars
- restart => "bash -c 'if pgrep -f supervisor[d] >/dev/null; then supervisorctl reread && supervisorctl update; else ${zulip::common::supervisor_start}; fi'"
+ restart => "bash -c 'if pgrep -f supervisor[d] >/dev/null; then supervisorctl reread && supervisorctl update; else ${zulip::common::supervisor_start}; fi'",
# lint:endignore
}
exec { 'supervisor-restart':
diff --git a/puppet/zulip_ops/manifests/postgres_appdb.pp b/puppet/zulip_ops/manifests/postgres_appdb.pp
index 6b994afcfd0..9382eebf8e4 100644
--- a/puppet/zulip_ops/manifests/postgres_appdb.pp
+++ b/puppet/zulip_ops/manifests/postgres_appdb.pp
@@ -28,8 +28,8 @@ class zulip_ops::postgres_appdb {
Package[
"postgresql-${zulip::base::postgres_version}",
'python3-dateutil',
- ]
- ]
+ ],
+ ],
}
file { '/etc/sysctl.d/40-postgresql.conf':