Skip to content

Commit 7f3c852

Browse files
committed
(maint) Predeclare Puppet module before ResourceApi
Fixes failures to load the resource API in puppet-agent before the puppet module has been declared.
1 parent 588b500 commit 7f3c852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/resource_api/data_type_handling.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Puppet::ResourceApi; end # predeclare the main module # rubocop:disable Style/Documentation
1+
module Puppet; module ResourceApi; end; end # predeclare the main module # rubocop:disable Style/Documentation
22

33
# This module is used to handle data inside types, contains methods for munging
44
# and validation of the type values.

0 commit comments

Comments
 (0)