Configure Unifi Controller for Linux.
At this moment, only DIY package is supported.
- 4.8.15
- 4.8.18
[//]: <>(* CentOs 6 (SELinux must be disabled)
- CentOS 7 (SELinux must be disabled)
TODO
TODO
- 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 |
Include iz-postfix::default
in your node's run_list
:
{
"run_list": [
"recipe[iz-postfix::default]"
]
}
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"
}
}
}
- 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"
}
)
Author:: Israel Santana (isantana@inerza.com)