summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * Adding tests to the Transaction::Change class.Luke Kanies2008-07-041-35/+19
| | | | | | | | | | | | | | There's a small amount of refactoring here, mostly removing code that appears to not be used at all. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Renaming Puppet::Event to Puppet::Transaction::EventLuke Kanies2008-07-034-31/+26
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Renaming the Puppet::PropertyChange class to Puppet::Transaction::Change.Luke Kanies2008-07-037-147/+137
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch 'tickets/0.24.x/1231' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-051-2/+4
|\ \
| * | Fixed #1231 - Exceptions during startup should now be clear.Luke Kanies2008-07-041-2/+4
| |/ | | | | | | | | | | | | This will often result in duplicate information, but at least the information will now always be there. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch 'ticket/0.24.x/1067' of git://github.com/littleidea/puppet into ↵James Turnbull2008-07-052-18/+7
|\ \ | | | | | | | | | 0.24.x
| * | file object creation should fail if source is not presentAndrew Shafer2008-07-042-18/+7
| |/ | | | | | | | | | | removed described? logic from insync? in ensure.rb and source.rb raise in source#retrieve if the source is not found
* | Removed debugging from lib/puppet/util/ldap/connection.rbJames Turnbull2008-07-041-1/+0
| |
* | Merge branch 'tickets/0.24.x/1232' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-042-4/+5
|\ \
| * | Fixed #1232 - the rundir no longer specifies a user/group,Luke Kanies2008-07-032-4/+5
| |/ | | | | | | | | | | and there are now client- and server-specific yaml directories. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Removing all of the code related to the interface type.Luke Kanies2008-07-033-454/+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>
* Minor documentation updates for ssh_authorized_key typeJames Turnbull2008-07-031-7/+7
|
* Merge branch 'tickets/0.24.x/1384' of git://github.com/ctrlaltdel/puppet ↵James Turnbull2008-07-032-16/+36
|\ | | | | | | into 0.24.x
| * Use generate instead of autorequire in the ssh_authorized_key type based on ↵Francois Deppierraz2008-07-021-3/+3
| | | | | | | | Luke's comments
| * ssh_authorized_key: autorequire, default permissions and cleanupFrancois Deppierraz2008-06-272-16/+36
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'tickets/0.24.x/1390' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-031-11/+4
|\ \
| * | Fixing the ldap node terminus to merge facts with the right name.Luke Kanies2008-07-021-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, I was merging early and changing the name later. This commit fixes it so that the node is created with the right name in the first place, so the node.fact_merge actually works. Yay for real-world testing. Signed-off-by: Luke Kanies <luke@madstop.com>
* | | Merge branch 'trivial/0.24.x/nodes' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-031-0/+2
|\ \ \ | |/ / |/| |
| * | Adding logging when a node's facts can't be foundLuke Kanies2008-07-021-0/+2
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | Backporting a test that was failing in master, and fixing itLuke Kanies2008-07-021-0/+1
|/ / | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing #1382 - existing uppercase certs, keys, et al will be renamed.Luke Kanies2008-07-021-2/+22
| | | | | | | | This correctly renames the files and they still get read in.
* | Fixing the Node::Ldap.search method to use an indirection request.Luke Kanies2008-07-011-2/+2
| | | | | | | | | | | | I foolishly was just using the old-style api. Added an integration test to catch this in the future.
* | Switching the ldap terminus to use Util::Ldap::Connection.Luke Kanies2008-07-011-14/+5
| | | | | | | | | | This is a simplified class for managing ldap connections, and this work just removes some duplication.
* | Added a 'search' method to the ldap node terminus.Luke Kanies2008-07-012-64/+107
| | | | | | | | | | This makes it easy to find multiple nodes in ldap, and was done so it can be used by puppetrun.
* | Adding an 'instance' class method to ldap connections.Luke Kanies2008-07-011-0/+13
| | | | | | | | | | This just returns a Connection instance with the default ldap configuration information already provided.
* | Fixed #1114 - Facts in plugin directories should now be autoloaded,Luke Kanies2008-07-011-20/+17
|/ | | | as long as you're using Facter 1.5.
* Fixed #707 - special '@reboot'-style cron jobs work again.Luke Kanies2008-06-171-1/+5
|
* Merge branch 'tickets/0.24.x/1012' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-171-1/+5
|\ | | | | | | | | | | Conflicts: CHANGELOG
| * Fixed #1012 - templates in the templatedir are preferred to module templates.Luke Kanies2008-06-161-1/+5
| |
* | Fixed #1221 - aliases to titles now work for resources.Luke Kanies2008-06-161-1/+6
|/
* 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.
* Merge branch 'tickets/0.24.x/1369' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-171-0/+2
|\
| * 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.
* | issue 1183Andrew Shafer2008-06-162-43/+58
|/ | | | | | | | | | | | | | | Added environment awareness to --configprint Pulled the logic for --configprint --genconfig and --genmanifest out of puppet.rb Put the logic in lib/puppet/util/settings.rb and refactored it a bit Added specs for the behavior Reformated the whole spec file to use nested describe Added the new method to the executables The old behavior should be preserved, except for the env is now used
* Merge branch 'tickets/0.24.x/1168' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-161-2/+6
|\ | | | | | | | | | | Conflicts: CHANGELOG
| * Fixing #1168 (for 0.24.x) -- automatically downcasing the fqdn.Luke Kanies2008-06-151-2/+6
| | | | | | | | | | | | Also requiring that passed in certnames be downcased; the setting system isn't currently flexible enough to automatically downcase it for the user.
* | Merge branch 'tickets/0.24.x/1201' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-161-0/+7
|\ \ | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| * | Fixed #1201 - all external node attributes are converted to strings.Luke Kanies2008-06-151-0/+7
| |/
* | Merge branch 'tickets/0.24.x/1178' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-164-135/+119
|\ \
| * | Removing the Node.find_by_name method.Luke Kanies2008-06-152-8/+1
| | | | | | | | | | | | | | | We just use the regular Node.find method now, since the nodes don't need to do any magical naming.
| * | The LDAP Node terminus now searches for the fqdn, short name, and default.Luke Kanies2008-06-152-14/+32
| | | | | | | | | | | | | | | | | | This provides something like the multiple name scenario previously used by the parser but now implemented in each terminus.
| * | Refactoring the 'find' method a bit in the LDAP Node terminus.Luke Kanies2008-06-151-45/+57
| | | | | | | | | | | | | | | This just splits the method into smaller pieces, so it's a bit easier to maintain.
| * | Removing the now-obsolete Node.node_facts method.Luke Kanies2008-06-151-13/+0
| | |
| * | Converting the Node.node_names class method into an instance method.Luke Kanies2008-06-151-63/+37
| |/ | | | | | | | | | | | | | | This effectively removes the ability to search node termini for multiple names; only the parser will use these names. Temporarily retaining the 'find_by_any_name' method; it will be removed in a later commit.
* | Adds support for keepconfig for the dpkg provider fixes #234James Turnbull2008-06-151-1/+16
| |
* | Merge branch 'ticket/0.24.x/1243' of git://github.com/littleidea/puppet into ↵James Turnbull2008-06-151-12/+13
|\ \ | |/ |/| | | 0.24.x
| * 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.
* | Merge branch 'ticket/0.24.x/1215' of git://github.com/littleidea/puppet into ↵James Turnbull2008-06-151-17/+2
|\ \ | | | | | | | | | 0.24.x
| * | Issue 1215Andrew Shafer2008-06-131-17/+2
| | | | | | | | | | | | | | | | | | Removed logic to reuse parser and log on server when there is a parsing error. Now we just make a new parser and if there is an error, raise it up, which will result in errors on the client logs.