Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Sep 9, 2011
  1. @haus

    Merge branch '2.7rc'

    haus authored
  2. @haus

    Updated CHANGELOG for 2.7.4rc1

    haus authored
  3. @haus
  4. @haus

    Merge branch '2.7rc' into 2.7.x

    haus authored
  5. @haus

    Merge branch '2.7.x' of github.com:puppetlabs/puppet into feature/mas…

    haus authored
    …ter/7999-systemd-services
  6. @haus

    Revert "Merge pull request #100 from glarizza/tickets/2.7.x/9192_laun…

    haus authored
    …chd_fix"
    
    This merge, along with the merge for pull #99 has 11 failing tests in
    spec/unit/provider/system/launchd_spec.rb, reverting commit/merge until
    resolved.
    
    This reverts commit 2828d22, reversing
    changes made to 74cffa0.
  7. @haus

    Revert "Merge pull request #99 from nigelkersten/tickets/2.7.x/9143-m…

    haus authored
    …ake-macauthorization-work-on-lion"
    
    This merge, along with the merge for pull #100 has 11 failing tests in
    spec/unit/provider/system/launchd_spec.rb, reverting commit/merge until
    resolved.
    
    This reverts commit 88f1ef5, reversing changes
    made to 2828d22.
  8. @nigelkersten

    Merge pull request #99 from nigelkersten/tickets/2.7.x/9143-make-maca…

    nigelkersten authored
    …uthorization-work-on-lion
    
    Tickets/2.7.x/9143 make macauthorization work on lion
  9. @nigelkersten

    Merge pull request #100 from glarizza/tickets/2.7.x/9192_launchd_fix

    nigelkersten authored
    Tickets/2.7.x/9192 launchd fix
  10. @glarizza

    Add comment explaining helper method

    glarizza authored
    This commit adds a comment explaining when plist overrides were
    enabled and why we added the has_macosx_plist_overrides? method.
