mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
https://puppet.com/docs/puppet/7/style_guide.html#style_guide_module_design-quoting “If a string is a value from an enumerable set of options, such as present and absent, it SHOULD NOT be enclosed in quotes at all.” Signed-off-by: Anders Kaseorg <anders@zulip.com>
21 lines
423 B
Puppet
21 lines
423 B
Puppet
class zulip::static_asset_compiler {
|
|
case $::os['family'] {
|
|
'Debian': {
|
|
$static_asset_compiler_packages = [
|
|
# Used by makemessages i18n
|
|
'gettext',
|
|
]
|
|
}
|
|
'RedHat': {
|
|
$static_asset_compiler_packages = [
|
|
'gettext',
|
|
]
|
|
}
|
|
default: {
|
|
fail('osfamily not supported')
|
|
}
|
|
}
|
|
|
|
zulip::safepackage { $static_asset_compiler_packages: ensure => installed }
|
|
}
|