I had two problems in the current git HEAD:  Plugin syncing didn't
work unless there was a fileserver.conf, and fileserving sometimes
didn't work because the change wasn't able to be printed.

These two commits fix these problems, respectively.  The plugin syncing
was fixed by creating the plugins and modules mount in the main
Configuration class rather than the Parser (which is only used if the
file exists).

The fileserving problem was fixed by changing the file's content parameter
to only ever use checksums, which fixed the ordering issue we were having
with trying to print a change before the content was downloaded from the server.
This caused a nice speed bump, too.

lib/puppet/file_serving/configuration.rb        |    9 ++
lib/puppet/file_serving/configuration/parser.rb |    8 --
lib/puppet/type/file/checksum.rb                |    5 +-
lib/puppet/type/file/content.rb                 |   57 ++++++---
lib/puppet/type/file/ensure.rb                  |   14 ++-
spec/unit/file_serving/configuration.rb         |   15 +++
spec/unit/file_serving/configuration/parser.rb  |   12 --
spec/unit/type/file/content.rb                  |  155 ++++++++++++++++-------
8 files changed, 182 insertions(+), 93 deletions(-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to