This is a Chef cookbook to manage Icinga2 YUM/APT Repository.
For Production environment, always prefer the most recent release.
cookbook 'icinga2repo', '~> 1.0.0'
cookbook 'icinga2repo', github: 'Icinga/chef-icinga2repo', tag: 'v1.0.0'
https://github.com/Icinga/icinga2repo
- Amazon Linux
- CentOS
- Ubuntu
- Debian
- Chef 12
- Chef 13
- apt
- yum
-
icinga2repo::apt
- configure icinga2 apt repository -
icinga2repo::yum
- configure icinga2 yum repository -
icinga2repo::default
- configure platform specific icinga2 repository
-
default['icinga2repo']['release']['yum']['description']
(default:icinga2-release
): yum repository attribute -
default['icinga2repo']['release']['yum']['gpgcheck']
(default:true
): yum repository attribute -
default['icinga2repo']['release']['yum']['enabled']
(default:true
): yum repository attribute -
default['icinga2repo']['release']['yum']['baseurl']
(default:calculated
): yum repository attribute -
default['icinga2repo']['release']['yum']['gpgkey']
(default:http://packages.icinga.com/icinga.key
): yum repository attribute -
default['icinga2repo']['release']['yum']['mirrorlist']
(default:nil
): yum repository attribute -
default['icinga2repo']['release']['yum']['metadata_expire']
(default:3h
): yum repository attribute -
default['icinga2repo']['release']['yum']['action']
(default::create
): yum repository attribute -
default['icinga2repo']['snapshot']['yum']['description']
(default:icinga2-release
): yum repository attribute -
default['icinga2repo']['snapshot']['yum']['gpgcheck']
(default:true
): yum repository attribute -
default['icinga2repo']['snapshot']['yum']['enabled']
(default:true
): yum repository attribute -
default['icinga2repo']['snapshot']['yum']['baseurl']
(default:calculated
): yum repository attribute -
default['icinga2repo']['snapshot']['yum']['gpgkey']
(default:http://packages.icinga.com/icinga.key
): yum repository attribute -
default['icinga2repo']['snapshot']['yum']['mirrorlist']
(default:nil
): yum repository attribute -
default['icinga2repo']['snapshot']['yum']['metadata_expire']
(default:3h
): yum repository attribute -
default['icinga2repo']['snapshot']['yum']['action']
(default::create
): yum repository attribute
-
default['icinga2repo']['release']['apt']['description']
(default:icinga2-release
): apt repository attribute -
default['icinga2repo']['release']['apt']['components']
(default:['main']
): apt repository attribute -
default['icinga2repo']['release']['apt']['uri']
(default:calculated
): apt repository attribute -
default['icinga2repo']['release']['apt']['key']
(default:http://packages.icinga.com/icinga.key
): apt repository attribute -
default['icinga2repo']['release']['apt']['keyserver']
(default:keyserver.ubuntu.com
): apt repository attribute -
default['icinga2repo']['release']['apt']['distribution']
(default:calculated
): apt repository attribute -
default['icinga2repo']['release']['apt']['action']
(default::add
): apt repository attribute -
default['icinga2repo']['snapshot']['apt']['description']
(default:icinga2-release
): apt repository attribute -
default['icinga2repo']['snapshot']['apt']['components']
(default:['main']
): apt repository attribute -
default['icinga2repo']['snapshot']['apt']['uri']
(default:calculated
): apt repository attribute -
default['icinga2repo']['snapshot']['apt']['key']
(default:http://packages.icinga.com/icinga.key
): apt repository attribute -
default['icinga2repo']['snapshot']['apt']['keyserver']
(default:keyserver.ubuntu.com
): apt repository attribute -
default['icinga2repo']['snapshot']['apt']['distribution']
(default:calculated
): apt repository attribute -
default['icinga2repo']['snapshot']['apt']['action']
(default::add
): apt repository attribute
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests (
rake & rake knife
), ensuring they all pass - Write new resource/attribute description to
README.md
- Write description about changes to PR
- Submit a Pull Request using Github
Authors:: Virender Khatri and Contributors
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.