cookbook 'winrm', '= 1.0.2'
winrm (12) Versions 1.0.2 Follow8
Installs and configures WinRM
cookbook 'winrm', '= 1.0.2', :supermarket
knife supermarket install winrm
knife supermarket download winrm
WinRM Cookbook
Installs and configures WinRM on a Windows System
Requirements
Platform
- Windows 7 Enterprise
- Windows 2008
- Windows 2008 R2
Notes: This cookbook has been tested on the listed platforms. It may work on other platforms with or without modification.
Chef
- Chef 11+
Cookbooks
- Windows
- Powershell
Attributes
default
-
node['winrm']['thumbprint']
- The SSL thumbprint WinRM uses for incomming connections, will be generated if not found (only used when SSL is enabled) -
node['winrm']['https']
- Enable SSL for WinRM, default 'true' -
node['winrm']['http']
- Enable HTTP for WinRM, defautl 'true' -
node['winrm']['BasicAuth']
- Support basic authentication, default 'true' -
node['winrm']['MaxMemoryPerShellMB']
- Max memory per WinRM shell allowed in MB, default '1024' -
node['winrm']['AllowUnencrypted']
- Allow unencrypted data transfers, default 'true' -
node['winrm']['TrustedHosts']
- Hosts that are allowed to connect via WinRM, default '*'
Recipes
default
Installs and configures WinRM on the windows system. Ensures firewall rules allow traffic to WinRM.
The recipe does the following:
- Search for thumbprint for the FQDN of the node, if found use it. Otherwise create a new self signed SSL certificate if SSL is enabled.
- Install WinRM via quick configure
- Configure listeners, HTTP and/or HTTPS
- Create SSH keys from data bag
- Create firewall rules if needed
License & Authors
- Author:: Peter Crossley peter.crossley@webtrends.com
Copyright 2014-2015, Webtrends 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 |
powershell >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
1.0.2
- Added configurable Everyone group attribute
1.0.1 (10-16-2015)
- Added Kitchen CI config
- Added rubocop config
- Added Berksfile
- Added gitignore and chefignore filex
- Moved Gemfile and add standard development dependencies
- Fixed the license in the metadata to be Apache 2.0
- Added modern Ruby releases to Travis and add rubocop and chefspec testing
- Added retina badges to the readme and added the cookbook version badge
1.0.0 (02-14-2014):
- Initial release of the WinRM cookbook
- Adding support for Travis-CI and foodcritic
Collaborator Number Metric
1.0.2 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.2 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
1.0.2 failed this metric
FC066: Ensure chef_version is set in metadata: winrm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: winrm/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.2 passed this metric
No Binaries Metric
1.0.2 failed this metric
Failure: Cookbook should not contain binaries. Found:
winrm/files/default/selfssl.exe
Testing File Metric
1.0.2 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.2 passed this metric
1.0.2 failed this metric
1.0.2 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
1.0.2 failed this metric
FC066: Ensure chef_version is set in metadata: winrm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: winrm/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.2 passed this metric
No Binaries Metric
1.0.2 failed this metric
Failure: Cookbook should not contain binaries. Found:
winrm/files/default/selfssl.exe
Testing File Metric
1.0.2 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.2 passed this metric
1.0.2 failed this metric
FC069: Ensure standardized license defined in metadata: winrm/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.2 passed this metric
No Binaries Metric
1.0.2 failed this metric
Failure: Cookbook should not contain binaries. Found:
winrm/files/default/selfssl.exe
Testing File Metric
1.0.2 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.2 passed this metric
1.0.2 failed this metric
winrm/files/default/selfssl.exe
1.0.2 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.2 passed this metric
1.0.2 passed this metric