Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recipe compilation error in Debian 9 #637

nilroy opened this issue Jun 5, 2019 · 4 comments


Copy link

commented Jun 5, 2019

Brief Description

I am not using this cookbook directly but I am using rundeck cookbook which is dependent on 7.0.0 version of this cookbook. We are using chef-solo to provision the instances. When I start provisioning the rundeck I see below error:

Recipe Compile Error in /etc/chef/local-mode-cache/cache/cookbooks/apache2/resources/conf.rb

Validation map has unknown check: description

Cookbook Trace:
  /etc/chef/local-mode-cache/cache/cookbooks/apache2/resources/conf.rb:11:in `class_from_file'

Relevant File Content:

  4:           default: lazy { "#{apache_dir}/conf-available" },
  5:           description: 'Path to the conf-available directory'
  7:  property :root_group, String,
  8:           default: lazy { default_apache_root_group },
  9:           description: ''
 11>> property :template_cookbook, String,
 12:           default: 'apache2',
 13:           description: 'Cookbook to source the template from. Override this to provide your own template'
 15:  property :options, Hash,
 16:           default: {
 17:             server_tokens: 'Prod',
 18:             server_signature: 'On',
 19:             trace_enable: 'Off',
 20:           },

System Info:
ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
program_name=chef-solo worker: ppid=19548;start=07:45:20;

Cookbook version

7.0.0 (Same thing happens with 7.0.2 )

Chef-client version


Platform Details

debian 9.4


[What you are trying to achieve and you can't?]

Steps to Reproduce

I tried Kitchen also. The same error is happening in the kitchen tests. Probably if you just try to run the rundeck cookbook creating some run list you should be able to see this.

Expected Result

The chef-solo run will fail in the compilation phase

Actual Result

Error details in the description


This comment has been minimized.

Copy link

commented Jun 5, 2019

This cookbook requires a minimum chef-client version of 13.9, which is when the property descriptions were added: #624

I think the minimum version as specified in the metadata for 7.0.X was incorrect, but it is correct in 7.1.0.


This comment has been minimized.

Copy link

commented Jun 5, 2019

@ccrebolder so I need to upgrade chef in order to make it work


This comment has been minimized.

Copy link

commented Jun 5, 2019

Unfortunately yes. Chef client 13 went end-of-life on April 30th so I expect more of these problems will arise in the next few months.

@damacus damacus closed this Jun 5, 2019

This comment has been minimized.

Copy link

commented Jun 6, 2019

@ccrebolder thanks for the support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.