summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-06-14 14:23:58 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-06-14 14:23:58 +0000
commite32a1bd40e6d706b4e0c5316bf32aec52133f309 (patch)
tree243b0a21d0709d08989fdf9d2797f30ec3fe6498
parent469d999d257d3cbc3ce54cace9e1820233503a76 (diff)
downloadpuppet-e32a1bd40e6d706b4e0c5316bf32aec52133f309.tar.gz
puppet-e32a1bd40e6d706b4e0c5316bf32aec52133f309.tar.xz
puppet-e32a1bd40e6d706b4e0c5316bf32aec52133f309.zip
adjusting the rrd color stack as requested by thijs
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2584 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--lib/puppet/util/metric.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/metric.rb b/lib/puppet/util/metric.rb
index 5a54f602c..13bbc2af1 100644
--- a/lib/puppet/util/metric.rb
+++ b/lib/puppet/util/metric.rb
@@ -53,7 +53,7 @@ class Puppet::Util::Metric
end
unit = 60 * 60 * 24
- colorstack = %w{#ff0000 #00ff00 #0000ff #ffff00 #ff99ff #ff9966 #66ffff #990000 #099000 #000990 #f00990 #0f0f0f #555555 #333333 #ffffff}
+ colorstack = %w{#00ff00 #ff0000 #0000ff #ffff00 #ff99ff #ff9966 #66ffff #990000 #099000 #000990 #f00990 #0f0f0f #555555 #333333 #ffffff}
{:daily => unit, :weekly => unit * 7, :monthly => unit * 30, :yearly => unit * 365}.each do |name, time|
file = self.path.sub(/\.rrd$/, "-%s.png" % name)