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

openssh-win (3) Versions 1.0.0

Installs/Configures openssh server on windows

Policyfile
Berkshelf
Knife
cookbook 'openssh-win', '= 1.0.0', :supermarket
cookbook 'openssh-win', '= 1.0.0'
knife supermarket install openssh-win
knife supermarket download openssh-win
README
Dependencies
Quality 83%

OpenSSH Windows cookbook

Build Status

This cookbook can be used to install openssh server on windows nodes

Simple usage

Define the variables

default['openssh-win']['version'] = '7.9.0.0p1-Beta' # default: 7.9.0.0p1-Beta

and include the openssh-win::default recipe. This will
* download and unzip OpenSSH for windows to C:\Program Files\OpenSSH-Win64
* add it to the path,
* Create the services for sshd and ssh-agent
* start the sshd and ssh-agent service s
* configure the sshd and ssh-agent services to start automatically
* Create a incoming firewall rule for port 22

Usage with wrapper cookbooks

a little more control can be leveraged using the openssh_win resource block
Usage example to install openssh:

openssh_win 'OpenSSH' do
  version '7.9.0.0p1-Beta' # only needs to be specified in recourse name is not a version
  action :install 
  path 'C:\openssh' # Optional, default is 'C:\Program Files', the subfolder OpenSSH-Win64 will always be created
  add_to_path false # Optional, default is true
  startup_type :manual # Optional, values can be :disabled, :manual or :automatic (default)
  start_service false # Optional, default is true
  add_firewall_rule false # Optional, default is true
end

Usage example to remove openssh:

openssh_win '7.9.0.0p1-Beta' do
  action :remove
  path 'C:\openssh' # This must match the path that was passed during install

Dependent cookbooks

windows ~> 5.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

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 passed this metric

Foodcritic Metric
            

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 passed this metric

Version Tag Metric
            

1.0.0 passed this metric