Skip to content
This repository was archived by the owner on Jan 27, 2019. It is now read-only.
This repository was archived by the owner on Jan 27, 2019. It is now read-only.

Upstart does not support restart action  #36

@aflatto

Description

@aflatto

Trying to run the cookbook on CentOS, the cookbook fails due to Upstart unable to support the restart action requested on the carbon.conf generationL
notifies :restart, "service[carbon-cache]"

service "carbon-cache" do
provider Chef::Provider::Service::Upstart
action [ :enable, :start ]
end

Recipe: graphite::carbon

  • python_pip[twisted] action install (up to date)

  • python_pip[zope.interface] action install (up to date)

  • python_pip[carbon] action install

    • install package python_pip[carbon] version 0.9.10
  • template[/opt/graphite/conf/carbon.conf] action create (up to date)

  • template[/opt/graphite/conf/storage-schemas.conf] action create (up to date)

  • template[/opt/graphite/conf/storage-aggregation.conf] action create (up to date)

  • execute[chown] action run (skipped due to only_if)

  • template[/etc/init/carbon-cache.conf] action create (up to date)

  • template[/etc/logrotate.d/carbon] action create (up to date)

  • service[carbon-cache] action enable (up to date)

  • service[carbon-cache] action start

    Error executing action start on resource 'service[carbon-cache]'

    Chef::Exceptions::Exec

    /sbin/start carbon-cache returned 1, expected 0

Do you plan on adding the functionality or change it to use init scripts for rhel family ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions