vim-polyglot icon indicating copy to clipboard operation
vim-polyglot copied to clipboard

Puppet highlighting is not loaded

Open jinithin opened this issue 2 years ago • 0 comments

Seems as if puppet highlighting is not loaded properly. If i clone the module used in this repo manually, it works.
I've tried a make build to ensure latest version is present to no avail.
Example: this snippet from the PostgreSQL module:

# @api private
class postgresql::repo (
  $version = undef,
  $proxy = undef,
  $baseurl = undef,
) {
  case $::osfamily {
    'RedHat', 'Linux': {
      if $version == undef {
        fail("The parameter 'version' for 'postgresql::repo' is undefined. You must always define it when osfamily == Redhat or Linux")
      }
      class { 'postgresql::repo::yum_postgresql_org': }
    }

    'Debian': {
      class { 'postgresql::repo::apt_postgresql_org': }
    }

    default: {
      fail("Unsupported managed repository for osfamily: ${::osfamily}, operatingsystem: ${::operatingsystem}, module ${module_name} currently only supports managing repos for osfamily RedHat and Debian")
    }
  }
}

jinithin avatar May 04 '22 14:05 jinithin