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

The codenamephp_gui cookbook has been deprecated

Author provided reason for deprecation:

The codenamephp_gui cookbook has been deprecated and is no longer being maintained by its authors. Use of the codenamephp_gui cookbook is no longer recommended.

RSS

codenamephp_gui (6) Versions 2.0.0

Cookbook to install linux guis like cinammon or gnome

Policyfile
Berkshelf
Knife
cookbook 'codenamephp_gui', '= 2.0.0', :supermarket
cookbook 'codenamephp_gui', '= 2.0.0'
knife supermarket install codenamephp_gui
knife supermarket download codenamephp_gui
README
Dependencies
Quality 33%

Chef Cookbook Gui

Build Status

Cookbook to install linux guis like cinnamon, gnome, ...

The default cookbook is a No-Op. To install a gui, add the respective cookbook to your runlist.

Requirements

Supported Platforms

  • Debian Stretch

Suported GUIs

  • cinnamon
  • xfce4
  • gnome

Chef

  • Chef 13.0+

Cookbook Depdendencies

  • apt

Usage

Add the cookbook to your Berksfile:

cookbook 'codenamephp_gui'

Add the gui cookbook to your runlist, e.g. in a role:

{
  "name": "default",
  "chef_type": "role",
  "json_class": "Chef::Role",
  "run_list": [
      "recipe[codenamephp_gui::cinnamon]"
  ]
}

Note that the default recipe is a No-Op, so you need to add the gui you want

Recipes

Each recipe just uses the respective resource without any arguments. They are meant to use as a shortcut in a runlist or via chef manage gui. If you need some
additional properties use the resources in a wrapper cookbook.

Resources

Cinnamon

The codenamephp_gui_cinnamon resource installs or uninstalls the cinnamon gui.

Actions

  • :install: Installs the gui using apt and starts and enables the lightdm display manager
  • :uninstall: Uninstalls the lightdm display manager

Properties

  • package_name: The name of the apt package to use for install, defaults to 'cinnamon-core'
  • lightdm: Boolean to enable or disable the lightdm handling, defaults to true

Examples

# Minmal parameters
codenamephp_gui_cinnamon 'install cinnamon gui'

# Custom package name and disabled lightdm
codenamephp_gui_cinnamon 'install cinnamon gui' do
  package_name 'cinnamon'
  lightdm false
end

# Uninstall
codenamephp_gui_cinnamon 'install cinnamon gui' do
  action :uninstall
end

XFCE4

The codenamephp_gui_xfce resource installs or uninstalls the xfce4 gui.

Actions

  • :install: Installs the gui using apt and starts and enables the lightdm display manager
  • :uninstall: Uninstalls the lightdm display manager

Properties

  • package_name: The name of the apt package to use for install, defaults to 'xfce4-core'
  • lightdm: Boolean to enable or disable the lightdm handling, defaults to true

Examples

# Minmal parameters
codenamephp_gui_xfce4 'install xfce4 gui'

# Custom package name and disabled lightdm
codenamephp_gui_xfce4 'install xfce4 gui' do
  package_name 'xfce4'
  lightdm false
end

# Uninstall
codenamephp_gui_xfce4 'install xfce4 gui' do
  action :uninstall
end

Gnome

The codenamephp_gui_xfce resource installs or uninstalls the gnome gui.

Actions

  • :install: Installs the gui using apt
  • :uninstall: Uninstalls the gui using apt

Properties

  • package_name: The name of the apt package to use for install, defaults to 'gnome-core'

Examples

# Minmal parameters
codenamephp_gui_gnome 'install gnome gui'

# Custom package name
codenamephp_gui_gnome 'install gnome gui' do
  package_name 'gnome'
end

# Uninstall
codenamephp_gui_gnome 'install gnome gui' do
  action :uninstall
end

Collaborator Number Metric
            

2.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
            

2.0.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
            

2.0.0 passed this metric

No Binaries Metric
            

2.0.0 passed this metric

Testing File Metric
            

2.0.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
            

2.0.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