Permalink
Commits on Mar 23, 2011
  1. @rcrowley
  2. @rcrowley
  3. @nicklewis
  4. @nicklewis

    maint: Fix order-dependent spec failures

    The specs for InterfaceCollection were clearing the list of interfaces at the
    end of the spec run, which caused later specs to fail because they couldn't
    re-require interfaces they needed. This fixes the InterfaceCollection specs to
    save and restore the interfaces at the end of the file.
    
    Reviewed-By: Matt Robinson
    nicklewis committed Mar 23, 2011
  5. @nicklewis
  6. @nicklewis

    maint: Implement an InterfaceCollection class to manage interfaces

    Having an instance variable on class Interface is insufficient for
    Interface::Indirector. This also changes the semantics of "Interface.interface"
    to handle registration and loading actions, and for "Interface.new" to only
    instantiate an Interface. Thus, consumers of the API should typically use
    "Interface.interface", unless they have reasons to not want an interface
    automatically registered.
    
    Paired-With: Pieter van de Bruggen
    nicklewis committed Mar 22, 2011
Commits on Mar 22, 2011
  1. @nicklewis
  2. @nicklewis
  3. @nicklewis
  4. @nicklewis

    maint: Make args to Catalog.select explicit

    No other args are used, so passing *args and shifting is unnecessary.
    nicklewis committed Mar 22, 2011
  5. @nicklewis

    Merge branch 'ticket/master/6814'

    Conflicts:
    	lib/puppet/interface/catalog.rb
    	lib/puppet/interface/catalog/select.rb
    	lib/puppet/interface/configurer.rb
    nicklewis committed Mar 22, 2011
  6. @nicklewis

    (#6814) Create a dedicated Action class

    This class will represents an action, and allows us to store metadata for an
    action, and programmatically introspect and invoke them. A helper class
    ActionBuilder represents the DSL for defining an action.
    
    Also defined an "invoke" DSL method to handle the functionality of defining the
    method for an action.
    
    Reviewed-By: Daniel Pittman
    nicklewis committed Mar 22, 2011
  7. Merge branch 'tickets/master/6786'

    Pieter van de Bruggen committed Mar 22, 2011
  8. (#6786) Change interface storage and access.

    Ruby's namespace mechanism introduced a number of problems, including
    incorrect name resolution for common and simple cases.  Given that,
    we've refactored back to class-level data structures with accessor
    methods available.
    
    The current method names are unlikely to be the final UI.
    
    Reviewed-By: Daniel Pittman
    Pieter van de Bruggen committed Mar 22, 2011
Commits on Mar 21, 2011
  1. Merge branch 'tickets/master/maint'

    Pieter van de Bruggen committed Mar 21, 2011
  2. (Maint.) Remove Puppet::Interface#unload_interface

    Reviewed-By: Nick Lewis
    Pieter van de Bruggen committed Mar 21, 2011
  3. @nicklewis
  4. @nicklewis

    (#6805) Add a "configurer" application

    This application is similar in basic functionality to the "agent" application,
    but implemented in terms of interfaces. It currently will retrieve facts,
    retrieve a catalog, apply the catalog, and submit a report. Options such
    as noop and daemonize are still to come.
    
    Reviewed-By: Pieter van de Bruggen
    nicklewis committed Mar 21, 2011
  5. Fixing a load-order issue in Puppet::Interface

    The application classes were having issues loading
    the Interface class in certain circumstances because of
    load order.  This just pushes the loading as late as possible.
    
    Signed-off-by: Luke Kanies <luke@puppetlabs.com>
    committed Mar 21, 2011
  6. @daniel-pittman
  7. @daniel-pittman

    (#6806) Improve error checking and reporting for interface naming.

    We didn't do enough input checking and sanitization, and missed some
    edge-cases for naming interfaces.  This adds testing, and cleans up some edge
    cases to handle things better.
    
    Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>
    daniel-pittman committed Mar 21, 2011
  8. Merge branch 'tickets/master/6785'

    Pieter van de Bruggen committed Mar 21, 2011
  9. (#6785) Internal consistency for `--terminus`.

    Paired-With: Richard Crowley
    Pieter van de Bruggen committed Mar 21, 2011
  10. Merge branch 'master' into tickets/master/6785

    Pieter van de Bruggen committed Mar 21, 2011
  11. Merge branch 'tickets/master/6786'

    Pieter van de Bruggen committed Mar 21, 2011
  12. (#6786) Fixing a number of failing tests.

    The initial merge of this branch hadn't actually been run against the full
    suite of specs; a number of specs began failing shortly afterward.
    
    Reviewed-By: Daniel Pittman
    Pieter van de Bruggen committed Mar 21, 2011
  13. Merge branch 'tickets/master/6785'

    Pieter van de Bruggen committed Mar 21, 2011
  14. (#6785) Rename the --from option to --terminus.

    Paired-With: Richard Crowley
    Pieter van de Bruggen committed Mar 21, 2011
  15. Merge branch 'tickets/master/6786'

    Pieter van de Bruggen committed Mar 21, 2011
  16. (#6786) Removing the #interface method.

    Since constants are already being defined for each
    interface, the #interface method does little but
    provide another way to access the same data.
    
    Reviewed-By: Nick Lewis
    Pieter van de Bruggen committed Mar 19, 2011
Commits on Mar 3, 2011
  1. Modifying Facts.upload a bit

    The functionality is basically the same, but we're
    no longer using caching, and we log that
    it happened.
    
    Signed-off-by: Luke Kanies <luke@puppetlabs.com>
    committed Mar 3, 2011
  2. Fixing #16 - nodes default to yaml

    We don't have json support for node output yet.
    
    Signed-off-by: Luke Kanies <luke@puppetlabs.com>
    committed Mar 3, 2011
  3. Fixing #13 - showconfig moved to indirector

    I renamed it to 'info', too.
    
    It only showed indirector-related info, so this
    makes sense.
    
    Signed-off-by: Luke Kanies <luke@puppetlabs.com>
    committed Mar 3, 2011
  4. Adding a test for fix to #14

    Signed-off-by: Luke Kanies <luke@puppetlabs.com>
    committed Mar 3, 2011
Commits on Mar 2, 2011
  1. @bodepd