summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Testing and simplifying the Transaction::Change#backward method.Luke Kanies2008-07-042-14/+36
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Removing the Transaction::Change#transaction accessor.Luke Kanies2008-07-043-19/+2
| | | | | | | As with Events, this was never used (beyond being assigned), so I've gotten rid of it. Signed-off-by: Luke Kanies <luke@madstop.com>
* Refactoring the Transaction::Event class.Luke Kanies2008-07-049-49/+23
| | | | | | | | | | | The class had a 'transaction' accessor that was assigned but never used, and it is simple enough that it needed direct arguments rather than named arguments. The rest of the code is changing the other classes that use Events. Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding tests for the Transaction::Event classLuke Kanies2008-07-041-0/+37
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding tests to the Transaction::Change class.Luke Kanies2008-07-043-175/+175
| | | | | | | 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-037-38/+33
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Renaming the Puppet::PropertyChange class to Puppet::Transaction::Change.Luke Kanies2008-07-038-149/+139
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Add a missing test for exercising the last untested line of ↵Francois Deppierraz2008-07-031-0/+10
| | | | lib/puppet/type/ssh_authorized_key.rb
* 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-033-23/+88
|\ | | | | | | into 0.24.x
| * Use generate instead of autorequire in the ssh_authorized_key type based on ↵Francois Deppierraz2008-07-022-11/+22
| | | | | | | | Luke's comments
| * ssh_authorized_key: autorequire, default permissions and cleanupFrancois Deppierraz2008-06-273-22/+76
| | | | | | | | | | | | | | | | | | | | 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-032-14/+37
|\ \
| * | Fixing the ldap node terminus to merge facts with the right name.Luke Kanies2008-07-022-14/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-022-0/+6
|/ / | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch 'trivial/0.24.x/ldapnodes' of git://github.com/lak/puppet into ↵James Turnbull2008-07-031-10/+3
|\ \ | | | | | | | | | 0.24.x
| * | Fixing the ldap node integration test so it cleans upLuke Kanies2008-07-021-10/+3
| | |
* | | Fixing #1382 - existing uppercase certs, keys, et al will be renamed.Luke Kanies2008-07-022-3/+41
|/ / | | | | | | This correctly renames the files and they still get read in.
* | Fixed #1006 - puppetrun --class works again. I added the classLuke Kanies2008-07-012-43/+9
| | | | | | | | membership testing to the Ldap node terminus, and added tests,
* | Fixing the Node::Ldap.search method to use an indirection request.Luke Kanies2008-07-013-8/+34
| | | | | | | | | | | | 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-012-111/+94
| | | | | | | | | | 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-014-295/+333
| | | | | | | | | | 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-012-0/+55
| | | | | | | | | | This just returns a Connection instance with the default ldap configuration information already provided.
* | Merge branch 'tickets/0.24.x/1388' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-021-6/+4
|\ \
| * | Fixing #1388 - the package test no longer uses 'require'.Luke Kanies2008-07-011-6/+4
| | |
* | | Fixed #1114 - Facts in plugin directories should now be autoloaded,Luke Kanies2008-07-013-26/+30
|/ / | | | | | | as long as you're using Facter 1.5.
* | Merge branch 'tickets/0.24.x/1374' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-184-113/+105
|\ \
| * | Fixing #1374 - Using Puppet::Type.type() in testsLuke Kanies2008-06-174-113/+105
| |/
* / Fixes #1195 - Updated Gentoo init scriptsJames Turnbull2008-06-173-35/+37
|/
* Fixed #707 - special '@reboot'-style cron jobs work again.Luke Kanies2008-06-173-5/+12
|
* Merge branch 'tickets/0.24.x/1012' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-173-4/+19
|\ | | | | | | | | | | Conflicts: CHANGELOG
| * Fixed #1012 - templates in the templatedir are preferred to module templates.Luke Kanies2008-06-163-3/+18
| |
* | Merge branch 'tickets/0.24.x/1221' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-173-4/+16
|\ \ | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| * | Fixed #1221 - aliases to titles now work for resources.Luke Kanies2008-06-163-4/+16
| |/
* | Merge branch 'tickets/0.24.x/1371' into 0.24.xJames Turnbull2008-06-171-1/+1
|\ \
| * | Fixed #1371 - Updated bin/puppet to use Node.findJames Turnbull2008-06-171-1/+1
| | |
* | | Updated CHANGELOG for two missed commitsJames Turnbull2008-06-171-0/+4
| |/ |/|
* | Merge branch 'tickets/0.24.x/1370' into 0.24.xJames Turnbull2008-06-171-121/+0
|\ \
| * | Removed test/util/loadedfile.rb tests which fixes #1370James Turnbull2008-06-171-121/+0
| |/
* / Fixed #1360 -- allowdupe works with groups again.Luke Kanies2008-06-167-9/+69
|/ | | | | | 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-173-0/+37
|\
| * Fixed #1369 - the init service provider now supports HP-UX.Luke Kanies2008-06-163-0/+37
| | | | | | | | | | | | 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-167-636/+771
|/ | | | | | | | | | | | | | | 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-163-4/+21
|\ | | | | | | | | | | Conflicts: CHANGELOG
| * Fixing #1168 (for 0.24.x) -- automatically downcasing the fqdn.Luke Kanies2008-06-153-3/+18
| | | | | | | | | | | | Also requiring that passed in certnames be downcased; the setting system isn't currently flexible enough to automatically downcase it for the user.
* | Updated Rakefile fixes #1367James Turnbull2008-06-161-1/+1
| |
* | Merge branch 'tickets/0.24.x/1201' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-163-0/+15
|\ \ | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| * | Fixed #1201 - all external node attributes are converted to strings.Luke Kanies2008-06-153-0/+15
| |/