Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 9, 2010
  1. @lak

    Fixing 'puppet' to directly run manifests

    lak authored
    It was previously requiring that you specify an application
    name, thus breaking the ability to easily run commands like:
    
        puppet ~/bin/test.pp
    
    Or even having '#/usr/bin/env puppet --verbose' in the first
    line of an executable script and having that work.
    
    Signed-off-by: Luke Kanies <luke@puppetlabs.com>
  2. @lak

    Moving puppet back to bin

    lak authored
    Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Commits on Feb 7, 2009
  1. @lak

    Fixing tests broken during the #1405 fix.

    lak authored
    Most of these were small changes, like moved methods.
    
    Signed-off-by: Luke Kanies <luke@madstop.com>
Commits on Dec 18, 2008
  1. @lak

    Renaming Puppet::Node::Catalog to Puppet::Resource::Catalog

    lak authored
    Signed-off-by: Luke Kanies <luke@madstop.com>
Commits on Oct 8, 2008
  1. @lak @jamtur01

    Fixed #1633 - Added support for --detailed-exits to bin/puppet

    lak authored jamtur01 committed
    which causes puppet to produce different exit codes depending
    on whether there were changes or failures in the transaction.
    
    Signed-off-by: Luke Kanies <luke@madstop.com>
Commits on Jul 10, 2008
  1. @lak @jamtur01

    Fixing #1408 - --loadclasses works again.

    lak authored jamtur01 committed
    The problem was that the mechanism I was using for
    passing the node to the compiler was conflicting with
    the Indirector::Request's method of handling node
    authentication.
    
    Signed-off-by: Luke Kanies <luke@madstop.com>
Commits on Jul 3, 2008
  1. @lak

    Fixed 1240 - puppet will function more like puppetd if graphing

    lak authored
    or reporting are enabled.
Commits on Apr 9, 2008
  1. @lak
Commits on Feb 13, 2008
  1. @lak

    Fixed #968 again, this time with tests -- parseonly works,

    lak authored
    including not compiling the configurations, and also storeconfigs
    is no longer required during parse-testing.
Commits on Dec 21, 2007
  1. @lak

    Further fixes toward #965. Turned out that the previous fix

    lak authored
    caused other problems.
    
    This whole thing will hopefully get *drastically* easier once we
    get rid of global resources.
Commits on Dec 19, 2007
  1. @lak
Commits on Dec 11, 2007
  1. @lak
  2. @lak

    Fixing #951 -- external nodes work again, but you have to

    lak authored
    set the 'node_terminus' setting to 'exec'.
Commits on Oct 16, 2007
  1. @lak

    Reorganizing the file structure for indirection terminus types.

    lak authored
    Previously, for example, the configuration terminus that was a
    subclass of 'code' would have been stored at
    lib/puppet/indirector/code/configuration and would have had
    to have been named 'configuration'.  Now, the subclass
    can be named however the author prefers, and it must be stored
    at lib/puppet/indirector/configuration/<name>.rb, where <name>
    is the name you've chosen for the terminus type.  The name only
    matters insomuch as it is used to load the file from disk and
    find the appropriate class when asked.
    
    The additional restriction is that the class constant for the terminus
    type must have its name as the last word, and the indirection must
    be the second to last word.  Thus, in our example, we can choose
    any class constant that ends with Configuration::Code; given that
    there's only one Configuration class at this point, it makes the
    most sense to define the class as Puppet::Node::Configuration::Code.
    
    This is somewhat awkward, because of the class's location on disk,
    but the only other real option is to autogenerate a
    Puppet::Indirector::Configuration class constant, which is, I think,
    uglier.
Commits on Oct 9, 2007
  1. @lak

    All tests should now pass again.

    lak authored
    This is the first real pass towards using caching.  The `puppet`
    executable actually uses the indirection work, instead of
    handlers and such (and man! is it cleaner).
    
    Most of this work was a result of trying to get the client-side
    story working, with correct yaml caching of configurations, which
    means this commit also covers converting configurations to yaml,
    which was a much bigger PITA than it needed to be.
    
    I still need to write integration tests, and I also need to cover
    the server-side story of a normal configuration retrieval.
