summaryrefslogtreecommitdiffstats
path: root/spec/unit/provider
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Fixed #1272 - ldap group names will be converted to GIDs.Luke Kanies2008-07-072-0/+33
| | |/ | | | | | | | | | | | | | | | | | | 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/+4
| |/ | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-07-042-507/+0
|\| | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/util/settings.rb spec/integration/defaults.rb spec/unit/node/catalog.rb spec/unit/type/interface.rb spec/unit/type/ssh_authorized_key.rb
| * Removing all of the code related to the interface type.Luke Kanies2008-07-032-510/+0
| |
| * Doing what I can to fix #1128, but just in preparation for removing 'interface'.Luke Kanies2008-07-031-21/+24
| | | | | | | | | | | | | | | | | | | | This type needs to be started again from scratch, and I'm not going to do so for 0.24.5. In particular, the model for red hat and sunos need to match -- they should both use the device name as the actual name. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fixing the "describe" in the redhat interface specsLuke Kanies2008-07-031-10/+10
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-07-022-0/+62
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/unit/node/catalog.rb spec/unit/type/package.rb spec/unit/type/schedule.rb spec/unit/type/service.rb spec/unit/util/settings.rb
| * Fixed #1360 -- allowdupe works with groups again.Luke Kanies2008-06-162-0/+62
| | | | | | | | | | | | 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.
* | Merge branch '0.24.x'Luke Kanies2008-05-255-31/+76
|\| | | | | | | | | | | | | Conflicts: CHANGELOG lib/puppet/transaction.rb
| * The ldap user/group providers now work when no users/groups are in ldap yet.Luke Kanies2008-05-212-17/+36
| | | | | | | | | | Previously, they failed if you tried to get them to autogenerate an id, because they assumed that a result would be returned.
| * Adding support for settings within the existing Facter provider confines.Luke Kanies2008-05-203-24/+40
| | | | | | | | | | | | This renames the 'facter' confine to 'variable', and it prefers settings to facts. There shouldn't really be any overlap, so it shouldn't be a problem.
| * Intermediate commit so I can move on to other things.Luke Kanies2008-05-201-0/+10
| |
* | Merge branch '0.24.x'Luke Kanies2008-05-201-4/+0
|/ | | | | | | | | | Conflicts: CHANGELOG spec/integration/defaults.rb spec/integration/node/catalog.rb spec/unit/rails.rb spec/unit/type/mount.rb
* Refactoring how the provider confine tests work, again.Luke Kanies2008-05-198-237/+415
| | | | | | | | | | Now each of the test types is a separate subclass of Confine, so that they can have all of their own logging and summarizing behaviour. Also, added a 'feature' type, which can test for the availability of Puppet features (and log their absence more usefully).
* Fixing a mock in the redhat interface test.Luke Kanies2008-05-161-2/+2
| | | | | It mocked :exists? instead of :exist?, and my provider work changed the method call because :exists? is going away in ruby.
* Moving all confine code out of the Provider class, and fixing #1197.Luke Kanies2008-05-153-77/+189
| | | | | | | | | I created a Confiner module for the Provider class methods, and then I enhanced the interface between it and the Confine class to make sure binary paths are searched for fresh each time. This fixes #1197, which was a result of binary paths being searched for at startup, rather than at execution.
* Moving the 'confine' handling to separate classes.Luke Kanies2008-05-152-0/+288
|
* Duh, fixing all of the paths being loaded for spec in the moved tests.Luke Kanies2008-05-155-5/+5
|
* Moving all tests that are in 'ral' up a level.Luke Kanies2008-05-155-0/+896
| | | | | This directory only existed as an organizational method, and the code never matched it, so I'm fixing it.
* Adding ldap providers for the user and group type.Luke Kanies2008-05-123-0/+566
These providers use posixAccount and posixGroup. This is a collapsed merge, fwiw.