diff options
Diffstat (limited to 'lib/puppet/reports.rb')
-rwxr-xr-x | lib/puppet/reports.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/puppet/reports.rb b/lib/puppet/reports.rb index 8407d67de..2e1f1e2ce 100755 --- a/lib/puppet/reports.rb +++ b/lib/puppet/reports.rb @@ -18,9 +18,7 @@ class Puppet::Reports mod = genmodule(name, :extend => Puppet::Util::Docs, :hash => instance_hash(:report), :block => block) - if options[:useyaml] - mod.useyaml = true - end + mod.useyaml = true if options[:useyaml] mod.send(:define_method, :report_name) do name |