title: Getting an error when executing "chkconfig --add tomcat" using chef?
body: <p>I am using chef to configure a centos machine and everything is installing fine except for</p>
  
  <pre><code>execute "chkconfig add tomcat" do
    command "chkconfig --add tomcat"
  end
  
  execute "chkconfig tomcat level" do
    command "chkconfig --level 234 tomcat on"
  end
  </code></pre>
  
  <p>Which brings this error..</p>
  
  <pre><code>Mixlib::ShellOut::ShellCommandFailed
  ------------------------------------
  Expected process to exit with [0], but received '1'
  ---- Begin output of chkconfig --add tomcat ----
  STDOUT: 
  STDERR: error reading information on service tomcat: No such file or directory
  ---- End output of sudo chkconfig --add tomcat ----
  Ran chkconfig --add tomcat returned 1
  </code></pre>