Class: ChefGen::Flavor::PanBase

Inherits:
FlavorBase
  • Object
show all
Includes:
Snippet::StyleRubocop
Defined in:
lib/chef_gen/flavor/base.rb

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.code_generator_path(classfile) ⇒ Object



14
15
16
17
18
# File 'lib/chef_gen/flavor/base.rb', line 14

def code_generator_path(classfile)
  File.expand_path(
    File.join(classfile, '..', '..', '..', '..', 'base', 'code_generator')
  )
end

.descriptionObject



10
11
12
# File 'lib/chef_gen/flavor/base.rb', line 10

def description
  'Generate a base cookbook for organization wide policy.'
end