[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.5-303-gfcfa26a
Jesse Wolfe
jes5199 at gmail.com
Thu Mar 17 10:49:17 UTC 2011
The following commit has been merged in the upstream branch:
commit 05f2cfa4c7179183c2e721ec4ebe3854782817c3
Merge: 40e8b48eb19973ec413518be656249e134344ee0 cd5deda8f9eefbe55c63c97c81293d01ca05c110
Author: Jesse Wolfe <jes5199 at gmail.com>
Date: Wed Mar 9 16:42:50 2011 -0800
Merge branch 'tickets/2.6.x/2645' into 2.6.next
diff --combined lib/puppet/type/user.rb
index 584d3ad,dcba181..f74e426
--- a/lib/puppet/type/user.rb
+++ b/lib/puppet/type/user.rb
@@@ -12,9 -12,7 +12,9 @@@ module Puppe
This resource type uses the prescribed native tools for creating
groups and generally uses POSIX APIs for retrieving information
- about them. It does not directly modify `/etc/passwd` or anything."
+ about them. It does not directly modify `/etc/passwd` or anything.
+
+ **Autorequires:** If Puppet is managing the user's primary group (as provided in the `gid` attribute), the user resource will autorequire that group. If Puppet is managing any role accounts corresponding to the user's roles, the user resource will autorequire those role accounts."
feature :allows_duplicates,
"The provider supports duplicate users with the same UID."
@@@ -36,6 -34,9 +36,9 @@@
feature :manages_expiry,
"The provider can manage the expiry date for a user."
+ feature :system_users,
+ "The provider allows you to create system users with lower UIDs."
+
newproperty(:ensure, :parent => Puppet::Property::Ensure) do
newvalue(:present, :event => :user_created) do
provider.create
@@@ -232,6 -233,14 +235,14 @@@
defaultto :minimum
end
+ newparam(:system, :boolean => true) do
+ desc "Whether the user is a system user with lower UID."
+
+ newvalues(:true, :false)
+
+ defaultto false
+ end
+
newparam(:allowdupe, :boolean => true) do
desc "Whether to allow duplicate UIDs."
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list