unifi_controller

Configure Unifi Controller for Linux.

At this moment, only DIY package is supported.

Supported Version

  • 4.8.15
  • 4.8.18

Supported Platforms

[//]: <>(* CentOs 6 (SELinux must be disabled)

  • CentOS 7 (SELinux must be disabled)

Attributes

TODO

Recipes

Usage

TODO

Limitations

  • Support debian derivates
  • Include SELinux Rules for REHL and derivates

[//]: <> (

Key Type Description Default
['iz-postfix']['data_bag']['name'] Symbol Name of the data bag where are the domains :domains
['iz-postfix']['data_bag']['search'] String Search conditions mail:true
['iz-postfix']['main']['relay_recipient'] String File location of relay_recipient /etc/postfix/relay_recipients
['iz-postfix']['main']['transport'] Symbol File location of transport /etc/postfix/transport

Usage

iz-postfix::default

Include iz-postfix::default in your node's run_list:

{
  "run_list": [
    "recipe[iz-postfix::default]"
  ]
}

iz-postfix::backup

Include iz-postfix::backup in your node's run_list:

{
  "run_list": [
    "recipe[iz-postfix::backup]"
  ]
	override_attributes(
  "iz-postfix" => {
    "data_bag" => {
      "name" => :domains,
      "search" => "mail:true"
    },
		"main" => {
			"relay_recipient" => "/etc/postfix/relay_recipients",
			"transport" => "/etc/postfix/transport"
      }
  }
}

Data bag item example

  • Domain with backup
{
  "id": "foo.com",
  "mail": true,
  "main-mx": "127.0.0.2",
  "port": "590"
}
  • Domain without backup
{
  "id": "foobar.com",
  "mail": false
}
{
  "id": "barfoo.com"
}

)

License and Authors

Author:: Israel Santana (isantana@inerza.com)