cookbook 'pacman', '= 1.1.1'
pacman (10) Versions 1.1.1 Follow7
Updates package list for pacman and has LWRP for pacman groups
cookbook 'pacman', '= 1.1.1', :supermarket
knife supermarket install pacman
knife supermarket download pacman
DESCRIPTION
Refreshes the pacman package cache from the FTP servers and provides LWRPs related to pacman
REQUIREMENTS
Platform: ArchLinux. Pacman is not relevant on other platforms.
RESOURCES
pacman_group
Use the pacman_group
resource to install or remove pacman package groups. Note that at this time the LWRP will check if the group is installed but doesn't do a lot of error checking or handling. File a ticket on the COOK project at tickets.opscode.com for improvements and feature requests.
The options
parameter can be used to pass arbitrary options to the pacman command.
pacman_aur
Use the pacman_aur
resource to install packages from ArchLinux's AUR repository.
Actions:
- :build - Builds the package.
- :install - Installs the built package.
Parameters:
- version - hardcode a version
- builddir - specify an alternate build directory, defaults to
Chef::Config[:file_cache_path]/builds
. - options - pass arbitrary options to the pacman command.
-
pkgbuild_src
- whether to use an included PKGBUILD file, put the PKGBUILD file in in thefiles/default
directory. - patches - array of patch names, as files in
files/default
that should be applied for the package.
USAGE
Include recipe[pacman]
early in the run list, preferably first, to ensure that the package caches are updated before trying to install new packages.
LICENSE AND AUTHOR
Author:: Joshua Timberman (joshua@opscode.com)
Maintainer:: Jesse R. Adams (jesse <at> techno <dash> geeks <dot> org)
Copyright:: Opscode, Inc. (legal@opscode.com)
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
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
1.1.1 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.1 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
1.1.1 failed this metric
FC064: Ensure issues_url is set in metadata: pacman/metadata.rb:1
FC065: Ensure source_url is set in metadata: pacman/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pacman/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: pacman/metadata.rb:1
FC069: Ensure standardized license defined in metadata: pacman/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/aur.rb:95
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/aur.rb:105
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/group.rb:29
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/group.rb:38
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.1 passed this metric
Testing File Metric
1.1.1 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
1.1.1 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
1.1.1 failed this metric
1.1.1 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
1.1.1 failed this metric
FC064: Ensure issues_url is set in metadata: pacman/metadata.rb:1
FC065: Ensure source_url is set in metadata: pacman/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pacman/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: pacman/metadata.rb:1
FC069: Ensure standardized license defined in metadata: pacman/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/aur.rb:95
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/aur.rb:105
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/group.rb:29
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/group.rb:38
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.1 passed this metric
Testing File Metric
1.1.1 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
1.1.1 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
1.1.1 failed this metric
FC065: Ensure source_url is set in metadata: pacman/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pacman/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: pacman/metadata.rb:1
FC069: Ensure standardized license defined in metadata: pacman/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/aur.rb:95
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/aur.rb:105
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/group.rb:29
FC085: Resource using new_resource.updated_by_last_action to converge resource: pacman/providers/group.rb:38
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.1.1 passed this metric
Testing File Metric
1.1.1 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
1.1.1 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
1.1.1 failed this metric
1.1.1 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