summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
| | * 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>
* | Merge branch '0.24.x'Luke Kanies2008-07-0424-697/+191
|\| | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/util/settings.rb spec/integration/defaults.rb spec/unit/node/catalog.rb spec/unit/type/interface.rb spec/unit/type/ssh_authorized_key.rb
| * Merge branch 'refactor/0.24.x/transaction_changes' of ↵James Turnbull2008-07-0510-190/+125
| |\ | | | | | | | | | git://github.com/lak/puppet into 0.24.x
| | * Testing and simplifying the Transaction::Change#backward method.Luke Kanies2008-07-041-14/+5
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| | * Removing the Transaction::Change#transaction accessor.Luke Kanies2008-07-042-14/+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-044-23/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 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 the new-form version of #1382.Luke Kanies2008-07-021-1/+25
| | | | | | | | | | | | It only works when finding certificates, but that should be sufficient.
* | | Merge branch '0.24.x'Luke Kanies2008-07-021-2/+22
|\| |
| * | 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.
* | | Merge branch '0.24.x'Luke Kanies2008-07-0213-110/+223
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/unit/node/catalog.rb spec/unit/type/package.rb spec/unit/type/schedule.rb spec/unit/type/service.rb spec/unit/util/settings.rb
| * | 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-161-0/+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 '0.24.x'Luke Kanies2008-06-161-2/+6
|\| | | | | | | | | | | | | | | Conflicts: CHANGELOG lib/puppet/defaults.rb spec/integration/defaults.rb