Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

transip (1) Versions 0.9.1

Transip API LWRPs

Policyfile
Berkshelf
Knife
cookbook 'transip', '~> 0.9.1', :supermarket
cookbook 'transip', '~> 0.9.1'
knife supermarket install transip
knife supermarket download transip
README
Dependencies
Changelog
Quality 0%

Transip cookbook

Cookbook Version
Build Status

Provides Transip API LWRPs.

Requirements

Chef version

Platforms

NOTE that platform dependencies are strictly enforced. Using this cookbook
on any other platform (version) will abort your Chef run.

  • ubuntu 12.04
  • ubuntu 14.04
  • debian 7.6

Dependencies

Attributes

You can define default values for each LWRP by using the node['transip']
scope. See the [default][] attribute file for configuration variables and
documentation.

Recipes

none

LRWPs

transip_dns_entry

supports

  • create
  • create_if_missing
  • delete

examples

transip_dns_entry 'www' do
  action       :create
  domain       'kabisa.nl'
  content      '@'
  type         'CNAME'
  ttl          3600
  username     'kabisa'
  private_key  'your-private-key-here'
  proxy        '192.168.0.1'
  whitelist_ip '33.33.33.100'
end
default['transip']['username'] = 'kabisa'
default['transip']['private_key'] = 'your-private-key-here'
default['transip']['domain'] = 'kabisa.nl'

transip_dns_entry 'www' do
  action :delete
end

some notes:

  • all of the above options can have a default set (like node['transip']['whitelist_ip']) and then be omitted from the above example
  • whitelist IPs need to be added in the API backend, and you need to make calls from that IP. For this, you can use the proxy option.
  • for more details, see the original transip gem by @joost

compiling gems

All required gems are bundled with the cookbook. Since we require nokogiri, we
have to compile nokogiri for the right platform:

bin/kitchen converge --concurrency

This will compile the gems and add them to files/<platform>. See above for
supported platform versions.

Note that the compiled gems are not included in the Git repository by default.
You will have to clone the repository and run the above kitchen command to get
these gems.

License and Author

Author:: Jean Mertz (jean@mertz.fm)

Copyright 2014, Kabisa ICT

Licensed under the MIT License (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://opensource.org/licenses/MIT

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.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG

0.9.1 - October 4th, 2014

  • decrease number of supported systems
  • move gems without extensions to shared files/default

0.9.0 - October 2nd, 2014

  • initial commit of transip

Collaborator Number Metric
            

0.9.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.9.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.9.1 failed this metric

FC064: Ensure issues_url is set in metadata: transip/metadata.rb:1
FC065: Ensure source_url is set in metadata: transip/metadata.rb:1
FC066: Ensure chef_version is set in metadata: transip/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: transip/providers/dns_entry.rb:10
FC085: Resource using new_resource.updated_by_last_action to converge resource: transip/providers/dns_entry.rb:18
FC085: Resource using new_resource.updated_by_last_action to converge resource: transip/providers/dns_entry.rb:26
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.9.1 failed this metric

Failure: Cookbook should not contain binaries. Found:
transip/files/default/vendor/gems/savon-2.7.2/donate.png

Testing File Metric
            

0.9.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.9.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number