Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/puppet/indirector/report/rest_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def save(request)
# Generate serverspec files
# TODO: Check that we get the catalog from cache
resources = Puppet::Resource::Catalog.indirection.find(request.instance.host).resources
spec_dir = File.join(Puppet[:vardir], 'policy', 'server')
spec_dir = File.join(Puppet[:libdir], 'policy', 'server')
Puppetx::Policy::AutoSpec.gen_auto_spec_files(resources, spec_dir)
Puppet.debug('Generated auto_spec files')

Expand Down