Permalink
Browse files

Added initial postfix module & slight users cookbook changes

  • Loading branch information...
troyready committed Jan 15, 2013
1 parent e12fe20 commit ba2c6d224efed15068c97d660c26d0a6b3d240c6
Showing with 33 additions and 5 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 postfix
  3. +2 −5 users/recipes/beoper.rb
  4. +27 −0 users/recipes/oracleadmins.rb
View
@@ -49,3 +49,6 @@
[submodule "htpasswd"]
path = htpasswd
url = git://github.com/Youscribe/htpasswd-cookbook.git
+[submodule "postfix"]
+ path = postfix
+ url = git://github.com/opscode-cookbooks/postfix.git
Submodule postfix added at d7d149
View
@@ -1,9 +1,8 @@
#
# Cookbook Name:: users
-# Recipe:: sysadmins
+# Recipe:: beoper
#
-# Copyright 2011, Eric G. Wolfe
-# Copyright 2009-2011, Opscode, Inc.
+# Copyright 2013, Biola University
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -18,8 +17,6 @@
# limitations under the License.
#
-# Searches data bag "users" for groups attribute "sysadmin".
-# Places returned users in Unix group "sysadmin" with GID 2300.
chef_gem "ruby-shadow"
@@ -0,0 +1,27 @@
+#
+# Cookbook Name:: users
+# Recipe:: oracleadmins
+#
+# Copyright 2013, Biola University
+#
+# 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.
+#
+
+
+chef_gem "ruby-shadow"
+
+
+users_manage "oracleadmins" do
+ group_id 2305
+ action [ :remove, :create ]
+end

0 comments on commit ba2c6d2

Please sign in to comment.