Skip to content

Latest commit

 

History

History
88 lines (62 loc) · 1.14 KB

README.md

File metadata and controls

88 lines (62 loc) · 1.14 KB

Cockpit Install

Installs Cockpit on linux hosts.


Supports:

  • Ubuntu
  • RedHat
  • CentOS

Usage

cockpit_install::default

Just include cockpit_install in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[cockpit_install]"
  ]
}

Attributes

Action

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"
   }
}

Machines

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" : ""
        }
      }
   }
}