# platform = multi_platform_all
# reboot = false
# strategy = enable
# complexity = low
# disruption = low

{{{ bash_instantiate_variables(VARIABLE) }}}

{{% if OPERATION == "pattern match" %}}
  if [[ "{{{ VALUE }}}" =~ ${{{ VARIABLE }}} ]]; then
    {{{ bash_package_install(package=PKGNAME) }}}
  fi
{{% else %}}
  if [ ${{{ VARIABLE }}} == {{{ VALUE }}} ]; then
    {{{ bash_package_install(package=PKGNAME) }}}
  fi
{{% endif %}}
