# compat_resource **Repository Path**: jscloud/compat_resource ## Basic Information - **Project Name**: compat_resource - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-05-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # compat_resource cookbook [![Build Status](https://travis-ci.org/chef-cookbooks/compat_resource.svg?branch=master)](https://travis-ci.org/chef-cookbooks/compat_resource) [![Cookbook Version](https://img.shields.io/cookbook/v/compat_resource.svg)](https://supermarket.chef.io/cookbooks/compat_resource) ## DEPRECATION This cookbook was written to backport Chef functionality and resources to older versions of Chef. The last backport brought functionality from Chef 12.19 to 12.1-12.18\. Based on chef-client version support policy outlined [RFC-092](https://github.com/chef/chef-rfc/blob/master/rfc092-dependency-update-cadence.md#cookbook-and-ecosystem-tooling-support) we support the prior 6 months of chef-client releases in current community cookbooks and Chef 12.19 shipped in Feb 2017\. If you need the functionality provided in this cookbook you will need to update to Chef 12.19+. As Chef 12 goes EOL in April 2018 we highly recommend you upgrade to Chef 13\. See for more information on the upgrade process. This cookbook backports functionality introduced in the latest chef-client releases to any chef-client from 12.1 onwards. This includes [Custom Resource](https://docs.chef.io/custom_resources.html) functionality, notification improvements, as well as new resources added to core chef. It allows for the usage of these new resources in cookbooks without requiring the very latest Chef client release. ## Backported functionality - [Custom Resources](https://docs.chef.io/custom_resources.html) - [apt_repository](https://docs.chef.io/resource_apt_repository.html) - [apt_update](https://docs.chef.io/resource_apt_update.html) - [systemd_unit](https://docs.chef.io/resource_systemd_unit.html) - [yum_repository](https://docs.chef.io/resource_yum_repository.html) - [:before notifications](https://docs.chef.io/resources.html#timers) ## Requirements ### Platforms - All platforms supported by Chef ### Chef - Chef 12.1+ ### Cookbooks - none ## Usage To use this cookbook, put `depends 'compat_resource'` in the metadata.rb of your cookbook. Once this is done, you can use all the new custom resource features to define resources. It Just Works. ## Custom Resources? Curious about how to use custom resources? See the [Chef custom resource docs](https://docs.chef.io/custom_resources.html). ## License & Authors - Author:: Lamont Granquist ([lamont@chef.io](mailto:lamont@chef.io)) - Author:: John Keiser ([jkeiser@chef.io](mailto:jkeiser@chef.io)) ```text Copyright:: 2015-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. ```