diff --git a/lib/puppet-strings/rake_tasks.rb b/lib/puppet-strings/rake_tasks.rb index 3b3cb33..a7329f1 100644 --- a/lib/puppet-strings/rake_tasks.rb +++ b/lib/puppet-strings/rake_tasks.rb @@ -6,7 +6,9 @@ require 'puppet_x/puppetlabs/strings/util' namespace :strings do desc 'Generate Puppet documentation with YARD.' task :generate do - PuppetX::PuppetLabs::Strings::Util.generate + PuppetX::PuppetLabs::Strings::Util.generate([ + {emit_json: 'strings.json'} + ]) end desc 'Serve YARD documentation for modules.'