summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | pkgutil provider: The path to the admin file is /var/opt/csw/pkgutil/adminMaciej Blizinski2010-07-221-3/+3
| | | | | | | |
| | * | | | | | pkgutil provider: Correcting a typo in a message.Maciej Blizinski2010-07-221-1/+1
| | | | | | | |
| | * | | | | | Merge branch 'tickets/master/4258' of http://github.com/jamtur01/puppet into ↵Maciej Blizinski2010-07-221-0/+117
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | jamtur-pkgutil
| | | * | | | | | Fixed #4258 - Added pkgutil package providerJames Turnbull2010-07-171-0/+117
| | | | | | | | |
| * | | | | | | | Using --single in the pkgutil provider.Maciej Blizinski2010-07-221-1/+4
| | | | | | | | |
| * | | | | | | | Adding pkgutil support.Maciej Blizinski2010-07-221-0/+111
| |/ / / / / / /
* | | | | | | | Updated CHANGELOG & version for 2.7.0rc1Max Martin2011-04-132-1/+507
| | | | | | | |
* | | | | | | | Merge branch 'next'Max Martin2011-04-13632-4534/+7639
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * next: (204 commits) Revert "(#6928) Removed --ignoreimport" Updated CHANGELOG for 2.6.8rc1 (#6928) Removed --ignoreimport (#6928) Remove --parseonly (#6928) Add a Parser face with Validate action (#6830) Fix sha1 to digest/sha1 require issue for Ruby 1.9 (#6830) Fix UTF-8 encoding issue for Ruby 1.9 (#6830) Fix string method sub call on a symbol for Ruby 1.9 (#2331) Remove darwinports pkg provider, replace with rewritten macports provider (#7059) handle inherited action binding scope maint: ensure we handle '-foo=' options correctly in faces. (#2150) Fix File const lookup when configuring routes Fixed #7082 - Added system support for groups maint: install erb templates under lib/ maint: clean up the spec test headers in bulk. (#7056) Use 'face' rather than 'faces' in the production code. maint: eliminate deprecated since 2008 code from Puppet. (#6117) Add POST support to indirector requests (#6962) Move option handling into #parse_options, not #preinit. maint: whitespace cleanup for puppet/util/command_line. ...
| * | | | | | | Merge branch '2.6.x' into nextMax Martin2011-04-1312-16/+334
| |\ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.6.x: Updated CHANGELOG for 2.6.8rc1 (#2331) Remove darwinports pkg provider, replace with rewritten macports provider Fixed #7082 - Added system support for groups (#7018) Give more context on the service type's assumptions. Wording tweaks. (#7018) explain internals better in service provider documentation maint: Fix sqlite3 require to really be optional maint: Fix sporadic sqlite error (#6818) Stop from getting Rails 3 named_scope deprecation warning (#6856) Copy dangling symlinks with 'links => manage' File resource. Conflicts (Resolved manually): lib/puppet/type/group.rb spec/unit/indirector/facts/inventory_active_record_spec.rb
| | * | | | | | Updated CHANGELOG for 2.6.8rc1Max Martin2011-04-132-1/+47
| | | | | | | |
| | * | | | | | Merge branch '2.6.next' into 2.6.xMax Martin2011-04-1312-101/+292
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.6.next: (#2331) Remove darwinports pkg provider, replace with rewritten macports provider Fixed #7082 - Added system support for groups (#7018) Give more context on the service type's assumptions. Wording tweaks. (#7018) explain internals better in service provider documentation maint: Fix sqlite3 require to really be optional maint: Fix sporadic sqlite error (#6818) Stop from getting Rails 3 named_scope deprecation warning (#6856) Copy dangling symlinks with 'links => manage' File resource.
| | | * \ \ \ \ \ Merge branch 'ticket/2.6.x/7082' into 2.6.nextNick Lewis2011-04-134-3/+33
| | | |\ \ \ \ \ \
| | | | * | | | | | Fixed #7082 - Added system support for groupsJames Turnbull2011-04-144-3/+33
| | | |/ / / / / / | | |/| | | | | |
| | | * | | | | | Merge branch 'tickets/2.6.x/2331-macports-provider' into 2.6.nextNigel Kersten2011-04-133-86/+228
| | | |\ \ \ \ \ \
| | | | * | | | | | (#2331) Remove darwinports pkg provider, replace with rewritten macports ↵Nigel Kersten2011-04-133-86/+228
| | | |/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | provider * Employs port -q installed, much faster than port list installed * Handles upgrades correctly now * Makes use of internal port revision for ensure => latest upgrades * Versionable, now works with ensure => specified_version * Does not handle port variants at all yet. * Does not allow manual specification of revision, only version * Test coverage expanded using newer syntax Paired-With: Daniel Pittman
| | | * | | | | | Merge branch 'ticket/2.6.next/7018-clarify_service_type_behavior' into 2.6.nextnfagerlund2011-04-111-11/+19
| | | |\ \ \ \ \ \
| | | | * | | | | | (#7018) Give more context on the service type's assumptions. Wording tweaks.nfagerlund2011-04-111-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring the @doc string for clarity.
| | | | * | | | | | (#7018) explain internals better in service provider documentationBen Hughes2011-04-111-1/+4
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add explicit reasoning for hasstatus in the documentation with certain "virtual" services. Just to clear up why notify => Service["something_virtual"] requires hasstatus defining for it to function.
| | | * | | | | | Merge branch 'ticket/2.6.next/maint-fix_sqlite_test' into 2.6.nextMatt Robinson2011-04-111-1/+5
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/2.6.next/maint-fix_sqlite_test: maint: Fix sqlite3 require to really be optional maint: Fix sporadic sqlite error
| | | | * | | | | | maint: Fix sqlite3 require to really be optionalMatt Robinson2011-04-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You need to specifically rescue LoadError if you want requires to be optional. Paired-with: Nick Lewis
| | | | * | | | | | maint: Fix sporadic sqlite errorMatt Robinson2011-04-111-0/+1
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActiveRecord::StatementInvalid: SQLite3::IOException: disk I/O error This happened if you ran these tests in the following order since Rails wasn't disconnecting between tests. rspec spec/unit/indirector/facts/inventory_active_record_spec.rb spec/unit/indirector/node/active_record_spec.rb Paired-with: Nick Lewis <nick@puppetlabs.com>
| | | * | | | | | Merge branch 'ticket/2.6.next/6818-named_scope_deprecation' into 2.6.nextMatt Robinson2011-04-111-0/+5
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/2.6.next/6818-named_scope_deprecation: (#6818) Stop from getting Rails 3 named_scope deprecation warning
| | | | * | | | | | (#6818) Stop from getting Rails 3 named_scope deprecation warningMatt Robinson2011-04-111-0/+5
| | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want our Rails models in Puppet to work under Rails 2 or 3, but we don't want the deprecation warnings since we can't control what version of Rails the client is running. DEPRECATION WARNING: Base.named_scope has been deprecated, please use Base.scope instead Reviewed-by: Nick Lewis <nick@puppetlabs.com>
| | | * | | | | | Merge branch 'ticket/2.6.next/6856-dangling-symlinks' into 2.6.nextMax Martin2011-04-082-0/+2
| | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/2.6.next/6856-dangling-symlinks: (#6856) Copy dangling symlinks with 'links => manage' File resource.
| | | * | | | | | (#6856) Copy dangling symlinks with 'links => manage' File resource.Max Martin2011-04-082-0/+2
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When copying symlinks with 'links => manage', there is no need to examine the content of the link target, since the link is supposed to be copied as-is. Skip copying this value to the resource from the metadata (source), since the content will be nil in the dangling symlink case. Paired-with: Jacob Helwig
| * | | | | | | Merge branch 'ticket/next/6928' into nextNick Lewis2011-04-1311-12/+49
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | |
| | * | | | | | Revert "(#6928) Removed --ignoreimport"Nick Lewis2011-04-1311-12/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 24a277c5e805ce16e0b86e17e6cb2fbe1945ae07. Despite not needing --ignoreimport as an option anymore, it's still used internally and has to stay.
| * | | | | | | Merge branch 'ticket/next/6928' into nextNick Lewis2011-04-1323-184/+116
| |\| | | | | |
| | * | | | | | (#6928) Removed --ignoreimportNick Lewis2011-04-1311-49/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was only used with --parseonly, which is gone. Paired-With: Jesse Wolfe
| | * | | | | | (#6928) Remove --parseonlyNick Lewis2011-04-1312-137/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has been removed in favor of 'puppet parser validate <manifest>'. Paired-With: Jesse Wolfe
| | * | | | | | (#6928) Add a Parser face with Validate actionNick Lewis2011-04-134-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will accept a number of manifests as arguments and check their syntax. If no filenames are specified, it will check the default 'manifest' setting. Paired-With: Jesse Wolfe
| * | | | | | | Merge branch 'ticket/next/6830-more_ruby19_fixes' into nextMatt Robinson2011-04-134-6/+7
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/next/6830-more_ruby19_fixes: (#6830) Fix sha1 to digest/sha1 require issue for Ruby 1.9 (#6830) Fix UTF-8 encoding issue for Ruby 1.9 (#6830) Fix string method sub call on a symbol for Ruby 1.9
| | * | | | | | | (#6830) Fix sha1 to digest/sha1 require issue for Ruby 1.9Matt Robinson2011-04-132-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Daniel Pittman <daniel@puppetlabs.com>
| | * | | | | | | (#6830) Fix UTF-8 encoding issue for Ruby 1.9Matt Robinson2011-04-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you're going to use special characters in a file and use Ruby 1.9 you need to specify the character encoding at the top of the file. Reviewed-by: Daniel Pittman <daniel@puppetlabs.com>
| | * | | | | | | (#6830) Fix string method sub call on a symbol for Ruby 1.9Matt Robinson2011-04-131-1/+1
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby 1.9 is less forgiving about treating symbols like strings. Reviewed-by: Daniel Pittman <daniel@puppetlabs.com>
| * | | | | | | Merge branch ↵Daniel Pittman2011-04-134-4/+48
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | 'bug/next/7059-the-ca-location-option-does-not-work-for-inherited' into next
| | * | | | | | (#7059) handle inherited action binding scopeDaniel Pittman2011-04-133-3/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We implemented the naive version of inheritance in the faces, in which an action declared on a superclass remains bound to that even when accessed from a subclass. As a consequence our visibility of options on inherited classes is actually much more limited than it should be, and the actions we inherit would never see the options they should correctly have. To fix this we correct the binding bug and handle lookup correctly over inheritance in our code. Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>
| | * | | | | | maint: ensure we handle '-foo=' options correctly in faces.Daniel Pittman2011-04-131-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is legal, and defines an option with an argument for optparse; we want to make sure that we stay consistent with that in our code handling the same sort of inputs. This also adds a framework for later testing any other strange naming bits and bobs we find around option handling. Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>
| * | | | | | | Merge branch 'ticket/next/2150' into nextNick Lewis2011-04-131-1/+1
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| | * | | | | | (#2150) Fix File const lookup when configuring routesNick Lewis2011-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases, this was incorrectly finding the new Puppet::Application::File application rather than the top-level File class. Reviewed-By: Jesse Wolfe
| * | | | | | | maint: install erb templates under lib/Daniel Pittman2011-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now use a handful of erb templates to generate help, so it matters that we install them into the right destination. This extends install.rb to reflect that change.
| * | | | | | | Merge branch 'bug/next/7056-use-face-rather-than-faces' into nextDaniel Pittman2011-04-13523-1014/+639
| |\ \ \ \ \ \ \
| | * | | | | | | maint: clean up the spec test headers in bulk.Daniel Pittman2011-04-13468-815/+452
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now use a shebang of: #!/usr/bin/env rspec This enables the direct execution of spec tests again, which was lost earlier during the transition to more directly using the rspec2 runtime environment.
| | * | | | | | | (#7056) Use 'face' rather than 'faces' in the production code.Daniel Pittman2011-04-1370-199/+187
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After some discussion we decided that most uses of the Puppet Face infrastructure were about single faces on their own, not about the collection, and so we were better referring to Puppet::Face[...] in code. This implements that by translating names and references in the Ruby code to the new, s-less, name.
| * | | | | | | maint: eliminate deprecated since 2008 code from Puppet.Daniel Pittman2011-04-121-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We had some code that had been deprecated back in '08, and is unused in our code. For this next release that is past due to be removed from the product entirely. Reviewed-By: Luke Kaines <lak@puppetlabs.com>
| * | | | | | | Merge branch 'ticket/next/6117' into nextNick Lewis2011-04-124-9/+70
| |\ \ \ \ \ \ \
| | * | | | | | | (#6117) Add POST support to indirector requestsNick Lewis2011-04-124-9/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | POST with a singular indirection is turned into a find in the indirector. When making a large find request from a REST terminus, POST is used, and for small requests, GET is used for backward compatibility. Paired-With: Jesse Wolfe
| * | | | | | | | Merge branch ↵Daniel Pittman2011-04-1228-116/+453
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | 'feature/next/6962-self-documenting-strings-actions-and-options' into next
| | * | | | | | | (#6962) Move option handling into #parse_options, not #preinit.Daniel Pittman2011-04-125-50/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logically, the extra work around option parsing for faces belongs in the application parse_options method, not hidden in the step before. This commit moves that to the right place and fixes the fallout from that strange early design decision. Along the way we unify error reporting for invalid options so that all the code paths result in the same externally detected failures. Reviewed-By: Matt Robinson <matt@puppetlabs.com>
| | * | | | | | | maint: whitespace cleanup for puppet/util/command_line.Daniel Pittman2011-04-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings bracket spacing in line with our usual coding conventions. Reviewed-By: Matt Robinson <matt@puppetlabs.com>