Use package pecl-memcache on RHEL#56
Open
christopher-hopper wants to merge 2 commits intothias:masterfrom
Open
Use package pecl-memcache on RHEL#56christopher-hopper wants to merge 2 commits intothias:masterfrom
christopher-hopper wants to merge 2 commits intothias:masterfrom
Conversation
Use similar parameter for memcache as we use for apc when installing on RHEL because they're both coming as pecl packages.
Owner
|
I'm using both the php::module { 'pecl-memcache': } |
Author
|
I guess that the problem is that we want this defined type to not require OS or Distro specific patterns in order to use. My puppet manifests will be used on Debian and RHEL builds, so I'd like to be able to use: php::module { 'memcache': }In the same way I can use: php::module { 'apc': }and have it just work on Debian or RHEL. Does that make sense? |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When installing the memcache php module on RHEL, use the package 'php-pecl-memcache' in a similar way to the existing apc php module.
NOTE if more of these exceptions to package names are encountered, it might be worth defining all module package names in a hash or array, to simplify the branching and
php::paramvariables.