Skip to content

Commit

Permalink
xfs v1.0, supports redhat family distros
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Jun 4, 2011
1 parent b0ba3a7 commit cb5bd4c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
16 changes: 11 additions & 5 deletions xfs/README.rdoc → xfs/README.md
Original file line number Diff line number Diff line change
@@ -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 (<[email protected]>)
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.
Expand Down
4 changes: 2 additions & 2 deletions xfs/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
maintainer_email "[email protected]"
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"

Expand Down
6 changes: 5 additions & 1 deletion xfs/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.