Ask Your Question

Revision history [back]

As per metaparameter documentation require expects resource references (or a list thereof). That means you have to capitalize each part of the custom type's name:

file { '/etc/something':
  ensure  => present,
  require => Class::Something['blah'],
}

alternatively, if there more than one dependencies

file { '/etc/something':
  ensure  => present,
  require => [Class::Something['blah']],
}