Sha256: 499f9e82d01849ff16d7383797cbc73b35e11c1e3a54e3c1acf9a44fbc5e0429

Contents?: true

Size: 232 Bytes

Versions: 53

Compression:

Stored size: 232 Bytes

Contents

context = ChefCLI::Generator.context
policyfile_path = File.join(context.policyfile_dir, "#{context.new_file_basename}.rb")

template policyfile_path do
  source 'Policyfile.rb.erb'
  helpers(ChefCLI::Generator::TemplateHelper)
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
chef-cli-5.6.16 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.6.14 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.6.13 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.6.12 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.6.11 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.6.8 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.6.1 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.6.0 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.5.6 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.5.5 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.5.4 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.5.0 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.4.2 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.4.1 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.3.1 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.3.0 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.2.0 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.1.0 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-5.0.1 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-4.0.1 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb