# Chefdk 0.5.0 problem with jmeter "compile\_time" command

**URL:** <https://discourse.chef.io/t/chefdk-0-5-0-problem-with-jmeter-compile-time-command/6545>\
**Category:** Chef Infra (archive)\
**Created:** [April 30, 2015, 11:26pm UTC](https://discourse.chef.io/t/chefdk-0-5-0-problem-with-jmeter-compile-time-command/6545 "2015-04-30T23:26:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nico\_Kadel\_Garcia](https://avatars.discourse-cdn.com/v4/letter/n/ad7895/32.png) [@Nico\_Kadel\_Garcia](https://discourse.chef.io/u/Nico_Kadel_Garcia)\
**Post date:** [April 30, 2015, 11:26pm UTC](https://discourse.chef.io/t/chefdk-0-5-0-problem-with-jmeter-compile-time-command/6545/1 "2015-04-30T23:26:42Z")

</div>

I’m testing chefdk 0.5.0 and noticed a problem with “jmeter”. ‘chef-solo’ now errors out on the ‘compile\_time’ directive in recipe[jmeter::default]. The fix is trivial, just use ‘at\_compile\_time’. I’ve already published an issue at [https://github.com/johnbellone/jmeter-cookbook/issues/5](https://github.com/johnbellone/jmeter-cookbook/issues/5), but I strongly urge checking your cookbooks for ‘compile\_time’ commands before deploying it broadly.

Nico Kadel-Garcia  
Lead DevOps Engineer  
[nkadel@skyhookwireless.com](mailto:nkadel@skyhookwireless.com)

---

<div class="post-metadata">

**Author:** ![kallistec](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kallistec/32/23_2.png) [@kallistec](https://discourse.chef.io/u/kallistec)\
**Post date:** [May 1, 2015, 5:28pm UTC](https://discourse.chef.io/t/chefdk-0-5-0-problem-with-jmeter-compile-time-command/6545/2 "2015-05-01T17:28:03Z")

</div>

On Thursday, April 30, 2015 at 4:26 PM, Nico Kadel-Garcia wrote:

> I'm testing chefdk 0.5.0 and noticed a problem with "jmeter". 'chef-solo' now errors out on the 'compile\_time' directive in recipe[jmeter::default]. The fix is trivial, just use 'at\_compile\_time'. I've already published an issue at [Change 'compile\_time' to 'at\_compile\_time' for chefdk 0.5.0 compatibility · Issue #5 · johnbellone/jmeter-cookbook · GitHub](https://github.com/johnbellone/jmeter-cookbook/issues/5), but I strongly urge checking your cookbooks for 'compile\_time' commands before deploying it broadly.
> 
> Nico Kadel-Garcia  
> Lead DevOps Engineer  
> [nkadel@skyhookwireless.com](mailto:nkadel@skyhookwireless.com) ([mailto:nkadel@skyhookwireless.com](mailto:nkadel@skyhookwireless.com))

This seems to be an issue with chef-sugar which isn’t part of ChefDK. Version 3.0 was released on March 17, so maybe you went ahead a major version somehow?

--  
Daniel DeLeo
