summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git://michaelobrien.info/puppetLuke Kanies2007-10-037-59/+61
|\
| * Updated CHANGELOG.Michael V. O'Brien2007-10-031-0/+7
| |
| * Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-10-032-15/+49
| |\
| * | Fixed #832. Added the '--no-daemonize' option to puppetd and puppetmasterd.Michael V. O'Brien2007-10-035-55/+46
| | | | | | | | | | | | | | | The default behavior of 'verbose' and 'debug' no longer cause puppetd and puppetmasterd to not daemonize.
| * | Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-10-034-57/+116
| |\ \
| * \ \ Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-10-023-14/+19
| |\ \ \
| * \ \ \ Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-09-2515-277/+332
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-09-251-4/+3
| |\ \ \ \ \
| * | | | | | Updated the configuration doc to more clearly explain where puppet.conf is ↵Michael V. O'Brien2007-09-251-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | expected to be by default.
| * | | | | | Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-09-25158-3937/+5845
| |\ \ \ \ \ \
* | | | | | | | Fixing #814 -- when files are missing, the exceptions shouldLuke Kanies2007-10-036-58/+49
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | now be more reasonable.
* | | | | | | Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppetLuke Kanies2007-10-037-71/+135
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Merge branch 'master' of git://reductivelabs.com/puppetDavid Lutterkort2007-10-023-14/+19
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | |
| | * | | | | Fixed a failing test where we presumed that non-string Fact values would ↵Rick Bradley2007-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | have type preserved across a P::N::Client.master.facts call, which is not true.
| | * | | | | Fixed a test which was secretly sneaking off and pulling certs from ~ if ↵Rick Bradley2007-10-022-13/+18
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | they were there: Added set_mygroup method, removed duplicate setme method. Included PuppetTest in the XMLRPC servlect test.
| * / | | | Use external helper script to talk to yum; should avoid any more trouble ↵David Lutterkort2007-10-024-57/+116
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | with "yum list". Fixes trac #836 Signed-off-by: David Lutterkort <dlutter@redhat.com>
* / / / / Adding more behaviours to the Puppet::Module spec,Luke Kanies2007-10-032-15/+49
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | and fixing some bugs in the process. Specifically, modules were no longer correctly handling fully qualified files, and they do so once again.
* | | | Adding more indirection termini, mostly focused on cachingLuke Kanies2007-09-256-0/+151
| | | | | | | | | | | | | | | | information in yaml.
* | | | Adding cache support to indirection. If you haveLuke Kanies2007-09-252-24/+153
| | | | | | | | | | | | | | | | | | | | a '<indirection>_cache' setting, then the indirection will use the value there as the name of the cache.
* | | | Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppet into ↵Luke Kanies2007-09-2512-715/+794
|\ \ \ \ | | |_|/ | |/| | | | | | indirection
| * | | Merge branch 'master' of git://michaelobrien.info/puppetLuke Kanies2007-09-252-1/+88
| |\| |
| | * | Renamed princs to principals in the k5login type.Michael V. O'Brien2007-09-241-7/+7
| | | |
| | * | Added k5login type written by Digant Kasundra. This is for ticket #759.Digant Kasundra2007-09-241-0/+87
| | | |
| | * | Partial fix for #772. The SIGHUP now produces a EOPNOTSUPP instead of ↵Michael V. O'Brien2007-09-141-1/+1
| | | | | | | | | | | | | | | | NameError.
| * | | Fixing ralsh to use a configuration instead of a componentLuke Kanies2007-09-251-4/+3
| | |/ | |/|
| * | Demoting the "file does not exist" log to debug from noticeLuke Kanies2007-09-251-1/+1
| | |
| * | Merge branch 'indirection' of git://reductivelabs.com/puppet-lukeLuke Kanies2007-09-25157-3934/+5842
| |\ \
| * | | Fixing a small problem with the mailman typeLuke Kanies2007-09-251-2/+2
| | |/ | |/|
| * | Merge branch 'testing'Luke Kanies2007-09-117-707/+700
| |\ \
| | * | Fixed #797. Removed the warning message about specifying 'enable' or ↵Michael V. O'Brien2007-09-111-4/+0
| | | | | | | | | | | | | | | | 'ensure' when initializing a service.
| | * | Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-09-112-2/+2
| | |\ \
| | * | | Fixed #784 by applying patch by vvidic.Michael V. O'Brien2007-09-111-1/+1
| | | | |
| | * | | Removed TYPE token, replacing it with CLASSREF token, in the grammar and ↵Michael V. O'Brien2007-09-104-577/+572
| | | | | | | | | | | | | | | | | | | | lexer. Updated CLASSREF token regex in the lexer.
| | * | | Fixed #774, which fixed fully qualified collection statementsMichael V. O'Brien2007-09-103-630/+632
| | | | |
* | | | | I changed the Terminus class to switch camelcaseLuke Kanies2007-09-243-14/+28
| | | | | | | | | | | | | | | | | | | | | | | | | to underscore-separated words, e.g., FactStore becomes fact_store.
* | | | | Removing obsolete fact stores and node sources. The functionality has been ↵Luke Kanies2007-09-244-239/+0
| |_|_|/ |/| | | | | | | | | | | moved into the indirector.
* | | | Taking a first stab at moving configuration compilingLuke Kanies2007-09-238-10/+391
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into the indirection system. There are still quite a few unanswered questions, the two most notable being embodied in unimplemented tests in the Configuration Code terminus. This also requires changing the behaviour in a few places. In particular, 'puppet' and the 'module_puppet' cfengine module need to store a Node object in memory with the appropriate classes, since that's now the only way to communicate with the compiler. That integration work has not yet been done, partially because the old configuration handler (which the soon-to-be-deprecated master handler now uses) still exists.
* | | | Adding a "memory" node terminus, which willLuke Kanies2007-09-235-0/+147
| | | | | | | | | | | | | | | | | | | | | | | | be used by 'puppet' and the Cfengine 'module_puppet', since they need to set up the node specially with classes and other weird things.
* | | | Fixing the spec for the checksum terminus to matchLuke Kanies2007-09-231-3/+2
| | | | | | | | | | | | | | | | the changed design in the previous commit.
* | | | Adding my first integration test, verifying thatLuke Kanies2007-09-238-85/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | checksum interaction behaves as I expect when interacting with the file terminus. I've also changed how files and checksums behave a bit. Files now create model instances with the content as the only argument during initialization, and checksums now calculate their checksums rather than having them passed in.
* | | | Adding the first version of checksum support, which willLuke Kanies2007-09-226-10/+358
| | | | | | | | | | | | | | | | acquire the behaviour of FileBuckets.
* | | | Renaming the 'Puppet::Util::Config' class toLuke Kanies2007-09-2253-298/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | '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".
* | | | Adding the base file terminus. This will, at the least,Luke Kanies2007-09-222-0/+170
| | | | | | | | | | | | | | | | | | | | be used as the back end for filebuckets and the certificate authority.
* | | | Merge branch 'configurations' into indirectionLuke Kanies2007-09-2263-1614/+1393
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/defaults.rb lib/puppet/indirector/facts/yaml.rb spec/unit/indirector/indirection.rb spec/unit/indirector/indirector.rb
| * | | | All tests now pass in this configuration branch, which meansLuke Kanies2007-09-2214-186/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it's time to merge it back into the indirection branch. Considering that this work was what drove me to create the indirection branch in the first place, i should now be able to merge both back in the master branch.
| * | | | The structure for handling resource generation is nowLuke Kanies2007-09-227-14/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in place, which means I'm over the hump in developing this branch. I have to fix some design flaws I made in the configurations, particularly that the 'runner' handler needs to be able to specify tags and whether to ignore schedules, but otherwise, I think it's straightforward test- and bug-fixing from here out.
| * | | | An intermediate commit so I can start working on a differentLuke Kanies2007-09-2012-32/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | branch. The file recursion code actually works for the first time in a painful while, but there are still some quirks and design issues to resolve, particularly around creating implicit resources that then fail (i.e., the behaviour of the create_implicit_resource method in Configuration).
| * | | | This is basically another intermediate commit. I feel likeLuke Kanies2007-09-1743-917/+536
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Configurations now set a "configuration" instance variable in resources that ↵Luke Kanies2007-09-153-5/+15
| | | | | | | | | | | | | | | | | | | | are inside a configuration, so the resources can interact with the configuration to get things like relationships.
| * | | | The whole system now uses Configuration objects instead ofLuke Kanies2007-09-1521-577/+736
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ever converting the Transportable objects into a tree of components and then converting that into a graph. This is a significant step, and drastically simplifies the model of how to use a configuration. The old code might have looked something like this: file = Puppet::Type.create :path => "/whatever", ... comp = Puppet::Type.create :name => :whatever comp.push file transaction = comp.evaluate transaction.evaluate The new code looks like this: file = Puppet::Type.create :path => "/whatever", ... config = Puppet::Node::Configuration.new config.add_resource file config.apply I did not really intend to do this much refactoring, but I found I could not use a Configuration object to do work without refactoring a lot of the system. The primary problem was that the Client::Master and the Config classes determined how the transactions behaved; when I moved to using a Configuration, this distinction was lost, which meant that configurations were often needing to create other configurations, which resulted in a whole lot of infinite recursion (e.g., Config objects that create directories for Puppet use Configuration objects -- yes, I'm s/Config/Settings/g soon -- and these Configuration objects would need to create directories). Not everything is fixed, but it's very close. I am clearly over the hump, though, so I wanted to get a commit in.