[chef] recent issue regarding service resource


Chronological Thread 
  • From: Ameya Savale < >
  • To:
  • Subject: [chef] recent issue regarding service resource
  • Date: Tue, 14 Jul 2015 17:10:39 +0530

Hi my chef recipes have recently started breaking when I use a service resource. Whenever I try to use the service resource to start or stop a service, my chef run breaks with the following error:

TypeError
    ---------
    no implicit conversion of false into Array

For example I try to start the postfix service using the following in my recipe

service "postfix" do
      action [:enable, :start]
end

but when I run the recipe it fails

* service[postfix] action enable

    ================================================================================
    Error executing action `enable` on resource 'service[postfix]'
    ================================================================================

    TypeError
    ---------
    no implicit conversion of false into Array

ERROR: service[postfix] (base::setup_mail line 54) had an error: TypeError: no implicit conversion of false into Array

This has started occurring recently, and the error is not really making sense to me. Does anyone have any idea why this might be happening? Thanks



Archive powered by MHonArc 2.6.16.

§