summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
* | | Fix bug in test, add more specs and small refactorAndrew Shafer2008-06-141-3/+12
| |/ |/| | | | | | | | | | | The tests were failing when run on a machine with certs on the file system Stub out failure to read where appropriate Worked fine at my desk :(
* | Fixing #1362 -- I had previously removed a stub point needed for testing.Luke Kanies2008-06-131-1/+7
| | | | | | | | | | | | | | There was a save_object method in the http/handler module, but it seemed unnecessary and was undocumented. I don't know I missed it causing failures, but I've added it back with appropriate documention.
* | Replacing all two-space indents with four-spaceLuke Kanies2008-06-132-15/+15
|/
* Merge branch 'ticket/0.24.x/1359' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-132-1/+2
|\
| * Fixing how the Indirector::Request sets its options.Luke Kanies2008-06-111-0/+1
| | | | | | | | | | | | I wasn't testing whether the options where still a hash, and an 'inject' loop wasn't returning correctly, so the options weren't being set correctly.
| * Fixing how the indirection tests for whether the request has node info.Luke Kanies2008-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | My request authorization code changed the request to set its 'node' instance variable, rather than using its options, and I apparently didn't change the Indirection class to do this. I have *no* idea how these tests were passing before -- they passed for me yesterday but failed for Andrew, and today they started failing for me. Frightening.
* | Try againAndrew Shafer2008-06-101-0/+68
|/ | | | | | Add the class to handle certs, specs and modify puppetd should fix 1190, 1199, 1200
* Merge branch 'feature/authenticated_rest_requests' of ↵James Turnbull2008-06-104-64/+116
|\ | | | | | | git://github.com/lak/puppet into 0.24.x
| * The mongrel and webrick REST handlers now extract certificate information.Luke Kanies2008-06-093-60/+96
| | | | | | | | | | | | | | | | | | | | | | All requests should now have an ipaddress add to them, they should always be marked authenticated or not, and they should have the certificate name set as their 'node' if a certificate is present. They both use the same methods they use for xmlrpc, although there's no common code, to facilitate deprecation of xmlrpc.
| * Adding to the indirection request support for authentication information.Luke Kanies2008-06-091-4/+20
| | | | | | | | | | | | | | | | | | This basically consists of the node name (i.e., the certificate name), the IP, and whether the request is authenticated (which is determined by whether it provided a valid certificate). Now the two REST classes (mongrel and webrick) need to correctly pass this information to the indirection calls they make.
* | Applying the fixes recommended by David Schmitt to the inline documentation ofLuke Kanies2008-06-091-4/+4
| | | | | | | | the ResourceTemplate class.