/aag_infoblox

Primary LanguageRubyApache License 2.0Apache-2.0

Build Status Quality Gate Status

Chef Infoblox Resource

Build Status Resource Version License

This is a Chef Custom Resource that makes interacting with Infoblox easy. There are three actions: view, set, and delete.

Scope

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.

Requirements

  • Chef 13 or later
  • Network access to Infoblox and internect access to download gem

Platform Support

Tested on:

  • Fedora 27
  • CentOS 7.4
  • Ubuntu 16.04
  • Windows 2008R2/2012R2

Resource Dependencies

This resource depends on the infoblox community gem.

Usage

View Next Available IP

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

Set Next Available IP

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

Delete IP Reservation

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

Contributing

Please submit pull requests with fixes or ideas for improvement. FOSS is all about collaboration, so please join in!

Maintainers

License

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.