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

x2go (1) Versions 0.1.0

Installs/Configures x2go

Policyfile
Berkshelf
Knife
cookbook 'x2go', '~> 0.1.0', :supermarket
cookbook 'x2go', '~> 0.1.0'
knife supermarket install x2go
knife supermarket download x2go
README
Dependencies
Quality 17%

x2go Cookbook

This cook installs the x2go server and client - both of which replaces NX Server.

Requirements

At this time, only CentOS and RHEL 6.0 are supported. Ubuntu support is coming in a week or so.

It requires sshfs, which in turn, requires fuse. You can use the following cookbook to install fuse:

https://github.com/rilindo/cookbook-fuse

It also requires a working ssh server. You may use the following to manage openssh if it isn't already:

https://github.com/opscode-cookbooks/openssh

In a future up, a dependency may be linked with the above cookbooks.

For testing, you will need FoodCritic to validate the code and ChefSpec to run the tests.

Attributes

  • default['x2go']['server']['pkg']

    • The name of the x2go server package. Defaults to 'x2goserver'.
  • default['x2go']['server']['svc']

    • installs the x2gocleansessions, which clean up stale user sessions. Defaults to 'x2gocleansessions'.
  • default['x2go']['client']['pkg']

    • The client used to login to a running x2go server. Defaults to 'x2goclient'.
  • default['x2go']['install_flavor']

    • repository type, which in tern is also the name of the repo recipe. Effectively defaults to 'yum_repo'.

Usage

Just include x2go in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[x2go]"
  ]
}

To install the server, include x2goserver:

{
  "name":"my_node",
  "run_list": [
    "recipe[x2go]",
    "recipe[x2go::server]"
  ]
}

To include the client:

{
  "name":"my_node",
  "run_list": [
    "recipe[x2go]",
    "recipe[x2go::client]"
  ]
}

Contributing

To contribute:

e.g.
1. Fork the repository on Github
2. Create a named feature branch (like add_component_x)
3. Write you 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

Authors: Rilindo Foster <rilindo.foster@monzell.com

TODO:

  • Templatize the x2goserver.conf file.
  • Add Ubuntu support.

Dependent cookbooks

yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.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.1.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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.0 failed this metric

FC009: Resource attribute not recognised: x2go/recipes/yum_repo.rb:26
FC064: Ensure issues_url is set in metadata: x2go/metadata.rb:1
FC065: Ensure source_url is set in metadata: x2go/metadata.rb:1
FC066: Ensure chef_version is set in metadata: x2go/metadata.rb:1
FC069: Ensure standardized license defined in metadata: x2go/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: x2go/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.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 https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number