Browse files

xfs v1.0, supports redhat family distros

  • Loading branch information...
1 parent b0ba3a7 commit cb5bd4cca0843fefe3ece9b54ad36a830bb5ec72 @jtimberman jtimberman committed Jun 4, 2011
Showing with 18 additions and 8 deletions.
  1. +11 −5 xfs/{README.rdoc → README.md}
  2. +2 −2 xfs/metadata.rb
  3. +5 −1 xfs/recipes/default.rb
View
16 xfs/README.rdoc → xfs/README.md
@@ -1,15 +1,21 @@
-= DESCRIPTION:
+Description
+====
Installs packages for working with XFS filesystems.
-= REQUIREMENTS:
+Requirements
+====
-Ubuntu or Debian package names are assumed.
+Tested on Ubuntu 10.04, CentOS 5.5 and Scientific Linux 6.0.
-= LICENSE and AUTHOR:
+Should work on any Debian or Red Hat family Linux distributions that
+have the xfs packages in a default repository.
+
+License and Author
+====
Author:: Joshua Timberman (<joshua@opscode.com>)
-Copyright:: 2009, Opscode, Inc.
+Copyright:: 2009-2011, Opscode, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
View
4 xfs/metadata.rb
@@ -2,8 +2,8 @@
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs packages for working with XFS"
-long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
-version "0.1.1"
+long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
+version "1.0.0"
recipe "xfs", "Installs packages for working with XFS"
View
6 xfs/recipes/default.rb
@@ -17,6 +17,10 @@
# limitations under the License.
#
-%w{ xfsprogs xfsdump xfslibs-dev }.each do |pkg|
+%w{ xfsprogs xfsdump }.each do |pkg|
package pkg
end
+
+package "xfslibs-dev" do
+ package_name "xfsprogs-devel" if platform?("redhat","centos","scientific","fedora")
+end

0 comments on commit cb5bd4c

Please sign in to comment.