Skip to content

MelonSmasher/chef_cockpit_install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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