{
    "name": "beef-server",
    "description": "BeEF - The Browser Exploitation Framework!",
    "json_class": "Chef::Role",
    "run_list": [
        "recipe[beef::install_src]",
        "recipe[beef::config]",
        "recipe[beef::service]"
    ],
    "default_attributes": {
        "beef": {
            "user": "beef",
            "path": "/opt/beef-server",
            "git_repository": "https://github.com/beefproject/beef.git",
            "git_reference": "beef-0.4.7.0",
            "ruby_bin_dir": "/opt/chef/embedded/bin",
            "service": {
                "NAME": "beef-server",
                "USER": "beef",
                "HOME": "/opt/beef-server",
                "DAEMON": "/opt/beef-server/beef"
            },
            "config": {
                "beef": {
                    "version": "0.4.7.0-alpha"
                }
            }
        }
    }
}

{
    "name": "beef-server",
    "description": "BeEF - The Browser Exploitation Framework!",
    "json_class": "Chef::Role",
    "run_list": [
        "recipe[beef::install_src]",
        "recipe[beef::config]",
        "recipe[beef::service]"
    ],
    "default_attributes": {
        "beef": {
            "user": "beef",
            "path": "/opt/beef-server",
            "git_repository": "https://github.com/beefproject/beef.git",
            "git_reference": "beef-0.4.7.0",
            "ruby_bin_dir": "/opt/chef/embedded/bin",
            "service": {
                "NAME": "beef-server",
                "USER": "beef",
                "HOME": "/opt/beef-server",
                "DAEMON": "/opt/beef-server/beef"
            },
            "config": {
                "beef": {
                    "version": "0.4.7.0-alpha",
                    "extension": {
                        "console": {
                            "shell": {
                                "enable": false
                            }
                        },
                        "dns_rebinding": {
                            "enable": false
                        }
                    }
                }
            }
        }
    }
}

Add required conf for beef server
Add required conf for beef server

Without these extensions declaration, beef doesn't start..
