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


kms-server (3) Versions 0.3.0

Installs/Configures kms-server

cookbook 'kms-server', '~> 0.3.0'
cookbook 'kms-server', '~> 0.3.0', :supermarket
knife cookbook site install kms-server
knife cookbook site download kms-server
Quality 67%

kms-server Cookbook

Cookbook Version Build Status License

Install and configure the Microsoft KMS server role.


This cookbook supports and requires Chef 12.6+.


  • Windows Server 2012R2
  • Windows Server 2016


The following cookbook is required as noted:

  • windows (> 1.36.1) to leverage the windows_feature resource


Configure your kms host key and tweak other attributes. Then just add kms-server::default to your runlist.


Below attributes are available in kms_server root namespace. Most of them are adapted from

Attribute Description Default value
host_key The key used to enable KMS Host service. MANDATORY
disable_dns_publishing Determine whether DNS publishing is disable. false
dns_publishing_domains List of domain used for DNS publishing. []
reduce_kms_priority Determine whether KMS priority should be lowered. false
listening_port KMS Tcp listening port. 1688
activation_interval Activation interval in minutes. 120
renewal_interval Renewal interval in minutes. 10080


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Copyright 2017 Baptiste Courtois

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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

windows >= 1.36.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

kms-server CHANGELOG

This file is used to list changes made in each version of the kms-server cookbook.

Version 0.3.0

  • Annih - Properly compare installed product key
  • Annih - Improve guard clause to avoid warning

Version 0.2.0

  • Annih - Fix windows feature name for dism provider

Version 0.1.0

  • Annih - Default recipe - attribute driven - to configure a KMS host
  • Annih - Automatic deployment to Supermarket using travi-ci/dpl

Version 0.0.0

  • Annih - Initial commit

Collaborator Number Metric

0.3.0 failed this metric

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

Contributing File Metric

0.3.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, and your repo must contain a file

Foodcritic Metric

0.3.0 passed this metric

License Metric

0.3.0 passed this metric

No Binaries Metric

0.3.0 passed this metric

Publish Metric

0.3.0 passed this metric

Supported Platforms Metric

0.3.0 passed this metric

Testing File Metric

0.3.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, and your repo must contain a file

Version Tag Metric

0.3.0 passed this metric