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

rssh (3) Versions 0.1.5

Installs/Configures rssh

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

rssh Cookbook

Build Status

This is a Chef Cookbook to Manage and Configure rssh.

Repository

https://github.com/vkhatri/chef-rssh

Recipes

  • rssh::default - install and configure rssh

rssh user LWRP

LWRP

You could and should use the user LWRP if you want to define rssh users from
various cookbooks around chef such as:

rssh_user "some_user" do
  options "some_options"
end

rssh_user "another_user" do
  options "more options"
end

LWRP Options

  • name (required) - rssh user name
  • action (optional) - default :add
  • options (options) - rssh user options
  • config_path (optional) - rssh config file path

Core Attributes

  • default[:rssh][:config_path] (default: '/etc/rssh.conf'): rssh config file path
  • default[:rssh][:options] (default: 'LOG_USER'): Hash of rssh options attributes, e.g. {"option_name" => "option_value"}
  • default[:rssh][:options][:logfacility] (default: 'LOG_USER'): syslog facility rssh logs to
  • default[:rssh][:options][:umask] (default: '022'): umask value for file creations in the scp/sftp session
  • default[:rssh][:user] (default: {}): rssh users options attribute, e.g. {"user_name" => "options"}
  • default[:rssh][:allow] (default: ["scp", "rsync", "sftp"]): rssh allow* service options attribute

Usage

Add User via Node attribute

"default_attributes": {
  "rssh": {
    "user": {
      "foo": "foo-options"
    }
  }
}

Add User via LWRP

rssh_user 'foo' do
  options "foo-options"
end

Add to run_list

Just include rssh in your node's run_list or role's run_list:

{
  "name":"my_name",
  "run_list": [
    "recipe[rssh::default]"
  ]
}

Contributing

  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 (rake), ensuring they all pass
  6. Write new resource/attribute description to README.md
  7. Write description about changes to PR
  8. Submit a Pull Request using Github

License and Authors

Authors:: Virender Khatri, Dan Fruehauf and Contributors

<pre>
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.
</pre>

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

rssh CHANGELOG

This file is used to list changes made in each version of the rssh cookbook.

0.1.5

  • Virender Khatri - added rubocop, food critic, knife and spec lint tests

  • Virender Khatri - fixed for rubocop syntax

  • Virender Khatri - added rake tasks

0.1.3

  • Virender Khatri - re formatted README

  • Virender Khatri - foodcritic ready

  • Dan Fruehauf - updated README for lwrp

  • Dan Fruehauf - added user lwrp

0.1.1

  • Virender Khatri - initial release of rssh

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

0.1.5 failed this metric

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

Contributing File Metric
            

0.1.5 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.1.5 failed this metric

FC064: Ensure issues_url is set in metadata: rssh/metadata.rb:1
FC065: Ensure source_url is set in metadata: rssh/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rssh/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rssh/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: rssh/providers/user.rb:25
FC085: Resource using new_resource.updated_by_last_action to converge resource: rssh/providers/user.rb:29
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.5 passed this metric

Testing File Metric
            

0.1.5 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.1.5 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