Installs Cockpit on linux hosts.
- Ubuntu
- RedHat
- CentOS
Just include cockpit_install
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[cockpit_install]"
]
}
Define the install action for the package.
Default Value:
install
Valid Options
install
upgrade
remove
- version number - supply a version string to install a specific version.
Ruby usage:
node['cockpit_install']['action'] = 'install'
JSON usage:
{
"cockpit_install": {
"action": "178-1~ubuntu16.04.1"
}
}
A list of machines that the machine should connect to.
Default Value:
{}
JSON usage:
{
"cockpit_install": {
"machines": {
"server.example.com": {
"address": "server.example.com",
"visible" : true,
"user" : ""
},
"server2.example.com": {
"address": "server2.example.com",
"visible" : true,
"user" : ""
}
}
}
}