This repository was archived by the owner on Aug 21, 2021. It is now read-only.
forked from Denis-Mak/sphinx-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes for compatibility with Chef 12.14.
+ changes from @reidab PR connecting with mysql migration from recipes to resources
- Loading branch information
Showing
7 changed files
with
8 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
maintainer_email "[email protected]" | ||
license "Apache 2.0" | ||
description "Installs/Configures sphinx search engine." | ||
version "1.1.0" | ||
version "1.1.1" | ||
|
||
recipe "sphinx", "Installs sphinx" | ||
recipe "sphinx::package", "Installs sphinx from a package" | ||
|
@@ -16,7 +16,7 @@ | |
provides "sphinx::rpm" | ||
|
||
depends "build-essential", ">= 1.1.2" | ||
depends "mysql" | ||
depends "mysql", ">= 6.0.0" | ||
depends "percona" | ||
depends "postgresql", ">= 1.0.0" | ||
depends "yum" | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
mysql_client "default" if node[:sphinx][:use_mysql] | ||
include_recipe "percona::client" if node[:sphinx][:use_percona] | ||
include_recipe "mysql::client" if node[:sphinx][:use_mysql] | ||
include_recipe "postgresql::client" if node[:sphinx][:use_postgres] | ||
include_recipe "sphinx::#{node[:sphinx][:install_method]}" |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
index <%= @new_resource.name %> { | ||
source = <%= @new_resource.source %> | ||
path = <%= @data_path %> | ||
<% @new_resource.params.each do |k, v| %> | ||
<% @new_resource.attrs.each do |k, v| %> | ||
<%= k %> = <%= v %> | ||
<% 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