-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for imagick issues upon pdepend installation
- Loading branch information
Showing
3 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# Cookbook Name:: pdepend | ||
# Library:: helpers | ||
# | ||
# Copyright 2013-2015, Escape Studios | ||
# | ||
|
||
# PDEPEND module | ||
module PDEPEND | ||
# helpers module | ||
module Helpers | ||
# Returns an array of package names that will install pdepend on a node. | ||
# Package names returned are determined by the platform running this recipe. | ||
def pdepend_prerequisite_packages | ||
value_for_platform( | ||
'default' => ['libmagickwand-dev', 'libmagickcore-dev'] | ||
) | ||
end | ||
end | ||
end | ||
|
||
# Chef class | ||
class Chef | ||
# Recipe class | ||
class Recipe | ||
include PDEPEND::Helpers | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters