summaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Added a 'search' method to the ldap node terminus.Luke Kanies2008-07-012-231/+226
| | | | | | | | | | | | | | | 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/+42
| | | | | | | | | | | | | | | This just returns a Connection instance with the default ldap configuration information already provided.
| * | Fixing #1388 - the package test no longer uses 'require'.Luke Kanies2008-07-011-6/+4
| | |
| * | Fixing #1374 - Using Puppet::Type.type() in testsLuke Kanies2008-06-174-113/+105
| |/
| * Merge branch 'tickets/0.24.x/1012' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-171-2/+11
| |\ | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| | * Fixed #1012 - templates in the templatedir are preferred to module templates.Luke Kanies2008-06-161-2/+11
| | |
| * | Fixed #1221 - aliases to titles now work for resources.Luke Kanies2008-06-161-3/+8
| |/
| * 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 'tickets/0.24.x/1369' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-171-0/+32
| |\
| | * Fixed #1369 - the init service provider now supports HP-UX.Luke Kanies2008-06-161-0/+32
| | | | | | | | | | | | | | | | | | 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-161-585/+701
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 '0.24.x'Luke Kanies2008-06-161-2/+8
|\| | | | | | | | | | | | | | | Conflicts: CHANGELOG lib/puppet/defaults.rb spec/integration/defaults.rb
| * Merge branch 'tickets/0.24.x/1168' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-161-1/+7
| |\ | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| | * Fixing #1168 (for 0.24.x) -- automatically downcasing the fqdn.Luke Kanies2008-06-151-1/+7
| | | | | | | | | | | | | | | | | | 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 '0.24.x'Luke Kanies2008-06-154-81/+45
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG Finally adding release names to the changelog so we can keep the changes aligned in the right part of the log.
| * | Merge branch 'tickets/0.24.x/1201' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-161-0/+6
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| | * | Fixed #1201 - all external node attributes are converted to strings.Luke Kanies2008-06-151-0/+6
| | |/
| * | Removing the Node.find_by_name method.Luke Kanies2008-06-151-15/+7
| | | | | | | | | | | | | | | 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-151-1/+19
| | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | | | | This just splits the method into smaller pieces, so it's a bit easier to maintain.
| * | Converting the Node.node_names class method into an instance method.Luke Kanies2008-06-151-57/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Removing an obsolete, unimplemented testLuke Kanies2008-06-151-7/+0
| |/
* | Fixing #1168 for REST -- all ssl classes downcase their names.Luke Kanies2008-06-154-0/+21
| | | | | | | | This is a much cleaner fix than the xmlrpc version, thankfully. :)
* | Merge branch '0.24.x'Luke Kanies2008-06-142-47/+73
|\| | | | | | | | | | | | | Conflicts: lib/puppet/executables/client/certhandler.rb spec/unit/executables/client/certhandler.rb
| * Merge branch 'ticket/0.24.x/1215' of git://github.com/littleidea/puppet into ↵James Turnbull2008-06-151-24/+3
| |\ | | | | | | | | | 0.24.x
| | * Issue 1215Andrew Shafer2008-06-131-24/+3
| | | | | | | | | | | | | | | | | | 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-32/+74
| | | | | | | | | | | | | | | | | | | | | 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 :(
* | | Merge branch '0.24.x'Luke Kanies2008-06-1422-237/+602
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added the fixes to make the certhandler tests pass even when certs exist; I'll deal with the conflict later. Conflicts: CHANGELOG bin/puppetd lib/puppet/network/http/handler.rb lib/puppet/network/http/mongrel/rest.rb spec/integration/indirector/rest.rb spec/integration/network/server/mongrel.rb spec/integration/network/server/webrick.rb spec/unit/network/http/webrick.rb
| * | Adding another note about the save_object stub.Luke Kanies2008-06-131-0/+3
| | |
| * | Removing a duplicate call left over from debuggingLuke Kanies2008-06-131-1/+0
| | |
| * | Replacing all two-space indents with four-spaceLuke Kanies2008-06-137-538/+538
| | |
| * | Adding ruby interpreter lines to the tests missing them.Luke Kanies2008-06-135-2/+12
| | |
| * | Adding execute bits to every test currently missing them.Luke Kanies2008-06-1313-0/+0
| |/
| * Merge branch 'ticket/0.24.x/1359' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-132-4/+12
| |\
| | * Fixing how the Indirector::Request sets its options.Luke Kanies2008-06-111-0/+8
| | | | | | | | | | | | | | | | | | 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-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Change description of spec to make baby jesus happyAndrew Shafer2008-06-101-2/+2
| | | | | | | | | | | | FAIL
| * | Try againAndrew Shafer2008-06-101-0/+80
| |/ | | | | | | | | | | 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-103-93/+260
| |\ | | | | | | | | | git://github.com/lak/puppet into 0.24.x
| | * The mongrel and webrick REST handlers now extract certificate information.Luke Kanies2008-06-092-93/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Adding a class for using templates directly within resourcesLuke Kanies2008-06-091-0/+58
| |/ | | | | | | | | | | (i.e., client-side templates). This would really only be used for composite resources that pass the results of the template on to generated resources.
| * Fixing #1242 -- lack of storeconfigs only produces warning, not exception.Luke Kanies2008-05-261-0/+9
| | | | | | | | | | Exporting or collecting resources no longer raises an exception when no storeconfigs is enabled, it just produces a warning.
| * Always using the cert name to store yaml files, which fixes #1178.Luke Kanies2008-05-261-44/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Master handler previously provided the support for the :node_name setting, and that functionality has now been moved into the Node class. At the same time, the names to search through have been changed somewhat: Previously, the certificate name and the hostname were both used for searching, but now, the cert name is always searched first (unless node_name == facter), but only the Facter hostname, domain, and fqdn are used otherwise. We no longer split the cert name, only the hostname/domain/fqdn. In the general case, this provides no behaviour change, because people's hostname is the same as their certname. This only results in a change in behaviour if you specify a certificate name that is a normal node name, and you want to look that node up by something other than the full name in the certificate. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing #1258 -- Removing a Rails idiom.Luke Kanies2008-05-251-2/+2
| | | | | | | | | | | | This idiom is only functional when you have Rails loaded, which is why it was failing for others but not me.
* | Fixing #1256 -- CA tests now work with no ~/.puppet.Luke Kanies2008-05-252-21/+23
| | | | | | | | | | I've set the default cadir and vardir to /dev/null, to hopefully catch this kind of test sooner next time.
* | Fixing another failing test -- the new CA tests correctly clear the cache.Luke Kanies2008-05-251-1/+2
| | | | | | | | | | I was previously not clearing the cache using the Cacher.invalidate method, which caused a test to fail.
* | Fixing #1245 -- ssh_authorized_keys tests work in master.Luke Kanies2008-05-251-2/+0
| | | | | | | | I just had to remove the '.clear' call.
* | Merge branch '0.24.x'Luke Kanies2008-05-2512-35/+148
|\| | | | | | | | | | | | | Conflicts: CHANGELOG lib/puppet/transaction.rb
| * Fixing an inaccurate test so the tests will run correctly in all branches.Paul Lathrop2008-05-231-3/+1
| |