Already discussed, but otherwise +1.

On Dec 8, 2009, at 8:14 PM, Silviu Paragina wrote:

> From: Silviu Paragina <[email protected]>
>
> The library change is described in feature #2891
>
> Signed-off-by: Silviu Paragina <[email protected]>
> ---
> test/util/metrics.rb |    5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/test/util/metrics.rb b/test/util/metrics.rb
> index 6dcb841..c30f7f6 100755
> --- a/test/util/metrics.rb
> +++ b/test/util/metrics.rb
> @@ -51,6 +51,11 @@ class TestMetric < PuppetTest::TestCase
>
>     def test_fakedata
>         report = Puppet::Transaction::Report.new
> +     rrddestdir = Puppet[:rrddir]
> +     if (!File.directory?(rrddestdir))
> +         Dir.mkdir(rrddestdir)
> +     end
> +
>         time = Time.now.to_i
>         start = time
>         10.times {
> --  
> 1.6.5.4
>
> --
>
> 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 
> .
>
>


-- 
If you're not part of the solution, you're part of the precipitate.
     -- Henry J. Tillman
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com

--

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