diff options
| author | Luke Kanies <luke@madstop.com> | 2008-12-18 10:57:59 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-12-18 11:10:26 -0600 |
| commit | 0fc067449a5e6f4941e2dfe232383b94f163b110 (patch) | |
| tree | 7ee4b5fd9d901f742b85ba8bd394f1b2eea5ae5c /lib/puppet/reports | |
| parent | e4ba3db1963081eacc2aef3d865f777b427ef23c (diff) | |
| download | puppet-0fc067449a5e6f4941e2dfe232383b94f163b110.tar.gz puppet-0fc067449a5e6f4941e2dfe232383b94f163b110.tar.xz puppet-0fc067449a5e6f4941e2dfe232383b94f163b110.zip | |
Fixing all of the test/ tests I broke in previous dev.
Most of these are straightforward changes to the tests,
but a couple required small refactorings (e.g., References
can now be created with Puppet::Type instances, and they
know how to extract the type/title from them).
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/reports')
| -rw-r--r-- | lib/puppet/reports/store.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/reports/store.rb b/lib/puppet/reports/store.rb index dfc992820..0c7f8cea9 100644 --- a/lib/puppet/reports/store.rb +++ b/lib/puppet/reports/store.rb @@ -12,7 +12,7 @@ Puppet::Reports.register_report(:store) do def mkclientdir(client, dir) config = Puppet::Util::Settings.new - config.setdefaults("reportclient-#{client}", + config.setdefaults("reportclient-#{client}".to_sym, "client-#{client}-dir" => { :default => dir, :mode => 0750, :desc => "Client dir for %s" % client, @@ -21,7 +21,7 @@ Puppet::Reports.register_report(:store) do } ) - config.use("reportclient-#{client}") + config.use("reportclient-#{client}".to_sym) end def process |
