Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[users]: ruby-shadow working for centos/rhel also

  • Loading branch information...
commit 957d520219c481727a8ec08f5572c5c29dbe941f 1 parent e263d83
@mdxp authored
Showing with 9 additions and 2 deletions.
  1. +1 −1  users/metadata.rb
  2. +8 −1 users/recipes/default.rb
View
2  users/metadata.rb
@@ -2,4 +2,4 @@
maintainer_email "marius@promethost.com"
license "Apache 2.0"
description "Configures users and groups"
-version "1.0.1"
+version "1.1.0"
View
9 users/recipes/default.rb
@@ -1,4 +1,11 @@
-package "libshadow-ruby1.8"
+package "ruby-shadow" do
+ package_name value_for_platform(
+ [ "centos", "redhat", "fedora"] => { "default" => "ruby-shadow" },
+ ["debian", "ubuntu"] => { "default" => "libshadow-ruby1.8" },
+ "default" => "ruby-shadow"
+ )
+ action :install
+end
# ensure active groups exist and can be used for new users
node[:active_groups].each do |agroup|

0 comments on commit 957d520

Please sign in to comment.
Something went wrong with that request. Please try again.