Commits on Sep 8, 2011
  1. @nicklewis

    Merge pull request #98 from daniel-pittman/feature/2.7.x/9051-storeco…

    nicklewis authored
    …nfig-backend-should-be-configurable
    
    Feature/2.7.x/9051 storeconfig backend should be configurable
  2. @glarizza

    Add has_macosx_plist_overrides? method

    glarizza authored
    This commit adds the has_macosx_plist_overrides? method to determine
    whether we're on a version of OS X >= 10.6.  Plist handling changed
    as of version 10.6, and this method allows us to implement different
    plist behavior without needing to modify code whenever Apple releases
    a new version of OS X (assuming plist behavior doesn't change).
  3. @daniel-pittman

    Fix ActiveRecord handling of symbols in query interpolation.

    daniel-pittman authored
    Most versions of ActiveRecord, including the ones I test with, treat an
    interpolated symbol in an SQL query as a simple string, vis:
    
      ["example = ?", :banana] => "... WHERE example = 'banana' ..."
    
    Some versions, though, preserve the symbol-nature, and instead:
    
      ["example = ?", :banana] => "... WHERE example = ':banana' ..."
      # ...or some variant of that, where it isn't just the string.
    
    So, to avoid this confusion, manually stringify the symbol name of our
    resource type in the query builder.  This gives consistent and expected
    behaviour at all times.
    
    Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
  4. @nigelkersten

    Fixes #9143, allows macauthorization provider to work on OS X Lion 10.7

    nigelkersten authored
    We've flipped around the confine check so we explicitly exclude the
    versions of OS X where this provider won't work, rather than working
    from a whitelist.
  5. @daniel-pittman

    (#9051) Move complex collect expression error into terminus.

    daniel-pittman authored
    When the StoreConfig system was extracted from core to a set of termini, most
    of the rules about permitted syntax were pushed down into the same place, to
    allow them to also be replaced.
    
    One set of restrictions were missed, the limitation that complex search
    criteria (like and, or, or parenthetical expressions) were not permitted, and
    remained in our parser.
    
    Now, they live in the terminus, and we enforce them only there.  This ensures
    that StoreConfigs can be replaced with a back-end that supports complex
    collection criteria without other changes to the Puppet core.
    
    Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
Commits on Sep 1, 2011
  1. @joshcooper

    Merge pull request #90 from nicklewis/fix-pidlock-removal-failure

    joshcooper authored
    (#8413) Only try to catch Process::Error if it's defined
  2. @nicklewis

    (#8413) Only try to catch Process::Error if it's defined

    nicklewis authored
    This error class is only defined when using the win32-process gem on
    Windows. So rather than always trying to rescue Process::Error (which of
    course causes its own error), we build a list of classes to rescue,
    which initially only contains Errno::ESRCH, and add Process::Error if
    it exists.
  3. @joshcooper

    Merge pull request #74 from nicklewis/ticket/2.7.x/8413

    joshcooper authored
    (#8413) Properly clean up stale pidfile on Windows
Commits on Aug 31, 2011
  1. @daniel-pittman

    Merge pull request #86 from daniel-pittman/feature/2.7.x/9051-storeco…

    daniel-pittman authored
    …nfig-backend-should-be-configurable
    
    Feature/2.7.x/9051 storeconfig backend should be configurable
  2. @daniel-pittman

    Debug order-dependent test failures in CI / ActiveRecord.

    daniel-pittman authored
    At this point it looks like the only remaining cause of the ActiveRecord
    failures could be that someone is leaking an active database handle in
    ActiveRecord from an unrelated test.
    
    The theory is that if the handle is open, SQLite will try to create a lock
    file in a directory that no longer exists during the test; this raises the I/O
    error we see here.
    
    To verify this, which can currently only be reproduced in the CI system, we
    close off any active handle before changing the database location settings.
    
    Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
  3. @daniel-pittman

    Revert "Fixes #8119 - Write to a temporary file and move when storing…

    daniel-pittman authored
    … reports."
    
    This reverts commit 74602e0.  The change is
    incomplete, despite reading right, and shouldn't have been merged.
  4. @daniel-pittman

    Merge pull request #83 from jamtur01/tickets/master/8119

    daniel-pittman authored
    Fixes #8119 - Write to a temporary file and move when storing reports.
  5. @jamtur01

    Fixes #8119 - Write to a temporary file and move when storing reports.

    Ricky Zhou authored jamtur01 committed
    When writing reports, there is a window in between opening and writing
    to the report file when the report file exists as an empty file. This
    makes writing report processors a little annoying as they have to deal
    with this case. This patch writes the report into a temporary file then
    renames it to the report file, which eliminates this window.
  6. @daniel-pittman

    Merge pull request #81 from daniel-pittman/feature/2.7.x/9051-storeco…

    daniel-pittman authored
    …nfig-backend-should-be-configurable
    
    Feature/2.7.x/9051 storeconfig backend should be configurable
  7. @daniel-pittman

    Don't toggle storeconfigs back and forth.

    daniel-pittman authored
    In some cases turning StoreConfigs on, then off, can lead to test failures
    that do not reflect reality.  Instead, avoid that by using rspec contexts to
    separate out the two phases nicely.
    
    Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
  8. @daniel-pittman

    Merge pull request #79 from daniel-pittman/feature/2.7.x/9051-storeco…

    daniel-pittman authored
    …nfig-backend-should-be-configurable
    
    Feature/2.7.x/9051 storeconfig backend should be configurable
  9. @daniel-pittman

    One character typo, entire code path broken...

    daniel-pittman authored
    The state preserving code had a single type, resulting in the wrong value
    getting saved and restored.  This made the previous commit ineffective, and
    explains entirely why it didn't resolve the problem in the field.
    
    Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
  10. @daniel-pittman

    More protection against accidentally using sqlite3

    daniel-pittman authored
    Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
  11. @daniel-pittman

    Merge pull request #78 from daniel-pittman/feature/2.7.x/9051-storeco…

    daniel-pittman authored
    …nfig-backend-should-be-configurable
    
    Feature/2.7.x/9051 storeconfig backend should be configurable
  12. @daniel-pittman

    Save and restore indirector configuration around all tests.

    daniel-pittman authored
    One of the most persistent and troublesome parts of the Puppet codebase, in
    terms of testing, is the indirector.  It has significant global state in the
    terminus and cache configuration, and that state was not being preserved
    between tests.
    
    Given that the runtime performance cost of doing this, other than the very
    ugly code it engenders, is approximately zero (less than 0.5 percent runtime),
    and it substantially improves correctness of testing...
    
    Now we save and restore that state around every test.
    
    Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
Commits on Aug 30, 2011
  1. @daniel-pittman

    (#9051) More storeconfigs test cleanup.

    daniel-pittman authored
    We had additional global state modifications out of my testing, where the
    cache class and terminus for indirections were changed.  This caused, in some
    cases other than "running on my workstation", the tests to fail trying to use
    the wrong terminus.
    
    This fixes that, by resetting the state appropriately so we don't leak global
    configuration and break each other.
    
    Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
  2. @stahnma

    Merge pull request #77 from daniel-pittman/feature/2.7.x/9051-storeco…

    stahnma authored
    …nfig-backend-should-be-configurable
    
    Feature/2.7.x/9051 storeconfig backend should be configurable
  3. @daniel-pittman

    (#9051) Protect SQLite tests from running without gem.

    daniel-pittman authored
    In testing #9051 I introduced some tests that used the SQLite database adapter
    to test StoreConfigs.  Not everywhere that did so was protected correctly, so
    machines without SQlite would blow up.
    
    Now everything is guarded the way it should be, and tests no longer explode.
    
    Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
  4. @daniel-pittman
  5. @jeffmccune

    Merge branch 'feature/2.7.x/9051-storeconfig-backend-should-be-config…

    jeffmccune authored
    …urable' into 2.7.x
    
    * feature/2.7.x/9051-storeconfig-backend-should-be-configurable:
      (#9051) de-ActiveRecord-ify Collection expressions.
      (#9051) Port query tests into the indirection.
      (#9051) Implement the `resource` terminus for StoreConfigs.
      (#9051) Make generic tagging imported resource origins.
      (#9051) Whitespace cleanup for puppet/parser/collector
      (#9051) Dead code elimination in the compiler terminus.
      (#9051) Get the compiler out of the ActiveRecord business.
      (#9051) Implement the StoreConfigs indirection itself.
      (#9051) Add configuration around StoreConfigs indirection.
    
    Reviewed-by: Jeff McCune
Something went wrong with that request. Please try again.