cookbook 'win_cluster', '~> 0.4.1'
win_cluster (2) Versions 0.4.1 Follow1
Installs/Configures win_cluster
cookbook 'win_cluster', '~> 0.4.1', :supermarket
knife supermarket install win_cluster
knife supermarket download win_cluster
win_cluster
Windows Failover Clustering Cookbook
Requirements
Platforms
- Windows Server 2012 (R1, R2)
Chef
- Chef 12+
Usage
This is a Custom Resource cookbook that can be used to install and configure Windows Failover Cluster in Active Directory.
Custom Resources
win_cluster_server
Installs Windows Failover-Clustering Features and creates a new Cluster
Actions
- 'create' - Creates A new Cluster if it doesn't exisit in AD
- 'join' - Join a Cluster that has already been created
Properties
- 'name - Name of the cluster to be created
- 'creator' - Boolean whether the specified node is the creator of the cluster.
- 'ip_address' - IP address of the new cluster
- 'attach_storage' - Boolean whether or not to have include attached storage as part of the cluster or not
Examples
Create new 'SQLClst' with an ip of 192.168.1.1
win_cluster_server 'SQLClst' do
ip_address '192.168.1.1'
end
Join cluster 'SQLClst'
win_cluster_server 'SQLClst' do
action :join
creator false
end
License & Author
- Author:: John Snow (thelunaticscripter@outlook.com)
Copyright 2016, TheLunaticScripter.com 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
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.4.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.4.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.4.1 failed this metric
FC066: Ensure chef_version is set in metadata: win_cluster/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: win_cluster/metadata.rb:1
FC069: Ensure standardized license defined in metadata: win_cluster/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: win_cluster/resources/server.rb:21
FC085: Resource using new_resource.updated_by_last_action to converge resource: win_cluster/resources/server.rb:54
FC108: Resource should not define a property named 'name': win_cluster/resources/server.rb:1
FC108: Resource should not define a property named 'name': win_cluster/resources/server.rb:31
FC108: Resource should not define a property named 'name': win_cluster/resources/server.rb:64
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:1
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:2
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:3
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:4
FC118: Resource property setting name_attribute vs. name_property: win_cluster/resources/server.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.4.1 passed this metric
Testing File Metric
0.4.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.4.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
0.4.1 failed this metric
0.4.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.4.1 failed this metric
FC066: Ensure chef_version is set in metadata: win_cluster/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: win_cluster/metadata.rb:1
FC069: Ensure standardized license defined in metadata: win_cluster/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: win_cluster/resources/server.rb:21
FC085: Resource using new_resource.updated_by_last_action to converge resource: win_cluster/resources/server.rb:54
FC108: Resource should not define a property named 'name': win_cluster/resources/server.rb:1
FC108: Resource should not define a property named 'name': win_cluster/resources/server.rb:31
FC108: Resource should not define a property named 'name': win_cluster/resources/server.rb:64
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:1
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:2
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:3
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:4
FC118: Resource property setting name_attribute vs. name_property: win_cluster/resources/server.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.4.1 passed this metric
Testing File Metric
0.4.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.4.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
0.4.1 failed this metric
FC067: Ensure at least one platform supported in metadata: win_cluster/metadata.rb:1
FC069: Ensure standardized license defined in metadata: win_cluster/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: win_cluster/resources/server.rb:21
FC085: Resource using new_resource.updated_by_last_action to converge resource: win_cluster/resources/server.rb:54
FC108: Resource should not define a property named 'name': win_cluster/resources/server.rb:1
FC108: Resource should not define a property named 'name': win_cluster/resources/server.rb:31
FC108: Resource should not define a property named 'name': win_cluster/resources/server.rb:64
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:1
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:2
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:3
FC117: Do not use kind_of in custom resource properties: win_cluster/resources/server.rb:4
FC118: Resource property setting name_attribute vs. name_property: win_cluster/resources/server.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.4.1 passed this metric
Testing File Metric
0.4.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.4.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
0.4.1 failed this metric
0.4.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