summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/benchmark.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/rails/benchmark.rb')
-rw-r--r--lib/puppet/rails/benchmark.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/rails/benchmark.rb b/lib/puppet/rails/benchmark.rb
index c33b2fb1e..1fbd011e9 100644
--- a/lib/puppet/rails/benchmark.rb
+++ b/lib/puppet/rails/benchmark.rb
@@ -64,6 +64,6 @@ module Puppet::Rails::Benchmark
data = {}
end
data[branch] = $benchmarks
- File.open(file, "w") { |f| f.print YAML.dump(data) }
+ Puppet::Util.secure_open(file, "w") { |f| f.print YAML.dump(data) }
end
end