This is a Chef Custom Resource that makes interacting with Infoblox easy. There are three actions: view, set, and delete.
This resource utilized the infoblox community RubyGem. Right now the resource can perform three actions. More are aviable via the gem and can be added if needed.
- Chef 13 or later
- Network access to Infoblox and internect access to download gem
Tested on:
- Fedora 27
- CentOS 7.4
- Ubuntu 16.04
- Windows 2008R2/2012R2
This resource depends on the infoblox community gem.
aag_infoblox 'check_ip' do
network '192.168.1.1/24'
action :view
username 'your username'
password 'your password'
infoblox_url 'https://infoblox.mydomain.net'
end
aag_infoblox 'set_ip' do
hostname ['system1.mydomain.net', 'system2.mydomain.net']
username 'your username'
password 'your password'
infoblox_url 'https://infoblox.mydomain.net'
network '192.168.1.1/24'
config_dns true
action :set
end
aag_infoblox 'delete_ip' do
hostname ['system1.mydomain.net', 'system2.mydomain.net']
username 'your username'
password 'your password'
infoblox_url 'https://infoblox.mydomain.net'
network '192.168.1.1/24'
config_dns true
action :delete
end
Please submit pull requests with fixes or ideas for improvement. FOSS is all about collaboration, so please join in!
- Christopher Maher ([email protected])
- Garin Kartes ([email protected])
Copyright:: 2018 Alaska Airlines, Inc.
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.