1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
require 'puppet-syntax/version'
module PuppetSyntax
autoload :Hiera, 'puppet-syntax/hiera'
autoload :Manifests, 'puppet-syntax/manifests'
autoload :Templates, 'puppet-syntax/templates'
@exclude_paths = []
@hieradata_paths = [
'**/data/**/*.*{yaml,yml}',
'hieradata/**/*.*{yaml,yml}',
'hiera*.*{yaml,yml}',
]
@manifests_paths = [
'**/*.pp',
]
@templates_paths = [
'**/templates/**/*.erb',
'**/templates/**/*.epp',
]
@fail_on_deprecation_notices = true
@check_hiera_keys = false
@check_hiera_data = false
class << self
attr_accessor :exclude_paths,
:hieradata_paths,
:manifests_paths,
:templates_paths,
:fail_on_deprecation_notices,
:epp_only,
:check_hiera_keys,
:check_hiera_data
end
end
|