A Chef Cookbook for testing CHEF-3029 ifconfig ticket.
This is a cookbook for testing the following Opscode ticket:
It tests the ifconfig
resource against Debian
and Ubuntu
using test-kitchen.
The vagrant boxes are publicly downloadable, see the kitchen.yml file. This boxes have a non-stable version of Chef 11.4.0 from the last Pull Request on the ticket (2013-05-24).
It is recommended to look at the used recipe and the tests.
This version of Chef has been tested in the following platforms using this cookbook:
ifconfig
resource NOT supported)ifconfig
resource NOT supported)nil
This cookbook is aimed to be used with test-kitchen
for testing the ifconfig
resource.
$ kitchen list
Instance Last Action
default-debian6-chef3029 <Not Created>
default-debian7-chef3029 <Not Created>
default-ubuntu10-chef3029 <Not Created>
default-ubuntu11-chef3029 <Not Created>
default-centos6-chef3029 <Not Created>
$ kitchen verify
-----> Starting Kitchen (v1.0.0.alpha.7)
# [...]
Instance Last Action
default-debian6-chef3029 Verified
default-debian7-chef3029 Verified
default-ubuntu10-chef3029 Verified
default-ubuntu11-chef3029 Verified
default-centos6-chef3029 Verified
add_component_x
)Author: | Xabier de Zuazo (xabier@onddo.com) |
Copyright: | Copyright (c) 2013 Onddo Labs, SL. (www.onddo.com) |
License: | Apache License, Version 2.0 |
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.