diff --git a/puppet/zulip_ops/manifests/postgres_master.pp b/puppet/zulip_ops/manifests/postgres_master.pp index a1e5364c67..ac4fcbe89a 100644 --- a/puppet/zulip_ops/manifests/postgres_master.pp +++ b/puppet/zulip_ops/manifests/postgres_master.pp @@ -33,7 +33,7 @@ class zulip_ops::postgres_master { # This one will probably fail most of the time exec {'give_nagios_user_access': # lint:ignore:140chars - command => "su postgres -c -- bash -c 'psql -v ON_ERROR_STOP=1 zulip < /usr/share/postgresql/${zulip::base::postgres_version}/zulip_nagios_setup.sql' && touch /usr/share/postgresql/${zulip::base::postgres_version}/zulip_nagios_setup.sql.applied", + command => "bash -c \"su postgres -c 'psql -v ON_ERROR_STOP=1 zulip < /usr/share/postgresql/${zulip::base::postgres_version}/zulip_nagios_setup.sql' && touch /usr/share/postgresql/${zulip::base::postgres_version}/zulip_nagios_setup.sql.applied\"", # lint:endignore creates => "/usr/share/postgresql/${zulip::base::postgres_version}/zulip_nagios_setup.sql.applied", require => Package["postgresql-${zulip::base::postgres_version}"],