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

The windows_dns cookbook has been deprecated

Author provided reason for deprecation:

The windows_dns cookbook has been deprecated and is no longer being maintained by its authors. Use of the windows_dns cookbook is no longer recommended.

RSS

windows_dns (1) Versions 1.0.0

Chef resources for managing DNS on Windows hosts

Policyfile
Berkshelf
Knife
cookbook 'windows_dns', '~> 1.0.0', :supermarket
cookbook 'windows_dns', '~> 1.0.0'
knife supermarket install windows_dns
knife supermarket download windows_dns
README
Dependencies
Changelog
Quality 17%

windows_dns Cookbook

Cookbook Version
Build status

This cookbook provides a resource for managing DNS on Windows hosts.

Requirements

Platforms

  • Windows Server 2012R2
  • Windows Server 2016

Chef

  • Chef 13

Resources

windows_dns_record

Creates a DNS record for the given domain

Actions

  • :create: creates/updates the DNS entry
  • :delete: deletes the DNS entry

Properties

  • record_name : The name of the record to create, eg: calaserver01
  • zone : The zone to create the record in, eg: dst.calastone.com
  • target : The target for the record
  • record_type : The type of record to create, can be either ARecord, CNAME or PTR

Examples

# Create CNAME record
windows_dns_record 'chefserver' do
  record_type 'cname'
  zone        'chef.local'
  target      'web01.chef.local'
end

windows_dns_zone

Creates an Active Directory Integrated DNS Zone on the local server

Actions

  • :create: creates/updates the DNS Zone
  • :delete: deletes the DNS Zone

Properties

  • zone_name : The name of the zone to create, eg: calastone.com
  • replication_scope : The replication scope for the zone, defaults to Domain, required for server_type Domain
  • server_type : The type of DNS server, Domain or Standalone

Examples

# Create DNS Zone
windows_dns_zone 'chef.local' do
  server_type 'standalone'
end

License

Copyright 2018, Calastone Ltd.
Copyright 2018, Chef Software, 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.

Dependent cookbooks

windows >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for windows_dns

This file is used to list changes made in each version of windows_dns.

1.0.0 (2018-12-30)

  • Initial release

Collaborator Number Metric
            

1.0.0 failed this metric

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

Contributing File Metric
            

1.0.0 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

Cookstyle Metric
            

1.0.0 failed this metric

Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): windows_dns/resources/record.rb: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): windows_dns/resources/zone.rb: 1
Chef/RedundantCode/LongDescriptionMetadata: The long_description metadata.rb method is not used and is unnecessary in cookbooks. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_longdescriptionmetadata): windows_dns/metadata.rb: 6

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 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
            

1.0.0 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