lib/chef-dk/policyfile_services/push.rb in chef-dk-4.0.60 vs lib/chef-dk/policyfile_services/push.rb in chef-dk-4.1.7
- old
+ new
@@ -13,16 +13,16 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-require "ffi_yajl"
+require "ffi_yajl" unless defined?(FFI_Yajl)
-require "chef-dk/service_exceptions"
+require_relative "../service_exceptions"
require "chef/server_api"
-require "chef-dk/policyfile_compiler"
-require "chef-dk/policyfile/uploader"
-require "chef-dk/policyfile/storage_config"
+require_relative "../policyfile_compiler"
+require_relative "../policyfile/uploader"
+require_relative "../policyfile/storage_config"
module ChefDK
module PolicyfileServices
class Push