forked from sous-chefs/yum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.json
61 lines (57 loc) · 6.58 KB
/
metadata.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"dependencies": {
},
"name": "yum",
"maintainer_email": "[email protected]",
"attributes": {
"yum/installonlypkgs": {
"required": "optional",
"calculated": false,
"choice": [
],
"type": "string",
"recipes": [
],
"description": "List of packages that should only ever be installed, never updated. Kernels in particular fall into this category. Defaults to kernel, kernel-smp, kernel-bigmem, kernel-enterprise, kernel-debug, kernel-unsupported.",
"display_name": "yum.conf installonlypkgs"
},
"yum/exclude": {
"required": "optional",
"calculated": false,
"choice": [
],
"type": "string",
"recipes": [
],
"description": "List of packages to exclude from updates or installs. This should be an array. Shell globs using wildcards (eg. * and ?) are allowed.",
"display_name": "yum.conf exclude"
}
},
"license": "Apache 2.0",
"suggestions": {
},
"platforms": {
"scientific": ">= 5.0",
"centos": ">= 5.0",
"amazon": ">= 5.0",
"redhat": ">= 5.0"
},
"maintainer": "Opscode, Inc.",
"long_description": "# Description\n\nConfigures various YUM components on Red Hat-like systems. Includes\nLWRP for managing repositories and their GPG keys.\n\nBased on the work done by Eric Wolfe and Charles Duffy on the\n[yumrepo](https://github.com/atomic-penguin/cookbook-yumrepo) cookbook.\n\n# Requirements\n\nRedHat Enterprise Linux 5, and 6 distributions within this platform family.\n\n# Attributes\n\n* `yum['exclude']`\n - An array containing a list of packages to exclude from updates or\n installs. Wildcards and shell globs are supported.\n - Defaults to an empty exclude list.\n\n* `yum['installonlypkgs']`\n - An array containing a list of packages which should only be\n installed, never updated.\n - Defaults to an empty install-only list.\n\n* `yum['epel_release']`\n - Set the epel release version based on `node['platform_version']`.\n - Defaults to the most current release of EPEL, based on the major\n version of your platform release.\n\n* `yum['ius_release']`\n - Set the IUS release to install.\n - Defaults to the current release of the IUS repo.\n\n# Recipes\n\n## default\n\nThe default recipe does nothing.\n\n## yum\n\nManages the configuration of the `/etc/yum.conf` via attributes. See\nthe aforementioned Array attributes `yum['exclude']` and\n`yum['installonlypkgs']`.\n\n## epel\n\nInstalls the EPEL repository via RPM. Uses the `yum['epel_release']`\nattribute to select the right version of the repository package to\ninstall. Also uses the node's platform version (as an integer) for the\nmajor release of EL.\n\nOn Amazon Linux, the built-in EPEL repository is activated using\n`yum-config-manager --quiet --enable epel`. This ignores the\n`node['yum']['epel_release']` attribute in favor of the version\nconfigured in the Amazon Linux AMI.\n\n## ius\n\nInstalls the [IUS Community repositories](http://iuscommunity.org/Repos)\nvia RPM. Uses the `node['yum']['ius_release']` attribute to select the\nright versino of the package to install.\n\nThe IUS repository requires EPEL, and includes `yum::epel` as a\ndependency.\n\n# Resources/Providers\n\n## key\n\nThis LWRP handles importing GPG keys for YUM repositories. Keys can be\nimported by the `url` parameter or placed in `/etc/pki/rpm-gpg/` by a\nrecipe and then installed with the LWRP without passing the URL.\n\n### Actions\n\n- :add: installs the GPG key into `/etc/pki/rpm-gpg/`\n- :remove: removes the GPG key from `/etc/pki/rpm-gpg/`\n\n#### Attribute Parameters\n\n- key: name attribute. The name of the GPG key to install.\n- url: if the key needs to be downloaded, the URL providing the download.\n\n#### Example\n\n``` ruby\n# add the Zenoss GPG key\nyum_key \"RPM-GPG-KEY-zenoss\" do\n url \"http://dev.zenoss.com/yum/RPM-GPG-KEY-zenoss\"\n action :add\nend\n \n# remove Zenoss GPG key\nyum_key \"RPM-GPG-KEY-zenoss\" do\n action :remove\nend\n```\n\n### repository\n\nThis LWRP provides an easy way to manage additional YUM repositories.\nGPG keys can be managed with the `key` LWRP. The LWRP automatically\nupdates the package management cache upon the first run, when a new\nrepo is added.\n\n#### Actions\n\n- :add: creates a repository file and builds the repository listing\n- :remove: removes the repository file\n\n#### Attribute Parameters\n\n- repo_name: name attribute. The name of the channel to discover\n- description. The description of the repository\n- url: The URL providing the packages\n- mirrorlist: Default is `false`, if `true` the `url` is considered a list of mirrors\n- key: Optional, the name of the GPG key file installed by the `key` LWRP.\n\n- enabled: Default is `1`, set to `0` if the repository is disabled.\n- type: Optional, alternate type of repository\n- failovermethod: Optional, failovermethod\n- bootstrapurl: Optional, bootstrapurl\n\n### Example\n\n``` ruby\n# add the Zenoss repository\nyum_repository \"zenoss\" do\n name \"Zenoss Stable repo\"\n url \"http://dev.zenoss.com/yum/stable/\"\n key \"RPM-GPG-KEY-zenoss\"\n action :add\nend\n \n# remove Zenoss repo\nyum_repository \"zenoss\" do\n action :remove\nend\n```\n\n# Usage\n\nPut `recipe[yum::yum]` in the run list to ensure yum is configured\ncorrectly for your environment within your Chef run.\n\nUse the `yum::epel` recipe to enable EPEL, or the `yum::ius` recipe to\nenable IUS, per __Recipes__ section above.\n\nYou can manage GPG keys either with cookbook_file in a recipe if you\nwant to package it with a cookbook or use the `url` parameter of the\n`key` LWRP.\n\n# License and Author\n\nAuthor:: Eric G. Wolfe\nAuthor:: Matt Ray (<[email protected]>)\nAuthor:: Joshua Timberman (<[email protected]>)\n\nCopyright:: 2010 Tippr Inc.\nCopyright:: 2011 Eric G. Wolfe\nCopyright:: 2011 Opscode, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
"version": "0.6.2",
"recommendations": {
},
"recipes": {
"yum::yum": "Manages yum configuration",
"yum": "Empty recipe."
},
"groupings": {
},
"conflicting": {
},
"replacing": {
},
"description": "A fabulous new cookbook",
"providing": {
}
}