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

perl (46) Versions 5.0.0

Installs perl and provides a resource for maintaining CPAN modules

Policyfile
Berkshelf
Knife
cookbook 'perl', '= 5.0.0', :supermarket
cookbook 'perl', '= 5.0.0'
knife supermarket install perl
knife supermarket download perl
README
Dependencies
Changelog
Quality 67%

perl Cookbook

Build Status Cookbook Version

Manages Perl installation and provides cpan_module, to install modules from... CPAN.

Requirements

Platforms

  • Debian/Ubuntu/Mint
  • RHEL/CentOS/Scientific/Amazon/Oracle
  • Fedora
  • openSUSE
  • Windows

Chef

  • Chef 12.5+

Cookbooks

  • windows

Attributes

  • perl['packages'] - platform specific packages installed by default recipe
  • perl['cpanm']['path'] - platform specific path for cpanm binary to live
  • perl['cpanm']['url'] - URL to download cpanm script from
  • perl['cpanm']['checksum'] - checksum for the above remote file

Usage

To install a module from CPAN:

cpan_module 'App::Munchies'

Optionally, installation can forced with the 'force' parameter.

cpan_module 'App::Munchies'
  force true
end

You can also use cpanm's version mechanism to grab a specific version, or glob a version.

Exactly version 1.01 of App::Munchies will be installed:

cpan_module 'App::Munchies'
  version '== 1.01'
end

At least version 1.01 of App::Munchies will be installed:

cpan_module 'App::Munchies'
  version '1.01'
end

At least version 1.01 will be installed, but not version 2:

cpan_module 'App::Munchies'
  version '>= 1.01, < 2.0'
end

Additionally, you can use the cpan_module LWRP to delete a given package (uses cpanm's --uninstall param)

cpan_module 'App::Munchies'
  action :uninstall
end

License & Authors

Author: Cookbook Engineering Team (cookbooks@chef.io)

Copyright: 2009-2016, Chef Software, Inc.

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.

Dependent cookbooks

windows >= 0.0.0

Contingent cookbooks

apache2_odin_auth Applicable Versions
backuppc-server Applicable Versions
bamboo Applicable Versions
freightyard Applicable Versions
gitlab Applicable Versions
ldapknife Applicable Versions
logwatch Applicable Versions
mogilefs Applicable Versions
munin-statsd Applicable Versions
nginx_simplecgi Applicable Versions
openvas Applicable Versions
rackspaceknife Applicable Versions
radiator Applicable Versions
sanoid Applicable Versions
smokeping Applicable Versions
snmp Applicable Versions
spacewalk-server Applicable Versions
sparrow Applicable Versions
sqitch Applicable Versions
stash Applicable Versions
taskwarrior Applicable Versions
zone2ldif Applicable Versions

perl Cookbook CHANGELOG

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

5.0.0 (2017-02-27)

  • Convert the existing HWRP to a custom resource and require Chef 12.5 and later

4.0.0 (2016-09-03)

  • Testing updates
  • Require Chef 12 or later

v3.1.0 (2016-08-05)

  • Added support for SUSE / openSUSE and IBM zlinux

v3.0.0 (2016-04-07)

  • Removed installation of the libwww-perl package, which is not required for Perl to function out of the box and can be installed by CPAN instead
  • Resolved Chef 13 compatibility warnings in the cpan_module provider
  • Updated the Windows Perl download URL to the new server
  • Updated Perl to 5.22.1.3 on Windows
  • Added the windows cookbook as a dependency so the Windows install converges
  • Added module install / uninstall to the default Test Kitchen suite
  • Added a basic Kitchen Inspec test to ensure perl is installed
  • Added build-essential to the test cookbook so module installs would complete
  • Added perl-devel to RHEL 6+ hosts

v2.0.0 (2015-09-24)

  • Rewrote cpan_module definition as a LWRP with Chefspec tests and matchers
  • Add the ability to select version in the cpan_module LWRP
  • Fixed cpan_module incompatibility with Chef 12
  • Fixed download location for cpanm to prevent failures on the redirect
  • Removed Chef 10 compatibility. This cookbook now requires 11+
  • Added libwww-perl installation on Debian systems
  • Added support for RHEL/CentOS 7 and Fedora to the default.rb recipe
  • Added source_url and issues_url metadata
  • Added a chefignore file to limit files uploaded to the server
  • Updated Contributing and Testing docs
  • Added a rakefile for simplified testing
  • Added maintainers.md and maintainers.toml file and a Rake task for generating MD from TOML
  • Updated platforms tested in Kitchen CI and update the Kitchen config format
  • Updated to the standard chef .rubocop.yml file
  • Updated all testing and development gems to the latest
  • Add basic Chefspec test
  • Updated Travis CI to test on modern ruby versions and reenabled rspec and foodcritic testing
  • Added cookbook version and Travis CI badges to the readme
  • Added a .foodcritic file to skip FC015
  • Removed all references to Opscode
  • Remove the Gemfile.lock that shouldn't have been committed

v1.2.4 (2014-06-16)

  • [COOK-4725] Use windows_path to set the PATH

v1.2.2

New Feature

  • COOK-4013 - add omnios support to perl cookbook

v1.2.0

Improvement

v1.1.2

Bug

  • [COOK-2973]: perl cookbook has foodcritic errors

v1.1.0

  • [COOK-1765] - Install Strawberry Perl on Windows in Perl Cookbook

v1.0.2

  • [COOK-1300] - add support for Mac OS X

v1.0.0

  • [COOK-1129] - move lists of perl packages to attributes by platform
  • [COOK-1279] - resolve regression from COOK-1129
  • [COOK-1299] - use App::cpanminus (cpanm) to install "cpan packages"

v0.10.2

  • [COOK-1279] Re-factor recipe and fix platform_version 5 bug for redhat family platforms

v0.10.1

  • [COOK-1129] centos/redhat needs the CPAN RPM installed

v0.10.0

  • Current released version

Collaborator Number Metric
            

5.0.0 passed this metric

Foodcritic Metric
            

5.0.0 failed this metric

FC016: LWRP does not declare a default action: perl/resources/cpan_module.rb:1
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

5.0.0 passed this metric