summaryrefslogtreecommitdiffstats
path: root/lib/puppet/provider/user
Commit message (Collapse)AuthorAgeFilesLines
* deprecate NetInfo providers and examples, remove all NetInfo references and ↵Nigel Kersten2009-07-142-129/+1
| | | | tests.
* Removed extra whitespace from end of linesIan Taylor2009-06-064-16/+16
|
* Changed tabs to spaces without interfering with indentation or alignmentIan Taylor2009-06-061-2/+2
|
* Merge branch '0.24.x'Luke Kanies2009-04-021-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/ralsh lib/puppet/executables/client/certhandler.rb lib/puppet/parser/functions/versioncmp.rb lib/puppet/parser/resource/reference.rb lib/puppet/provider/augeas/augeas.rb lib/puppet/provider/nameservice/directoryservice.rb lib/puppet/provider/ssh_authorized_key/parsed.rb lib/puppet/type.rb lib/puppet/type/file/checksum.rb spec/integration/defaults.rb spec/integration/transaction/report.rb spec/unit/executables/client/certhandler.rb spec/unit/indirector/ssl_rsa/file.rb spec/unit/node/catalog.rb spec/unit/provider/augeas/augeas.rb spec/unit/rails.rb spec/unit/type/ssh_authorized_key.rb spec/unit/type/tidy.rb test/executables/filebucket.rb test/executables/puppetbin.rb
| * Updated useradd.rb managehome confine to include other RH-like distributionsJames Turnbull2009-02-251-1/+1
| |
* | Fixed #1849 - Ruby 1.9 portability: `when' doesn't like colons, replace with ↵James Turnbull2009-02-262-2/+2
|/ | | | semicolons
* add NetInfo deprecation notice to user and group providers, make the ↵Nigel Kersten2008-12-062-3/+10
| | | | directoryservice user provider the default, remove default for darwin from NetInfo providers
* Bug # 1680 Now you can set the hashed passwords on solarisAndrew Shafer2008-12-011-11/+18
| | | | Straight /etc/shadow hackery
* Handle password when user is createdAndrew Shafer2008-12-011-1/+6
| | | | strip out the -p and call password= after the thing is done
* == is not =Andrew Shafer2008-12-011-1/+1
|
* Solaris doesn't have a native tool to set hashed passwordsAndrew Shafer2008-12-011-5/+30
| | | | | | | Added support for passwords by directly editing /etc/shadow (I tried to make it work with libshadow, but considering it is not packaged for Solaris and adds little benefit, I decided against it) password and password= are now defined on the default Solaris provider
* Solaris RBAC AttributesAndrew Shafer2008-10-222-14/+90
| | | | | | | | | | | Adding support to user type for: profiles auths project key/value pairs Refactored useradd.addcmd so I could override how properties get added in the subclass Added keyvalue property to manage generic keyvalues
* Fixed #1639 - uninitialized constant Puppet::Type::User::ProviderUseraddJames Turnbull2008-10-091-1/+1
|
* Add role support to user type and an implementionAndrew Shafer2008-10-011-0/+89
| | | | | | | | modify user type: add ensure = role logic add roles property add manages_solaris_rbac feature refactored 'list' property to reuse logic for groups in roles
* Adjusted hpuxuseradd user provider to confine to HP-UX and fixed HP-UX user ↵James Turnbull2008-09-131-3/+4
| | | | provider path regression
* Fixes #1455 - Adds HP-UX support for user typeJames Turnbull2008-09-061-0/+29
|
* Merge branch 'tickets/0.24.x/1272' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-081-0/+14
|\ | | | | | | | | | | | | Conflicts: CHANGELOG spec/unit/provider/user/ldap.rb
| * Fixed #1272 - ldap group names will be converted to GIDs.Luke Kanies2008-07-071-0/+14
| | | | | | | | | | | | | | Note that this only looks up ldap groups, at this point; if you want to set an ldap user's primary group to a local group, you have to specify the GID. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixed #1399 - the ldap user provider knows it can manage passwords.Luke Kanies2008-07-071-0/+2
|/ | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixed #1360 -- allowdupe works with groups again.Luke Kanies2008-06-161-1/+1
| | | | | | I've added a couple of tests for this bit of the user and group useradd/groupadd providers, but I haven't migrated the rest of the tests.
* The ldap user/group providers now work when no users/groups are in ldap yet.Luke Kanies2008-05-211-6/+8
| | | | | Previously, they failed if you tried to get them to autogenerate an id, because they assumed that a result would be returned.
* Intermediate commit so I can move on to other things.Luke Kanies2008-05-201-1/+1
|
* Adding ldap providers for the user and group type.Luke Kanies2008-05-121-0/+115
| | | | | | These providers use posixAccount and posixGroup. This is a collapsed merge, fwiw.
* Added more detail about the requirement for ruby-libshadow for useradd ↵James Turnbull2008-03-201-1/+1
| | | | password management
* Fixed #1019 - made libshadow available for non-Linux usersJames Turnbull2008-01-211-1/+1
|
* Removing the Id tags from all of the filesLuke Kanies2007-10-033-3/+0
|
* Copying the "commands" and "confine" statements to the actual dscl ↵luke2007-08-061-1/+4
| | | | | | providers, since they need to be there to determine where the providers are suitable. Otherwise base classes could unnecessarily affect how subclasses work. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2751 980ebf18-57e1-0310-9a29-db15c13687c0
* DirectoryService provider for users and groups. Alternative to netinfo, as ↵mccune2007-08-031-0/+113
| | | | | | | | apple has indicated NetInfo may go away at some point in the future. It might happen in October. FIXME: implement groups and groups= instances methods for Puppet::Type::User::ProviderDirectoryservice git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2739 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding patch by Ghislain from #670, with slight modifications.luke2007-06-181-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2600 980ebf18-57e1-0310-9a29-db15c13687c0
* Add a grammatically correct 'has_feature' alias, and switch to using it ↵mpalmer2007-05-302-2/+2
| | | | | | where appropriate in existing code git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2542 980ebf18-57e1-0310-9a29-db15c13687c0
* Clean up a really hairy code construct in the useradd providermpalmer2007-05-301-6/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2541 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #605 -- providers now refer to @resource or @resource_type.luke2007-05-093-13/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2501 980ebf18-57e1-0310-9a29-db15c13687c0
* Possibly adding the ability to manage passwords on os x. I expect it does ↵luke2007-04-251-2/+9
| | | | | | not work, since there is probably no way to set up an encrypted password, but at least it now creates a user that can not log in by default. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2415 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the ability to manage passwords with the useradd providerluke2007-04-251-9/+18
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2414 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a bug I apparently introduced in the testing that would have made ↵luke2007-03-281-14/+8
| | | | | | user management not work with netinfo. In the process, I am enabling validation on the nameservice subclasses. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2359 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #553; -M is no longer added when home directories are managedluke2007-03-211-6/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2341 980ebf18-57e1-0310-9a29-db15c13687c0
* Hopefully the last batch of commits before I release 0.22.2. Mostly just ↵luke2007-03-191-0/+9
| | | | | | get tests to pass. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2334 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #432 - you can now manage home dirs with users. You cannot yet purge ↵luke2007-03-191-1/+10
| | | | | | home directories, because there is still controversy over how that should be done. Also, allowdupe is now handled like a feature, which is, um, better. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2328 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the state-rename branch. This includes the diff from version 2156 ↵luke2007-02-072-8/+8
| | | | | | to 2168. All states should now be properties, with backward compatibility for the types that restricted themselves to the methods. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2169 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing autogen so it passes on non-Darwin systems.luke2007-02-011-5/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2140 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #463. I redid all the autogen stuff so it can handle autogenerating ↵luke2007-01-291-2/+20
| | | | | | string values for stupid os x. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2114 980ebf18-57e1-0310-9a29-db15c13687c0
* I have not yet finished testing, but most of the providers now successfully ↵luke2006-12-282-4/+4
| | | | | | pass arrays to execute() instead of strings, which means that the vast majority of execution problems are now gone. I will finish testing tomorrow, hopefully, and will also hopefully be able to verify that the execution-related bugs are fixed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1979 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #372 and #374. All is not perfect, since OS X still cannot set UID, ↵luke2006-12-191-9/+12
| | | | | | but it is much better. There is still plenty of bug-fixing to do on other platforms, I expect. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1954 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #267. The problem was that the user provider was retrieving the @is ↵luke2006-09-152-6/+6
| | | | | | value instead of the @should value, because it was using [] instead of the should method. I fixed the FakeModel to behave a bit more like real types, so that it keeps track of the is/should values, and also to keep track of which attributes are valid, since I immediately ran into another problem stemming from the use of the fakemodel. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1599 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying providers so that docs generate betterluke2006-08-281-8/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1502 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging r1468 from the implementations branch with r1438 from when the ↵luke2006-08-143-0/+178
branch was first created. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1469 980ebf18-57e1-0310-9a29-db15c13687c0