From d79ce653f95686917eebfbaab003ae9c53a380b0 Mon Sep 17 00:00:00 2001 From: Ian Tewksbury Date: Sat, 12 Mar 2016 19:00:48 -0500 Subject: [PATCH] Issue #104: fix resource generation scripts --- Rakefile | 2 +- lib/tasks/resource.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index e47beca..5d223a4 100644 --- a/Rakefile +++ b/Rakefile @@ -1,7 +1,7 @@ require 'rubygems' require 'puppetlabs_spec_helper/rake_tasks' require 'puppet-lint' -require 'lib/tasks/resource.rb' +require_relative 'lib/tasks/resource.rb' PuppetLint.configuration.send('disable_autoloader_layout') PuppetLint.configuration.send('disable_80chars') diff --git a/lib/tasks/resource.rb b/lib/tasks/resource.rb index 5e8d242..aaae1c7 100644 --- a/lib/tasks/resource.rb +++ b/lib/tasks/resource.rb @@ -1,4 +1,4 @@ -require 'lib/tasks/schema_generate' +require_relative 'schema_generate' namespace :resource do def resource_dir