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-4.0.0 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.1.6 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.1.3 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.1.1 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.1.0 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.40 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.36 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.35 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.33 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.32 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.31 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.30 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.27 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.24 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.23 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.22 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.16 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.14 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.11 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb
chef-cli-3.0.10 lib/chef-cli/skeletons/code_generator/recipes/policyfile.rb