mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
This means that in steady-state, `zulip-puppet-apply` is expected to produce no changes or commands to execute. The verification step of `setup-apt-repo` is quite fast, so this cleans up the output for very little cost.
8 lines
242 B
Puppet
8 lines
242 B
Puppet
class zulip::apt_repository {
|
|
$setup_apt_repo_file = "${::zulip_scripts_path}/lib/setup-apt-repo"
|
|
exec{'setup_apt_repo':
|
|
command => "bash -c '${setup_apt_repo_file}'",
|
|
unless => "bash -c '${setup_apt_repo_file} --verify'",
|
|
}
|
|
}
|