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


conjur (10) Versions 0.4.5

Installs/Configures conjur

cookbook 'conjur', '~> 0.4.5', :supermarket
cookbook 'conjur', '~> 0.4.5'
knife supermarket install conjur
knife supermarket download conjur
Quality 29%


Installs and/or configures Conjur, including Conjur SSH and command-line tools.

This cookbook is composed of several recipes, which can be used at different stages of the continuous delivery lifecycle.

The lifecycle is roughly intended to operate like this:

  • A base OS image from the CentOS or Ubuntu LTS family is selected.
  • The "foundation" cookbooks run on the base OS image to configure the connection to Conjur (and other desired systems), install packages, and perform static configuration.
  • A "foundation" image is captured after the foundation cookbooks have completed.
  • Machines are launched from the "foundation" image. Each machine is provided with Conjur identity, then a Chef run finishes the machine configuration (e.g. configure the host credentials for LDAPS connection to Conjur). At this point, Chef (or other configuration management tools) may also install and configure applications on top of the base OS foundation.

Foundation Recipes

These recipes can be used to build a "foundation" image, which is able to create a secure connection to Conjur, and has performed all package installation prior to the machine launch.

  • install [required] Installs base packages which are needed for Conjur SSH. All installation and configuration steps performed by this recipe can be built into an image.
  • conjurrc [optional] Configures the connection to the Conjur server endpoint and establishes SSL verification. This information can be safely built into an image.
  • client [optional] Installs the Conjur command-line tools. This is optional for Conjur SSH functionality. The CLI can be built into an image.

Launch recipes

  • configure Applies the Conjur host identity to finish the machine configuration.



  • Amazon Linux
  • CentOS 6
  • CentOS 7
  • Debian 8
  • RHEL 6
  • RHEL 7
  • Ubuntu 12.04 LTS
  • Ubuntu 14.04 LTS

Dependency Cookbooks

  • sshd-service


See attributes/default.rb for defaults and documentation.



Runs the install and configure recipes.


Installs packages required for Conjur SSH. Packages install include:

  • openssh
  • PAM + LDAP
  • Conjur logshipper, which receives auth.log lines from syslog, parses them, and sends them to Conjur as login, logout, and sudo records.

This recipe also applies base configuration, such as:

  • Conjur update permission is mapped to a Unix user group
  • Conjur execute permission is mapped to a Unix user group
  • By default, the update Unix group is granted passwordless sudo access


Installs the Conjur command-line tools.


Creates the /etc/conjur.conf and /etc/conjur-[acct].pem from Chef attributes.


This cookbook is verified by both chefspec and serverspec tests. Conjur Inc also verifies the correct operation of the SSH functionality on all supported platforms.

Run to lint and unit test.

Run to run EC2 integration tests. By default this script runs
all test-kitchen suites defined in [.kitchen.yml](.kitchen.yml), but you can also pass a specific
suite to run like so: ubuntu-16.

Offline installation

If the machines you'd like to conjurize with this cookbook are behind a firewall,
please see []( for instructions.


  • Fix some issues on Ubuntu 16.04 preventing mkhomedir and logshipper from working correctly.


  • Change repository addresses to {apt,yum}


  • Added attribute ['conjur']['logshipper']['conjur_repository'] to toggle pulling packages from Conjur repos in [offline scenarios](


  • Don't install any packages in the configure step.


  • On platforms that use systemd, don't try to restart logshipper in conjur::install


  • Add automated testing for many more platforms
  • Rework testing use a real Conjur appliance


  • Fix login on Debian
  • Install conjur_authorized_keys in /opt/conjur/bin instead of /usr/local/bin


  • Correctly detect systemd on Debian


  • Fix for debian (don't install ubuntu-specific package)


  • Fix Amazon Linux support


  • Systemd support


  • Updated EL repository URL


  • Add a timeout in pubkey fetcher to prevent lockout when Conjur is unreachable


  • Lower nslcd's idle_timelimit to one second


  • Configures nsswitch to use LDAP for group lookup. This enables the usage of Conjur for secondary groups.

Collaborator Number Metric

0.4.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.4.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, and your repo must contain a file

Foodcritic Metric

0.4.5 failed this metric

FC009: Resource attribute not recognised: conjur/recipes/identity.rb:19
FC064: Ensure issues_url is set in metadata: conjur/metadata.rb:1
FC065: Ensure source_url is set in metadata: conjur/metadata.rb:1
FC066: Ensure chef_version is set in metadata: conjur/metadata.rb:1
FC069: Ensure standardized license defined in metadata: conjur/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

0.4.5 failed this metric

Failure: Cookbook should not contain binaries. Found:

Supported Platforms Metric

0.4.5 passed this metric

Testing File Metric

0.4.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, and your repo must contain a file

Version Tag Metric

0.4.5 passed this metric