Installs and configure apticron to receive security updates by email.
ubuntu- apticron has only been tested on ubuntu
| Key | Type | Description | Default |
|---|---|---|---|
| ['apticron']['config']['email'] | Array | list of email to be notifies by apticron | ["root"] |
| ['apticron']['config']['diff_only'] | String | "1" will only send diff of the updates since last email, "0" will always send all updates | "0" |
| ['apticron']['config']['listchanges_profile'] | String | option sent to the apt-listchanges's --profile option | nil |
| ['apticron']['config']['system'] | String | sets a name for the server instead of the default apticron of `hostname -f` | nil |
| ['apticron']['config']['ipaddressnum'] | String | sets the maximal number of IP addresses apticron will display, it defaults to 1 per family type (inet, inet6) | nil |
| ['apticron']['config']['ipaddresses'] | Array | sets the list of reachable addresses for this node, apticron will try to guess them using `ip` | nil |
| ['apticron']['config']['notify_holds'] | String | "1" will include new versions of packages on hold in your system in notification, "0" will prevent it | "1" |
| ['apticron']['config']['notify_new'] | String | "1" will include packages which are not installed in your system in notification, "0" will prevent it | "1" |
| ['apticron']['config']['custom_subject'] | String | sets the subject to be used for notification emails | nil |
| ['apticron']['config']['custom_from'] | String | sets the from to be used for notification emails | nil |
Just include apticron in your node's run_list:
{
"name":"my_node",
"run_list": [
"recipe[apticron]"
]
}- Fork the repository on Github
- Create a named feature branch (like
add_component_x) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Author:: Jonathan Tron (jonathan@openhood.com)
Copyright 2013, Openhood S.E.N.C.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.