summaryrefslogtreecommitdiffstats
path: root/lib/puppet/provider
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes #1445 and #1426James Turnbull2008-07-221-1/+6
|
* Revert "Merging fsweetser's selinux patch against 0.24.4"James Turnbull2008-07-202-190/+0
| | | | This reverts commit f16da4250c16aeab932a81a349df059c69d7ee23.
* Merging fsweetser's selinux patch against 0.24.4Brett Lentz2008-07-202-0/+190
|
* Fix Ticket 1426 - services on redhat are restarted againJames Turnbull2008-07-171-2/+10
| | | | | as far I see there have been a regression while refactoring the redhat service provider to user /sbin/service. This commit fixes this bug (1426) and service restarts are working again on redhat based systems. There are no tests, as I couldn't figure out how that should be tested. It seems that some restart logic is already tested, however it looks like not every single kind of provider is covered by tests, nor I see at the moment how I could do that.
* Fix #1409, Move path expansion from the type into the providerFrancois Deppierraz2008-07-111-0/+36
| | | | | | This avoid exceptions during type instanciation when a user does not yet exist. The drawback is that we cannot use generated resources anymore and have to mkdir, chown and chmod directly in the provided which is somewhat hackish.
* Merge branch 'tickets/0.24.x/1226' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-081-12/+33
|\
| * Fixed #1226 - Gems can now specify source repositories.Luke Kanies2008-07-071-15/+20
| | | | | | | | | | | | | | | | | | Added tests for the bit that's changed here (and caught a couple of bugs in the original patch). This is all a modification of Sam Quigley's work. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Correct whitespaceLuke Kanies2008-07-071-7/+7
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Importing Sam Quigley's work to enhance gem support for sources.Luke Kanies2008-07-071-5/+21
| |
* | Merge branch 'tickets/0.24.x/1272' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-082-0/+23
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/unit/provider/user/ldap.rb
| * | Fixed #1272 - ldap group names will be converted to GIDs.Luke Kanies2008-07-072-0/+23
| |/ | | | | | | | | | | | | 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>
* Removing all of the code related to the interface type.Luke Kanies2008-07-032-394/+0
|
* Doing what I can to fix #1128, but just in preparation for removing 'interface'.Luke Kanies2008-07-031-6/+17
| | | | | | | | | | 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>
* ssh_authorized_key: autorequire, default permissions and cleanupFrancois Deppierraz2008-06-271-16/+0
| | | | | | | | | | Autorequire the target file and its parent directory as well. Default permissions and owner are now set on the file and its parent directory. Moved target attribute setting code from prefetch() in the provider to the type itself. This seems much cleaner to me.
* Fixed #707 - special '@reboot'-style cron jobs work again.Luke Kanies2008-06-171-1/+5
|
* Fixed #1360 -- allowdupe works with groups again.Luke Kanies2008-06-164-9/+5
| | | | | | 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.
* Fixed #1369 - the init service provider now supports HP-UX.Luke Kanies2008-06-161-0/+2
| | | | | | I've only added an integration test for the provider, since that's all I've changed; none of the service providers have rspec tests yet.
* Adds support for keepconfig for the dpkg provider fixes #234James Turnbull2008-06-151-1/+16
|
* Removed the unless condition in query, because the issue is a stale cachedAndrew Shafer2008-06-141-12/+13
| | | | | | | | | | | | | | value and added comments that query will now always do so. The query method is only called in two places, from inside 'install' in yum.rb and from inside 'uninstall' in rpm. This behavior only happens when you have a lower version than the one you are 'ensuring'. Since the right package actually gets installed, the system is in sync next time, but the event of installation is lost and subscribing resources will never get it.
* Moving the majority of the pkgdmg docs to the wiki, fixing #1264.Luke Kanies2008-05-261-60/+1
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Merge branch 'ldap_fixes' into 0.24.xLuke Kanies2008-05-214-26/+35
|\ | | | | | | | | | | Conflicts: CHANGELOG
| * The ldap user/group providers now work when no users/groups are in ldap yet.Luke Kanies2008-05-212-12/+16
| | | | | | | | | | 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-202-12/+17
| | | | | | | | | | | | 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-202-2/+2
| |
* | Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-208-70/+172
|\| | | | | | | | | | | Conflicts: CHANGELOG
| * Refactoring how the provider confine tests work, again.Luke Kanies2008-05-198-70/+172
| | | | | | | | | | | | | | | | | | | | 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).
* | Fix for latest method in rpm provider (fixes #1224)James Turnbull2008-05-161-1/+1
| |
* | Crontab provider: fix a parse error when a line begins with a space characterJames Turnbull2008-05-161-1/+1
| | | | | | | | | | | | Tests for Bug #1216 Updated CHANGELOG
* | Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-163-0/+157
|\|
| * Moving all confine code out of the Provider class, and fixing #1197.Luke Kanies2008-05-153-37/+77
| | | | | | | | | | | | | | | | | | 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/+117
| |
* | Fix for #1219James Turnbull2008-05-151-3/+1
|/ | | | | | | | | | | Instead of deleting the init scripts (with --del) we should simply disable it with chkconfig service off, and respectfully do the same for enable => true; Updated CHANGELOG Fix for #1219. Instead of deleting the init scripts (with --del) we should simply disable it with chkconfig service off, and respectfully do the same for enable => true;
* Merge commit 'ctrlaltdel/ssh-authorized-key' into 0.24.xLuke Kanies2008-05-141-2/+1
|\
| * Cosmetic fixFrancois Deppierraz2008-05-091-2/+1
| |
* | Merge branch 'authorized_keys' into 0.24.xLuke Kanies2008-05-121-0/+50
|\|
| * New native ssh_authorized_key typeFrancois Deppierraz2008-05-071-0/+50
| |
* | Adding ldap providers for the user and group type.Luke Kanies2008-05-123-0/+289
| | | | | | | | | | | | These providers use posixAccount and posixGroup. This is a collapsed merge, fwiw.
* | Applying patch by martin to fix #1207.Luke Kanies2008-05-121-1/+1
| | | | | | | | The -o flag is now only used when the uid is being changed.
* | Fix for urpmi provider that fixes #1217James Turnbull2008-05-111-3/+3
|/
* Fixed #1196 - added /sbin/service support for the redhat service provider + ↵James Turnbull2008-04-243-11/+28
| | | | some doco fixes
* Pushed patch for ticket #1191 - adding globbing support to ports providerJames Turnbull2008-04-191-1/+6
|
* Pushed patch for ticket #1187 - freebsd pkg_add supportJames Turnbull2008-04-191-4/+15
|
* Fixes debian service enabled/disable issue as detailed in #1161.James Turnbull2008-04-031-1/+1
|
* Pass source to pkg_add via the PKG_PATH environment variable ifRyan McBride2008-03-251-1/+9
|
* Applying patch by Ryan McBride to fix OpenBSD packageLuke Kanies2008-03-231-1/+1
| | | | matching. The actual problem was caused by the fix to #1001.
* Found all instances of methods where split() is used withoutLuke Kanies2008-03-212-2/+6
| | | | | | | | | | any local variables and added a local variable -- see http://snurl.com/21zf8. My own testing showed that this caused memory growth to level off at a reasonable level. Note that the link above says the problem is only with class methods, but my own testing showed that it's any method that meets these criteria. This is not a functional change, but should hopefully be the last nail in the coffin of #1131.
* Fixed ports documentation errorJames Turnbull2008-03-201-2/+1
|
* Added more detail about the requirement for ruby-libshadow for useradd ↵James Turnbull2008-03-201-1/+1
| | | | password management
* Fixing the service-stop on debian, using the patch provided by DavidSLuke Kanies2008-03-131-2/+1
|