poise / supervisor

Development repository for Opscode Cookbook supervisor
Apache License 2.0
64 stars 163 forks source link

How to set attributes #106

Closed badsector3 closed 7 years ago

badsector3 commented 7 years ago

Hi. I have a question regarding the cookbook. I try to configure supervisor config file and I need to pass following attributes: [program:name] command= directory= autostart= user= stdout_logfile= stderr_logfile=

I would like to use chef role for that and I have as following:

default_attributes(
    :supervisor_service => {
        "daemon_options" => {
            "service_name" => "kafka-broker-4555",
            "autostart"    => true,
            "user"         => "kafka"
        }
    }
)

It doesn't work so the above is incorrect.

coderanger commented 7 years ago

This cookbook is deprecated and no longer supported. Do not use it.