Kouhei Sutou
null+****@clear*****
Fri Feb 22 18:48:26 JST 2013
Kouhei Sutou 2013-02-22 18:48:26 +0900 (Fri, 22 Feb 2013) New Revision: 59e07bfa97ce75aaaeba665b98426583559bc293 https://github.com/groonga/chef-cookbooks/commit/59e07bfa97ce75aaaeba665b98426583559bc293 Log: Support all groonga sub packages Added files: groonga/attributes/tokenizer-mecab.rb groonga/recipes/command.rb groonga/recipes/development.rb groonga/recipes/httpd.rb groonga/recipes/library.rb groonga/recipes/munin-plugins.rb groonga/recipes/server-gqtp.rb groonga/recipes/server-http.rb groonga/recipes/suggest.rb Copied files: groonga/recipes/tokenizer-mecab.rb (from groonga/metadata.rb) Modified files: groonga/metadata.rb Added: groonga/attributes/tokenizer-mecab.rb (+1 -0) 100644 =================================================================== --- /dev/null +++ groonga/attributes/tokenizer-mecab.rb 2013-02-22 18:48:26 +0900 (3d149e0) @@ -0,0 +1 @@ +default.groonga.mecab.dictionaries = ["mecab-naist-jdic"] Modified: groonga/metadata.rb (+9 -1) =================================================================== --- groonga/metadata.rb 2013-02-22 18:47:55 +0900 (3cab36d) +++ groonga/metadata.rb 2013-02-22 18:48:26 +0900 (91a813b) @@ -20,7 +20,15 @@ description 'Installs/Configures groonga' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '1.0.0' -recipe "groonga", "Installs and configures groonga" +recipe "groonga", "Installs and configures groonga" +recipe "groonga::command", "Installs and configures groonga command" +recipe "groonga::development", "Installs development files for use groonga as library" +recipe "groonga::httpd", "Installs and configures nginx based groonga HTTP server" +recipe "groonga::library", "Installs groonga library" +recipe "groonga::munin-plugins", "Installs and configures Munin plugins for groonga" +recipe "groonga::server-gqtp", "Installs and configures GQTP groonga server" +recipe "groonga::server-http", "Installs and configures small HTTP groonga server" +recipe "groonga::tokenizer-mecab", "Installs MeCab based groonga tokenizer" supports "debian" supports "ubuntu" Added: groonga/recipes/command.rb (+21 -0) 100644 =================================================================== --- /dev/null +++ groonga/recipes/command.rb 2013-02-22 18:48:26 +0900 (4a9d471) @@ -0,0 +1,21 @@ +# Cookbook Name:: groonga +# Recipe:: default +# +# Copyright 2013 Kouhei Sutou <kou �� clear-code.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. + +include_recipe "groonga::repository" + +package "groonga-bin" do +end Added: groonga/recipes/development.rb (+21 -0) 100644 =================================================================== --- /dev/null +++ groonga/recipes/development.rb 2013-02-22 18:48:26 +0900 (f58b14f) @@ -0,0 +1,21 @@ +# Cookbook Name:: groonga +# Recipe:: default +# +# Copyright 2013 Kouhei Sutou <kou �� clear-code.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. + +include_recipe "groonga::repository" + +package "libgroonga-dev" do +end Added: groonga/recipes/httpd.rb (+21 -0) 100644 =================================================================== --- /dev/null +++ groonga/recipes/httpd.rb 2013-02-22 18:48:26 +0900 (fd93247) @@ -0,0 +1,21 @@ +# Cookbook Name:: groonga +# Recipe:: default +# +# Copyright 2013 Kouhei Sutou <kou �� clear-code.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. + +include_recipe "groonga::repository" + +package "groonga-httpd" do +end Added: groonga/recipes/library.rb (+21 -0) 100644 =================================================================== --- /dev/null +++ groonga/recipes/library.rb 2013-02-22 18:48:26 +0900 (e3ec2bd) @@ -0,0 +1,21 @@ +# Cookbook Name:: groonga +# Recipe:: default +# +# Copyright 2013 Kouhei Sutou <kou �� clear-code.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. + +include_recipe "groonga::repository" + +package "libgroonga0" do +end Added: groonga/recipes/munin-plugins.rb (+21 -0) 100644 =================================================================== --- /dev/null +++ groonga/recipes/munin-plugins.rb 2013-02-22 18:48:26 +0900 (976f75c) @@ -0,0 +1,21 @@ +# Cookbook Name:: groonga +# Recipe:: default +# +# Copyright 2013 Kouhei Sutou <kou �� clear-code.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. + +include_recipe "groonga::repository" + +package "groonga-munin-plugins" do +end Added: groonga/recipes/server-gqtp.rb (+21 -0) 100644 =================================================================== --- /dev/null +++ groonga/recipes/server-gqtp.rb 2013-02-22 18:48:26 +0900 (95b5a8b) @@ -0,0 +1,21 @@ +# Cookbook Name:: groonga +# Recipe:: default +# +# Copyright 2013 Kouhei Sutou <kou �� clear-code.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. + +include_recipe "groonga::repository" + +package "groonga-server-gqtp" do +end Added: groonga/recipes/server-http.rb (+21 -0) 100644 =================================================================== --- /dev/null +++ groonga/recipes/server-http.rb 2013-02-22 18:48:26 +0900 (cae4036) @@ -0,0 +1,21 @@ +# Cookbook Name:: groonga +# Recipe:: default +# +# Copyright 2013 Kouhei Sutou <kou �� clear-code.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. + +include_recipe "groonga::repository" + +package "groonga-server-http" do +end Added: groonga/recipes/suggest.rb (+21 -0) 100644 =================================================================== --- /dev/null +++ groonga/recipes/suggest.rb 2013-02-22 18:48:26 +0900 (152d392) @@ -0,0 +1,21 @@ +# Cookbook Name:: groonga +# Recipe:: default +# +# Copyright 2013 Kouhei Sutou <kou �� clear-code.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. + +include_recipe "groonga::repository" + +package "libgroonga-plugin-suggest" do +end Copied: groonga/recipes/tokenizer-mecab.rb (+10 -18) 53% =================================================================== --- groonga/metadata.rb 2013-02-22 18:47:55 +0900 (3cab36d) +++ groonga/recipes/tokenizer-mecab.rb 2013-02-22 18:48:26 +0900 (108346c) @@ -1,3 +1,6 @@ +# Cookbook Name:: groonga +# Recipe:: default +# # Copyright 2013 Kouhei Sutou <kou �� clear-code.com> # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,23 +15,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -name 'groonga' -maintainer 'The groonga project' -maintainer_email 'groonga �� razil.jp' -license 'Apache 2.0' -description 'Installs/Configures groonga' -long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '1.0.0' +include_recipe "groonga::repository" -recipe "groonga", "Installs and configures groonga" +package "groonga-tokenizer-mecab" do +end -supports "debian" -supports "ubuntu" -supports "centos" -supports "redhat" -supports "scientific" -supports "amazon" -supports "fedora" -supports "freebsd" -supports "windows" -supports "mac_os_x" +node.groonga.mecab.dictionaries.each do |dictionary| + package dictionary do + end +end -------------- next part -------------- HTML����������������������������...Download