Commits on Oct 5, 2007
  1. @lak

    Adding a :code setting for specifying code to run

    lak authored
    instead of a manifest, and removing all of the ambiguity
    around whether an interpreter gets its own file specified
    or uses the central setting.
    
    Most of the changes are around fixing existing tests to use this new system.
  2. @lak

    This commit is focused on getting the 'puppet' executable

    lak authored
    to work.  As a result, it involves a lot of integration-level
    testing, and a lot of small design changes to make the code
    actually work.
    
    In particular, indirections can now have default termini,
    so that configurations and facts default to their code terminus
    
    Also, I've removed the ability to manually control whether
    ast nodes are used.  I might need to add it back in later,
    but if so it will be in the form of a global setting,
    rather than the previous system of passing it through 10 different
    classes.  Instead, the parser detects whether there are AST nodes
    defined and requires them if so or ignores them if not.
    
    About 75 tests are still failing in the main set of tests,
    but it's going to be a long slog to get them working --
    there are significant design issues around them, as most of
    the failures are a result of tests trying to emulate both the
    client and server sides of a connection, which normally would
    have different fact termini but in this case must have the same
    terminus just because they're in the same process and are global.
    
    The next step, then, is to figure that process out, thus finding a way
    to make this all work.
Commits on Oct 3, 2007
  1. @lak

    Fixing #814 -- when files are missing, the exceptions should

    lak authored
    now be more reasonable.
Commits on Sep 22, 2007
  1. @lak

    Renaming the 'Puppet::Util::Config' class to

    lak authored
    'Puppet::Util::Settings'.  This is to clear up
    confusion caused by the fact that we now have a
    'Configuration' class to model host configurations,
    or any set of resources as a "configuration".
Commits on Sep 17, 2007
  1. @lak

    This is basically another intermediate commit. I feel like

    lak authored
    I've gone too far down the rabbit hole to turn back now, but the
    code is clearly getting more centralized around the Configuration
    class, which is the goal.
    
    Things are currently a bit muddy between recursion, dynamic resource
    generation, transactions, and the configuration, and I don't expect
    to be able to clear it up much until we rewrite all of the tests
    for the Transaction class, since that is when we'll actually be
    setting its behaviour.
    
    At this point, Files (which are currently the only resources that
    generate other resources) are responsible for adding their edges
    to the relationship graph.  This puts them knowing more than I would
    like about how the relationship graph works, but it'll have to do for now.
    
    There are still failing tests, but files seem to work again.  Now to
    go through the rest of the tests and make them work.
Commits on Sep 6, 2007
  1. @lak

    Fixing #806. Resources correctly look up their fully qualified defini…

    lak authored
    …tion type, just like resource references do, which causes the resource and reference to again agree on the full name of a given defined type.
Commits on Aug 27, 2007
  1. @lak

    Adding support for providing a diff when files are being changed. Cur…

    lak authored
    …rently uses a local diff binary, but could easily be changed to use the ruby diff/lcs library. Modified puppet and puppetd to automatically show file diffs when in noop mode, but can otherwise be enabled using --show_diff. This only works when running interactively, because the diffs are printed on stdout.
Commits on Aug 29, 2005
  1. @lak

    adding RDoc::usage documentation to all executables

    lak authored
    git-svn-id: https://reductivelabs.com/svn/puppet/trunk@595 980ebf18-57e1-0310-9a29-db15c13687c0
Commits on Aug 23, 2005
  1. @lak

    Have done a significant reorganization of how clients work, also, alo…

    lak authored
    …ng with some interesting trouble shooting on components
    
    git-svn-id: https://reductivelabs.com/svn/puppet/trunk@585 980ebf18-57e1-0310-9a29-db15c13687c0
  2. @lak

    Moving all files into a consolidated trunk. All tests pass except the…

    lak authored
    … known-failing certificate test, but there appear to be some errors that are incorrectly not resulting in failurs. I will track those down ASAP.
    
    git-svn-id: https://reductivelabs.com/svn/puppet/trunk@576 980ebf18-57e1-0310-9a29-db15c13687c0
Something went wrong with that request. Please try again.