Skip to content

Instantly share code, notes, and snippets.

@renan
Last active December 24, 2015 09:39
Show Gist options
  • Save renan/6778486 to your computer and use it in GitHub Desktop.
Save renan/6778486 to your computer and use it in GitHub Desktop.
{
"run_list": [
"recipe[nginx]"
],
"default_attributes": {
"nginx": {
"dir" : "/etc/nginx",
"log_dir" : "/var/log/nginx",
"binary" : "/usr/sbin/nginx",
"user" : "www-data",
"init_style" : "runit",
"pid" : "/var/run/nginx.pid",
"worker_connections": "1024"
}
}
}
cookbook_path "/path/to/chef/cookbooks"
@tduffield
Copy link

it should be this:

{
    "run_list": [
        "recipe[nginx]"
    ],
        "nginx": {
            "dir"               : "/etc/nginx",
            "log_dir"           : "/var/log/nginx",
            "binary"            : "/usr/sbin/nginx",
            "user"              : "www-data",
            "init_style"        : "runit",
            "pid"               : "/var/run/nginx.pid",
            "worker_connections": "1024"
        }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment