[Groonga-commit] groonga/chef-cookbooks [master] Support RHEL and Fedora family (maybe)

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 22 18:24:38 JST 2013


Kouhei Sutou	2013-02-22 18:24:38 +0900 (Fri, 22 Feb 2013)

  New Revision: 25e23e0c4407971830ade97789161f2a1ea4cdd0
  https://github.com/groonga/chef-cookbooks/commit/25e23e0c4407971830ade97789161f2a1ea4cdd0

  Log:
    Support RHEL and Fedora family (maybe)
    
    I don't run it yet. :p

  Modified files:
    groonga/recipes/repository.rb

  Modified: groonga/recipes/repository.rb (+11 -0)
===================================================================
--- groonga/recipes/repository.rb    2013-02-22 18:24:10 +0900 (b1ad6b4)
+++ groonga/recipes/repository.rb    2013-02-22 18:24:38 +0900 (3370ca0)
@@ -43,4 +43,15 @@ if platform_family?("debian")
   package "groonga-keyring" do
     options("--allow-unauthenticated")
   end
+elsif platform_family?("rhel", "fedora")
+  if platform_family?("rhel")
+    family = "centos"
+  else
+    family = "fedora"
+  end
+  package "groonga-release" do
+    provider("rpm")
+    base_url = "http://packages.groonga.org/#{family}"
+    source("#{base_url}/groonga-release-1.1.0-1.noarch.rpm")
+  end
 end
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index