Skip to content

Conversation

@thallgren
Copy link
Contributor

This commit changes the autoload behavior for puppet functions and types
that reside under the 'functions' or 'types' directory in an environment
so that the naming becomes consistent with the ruby functions that
reside under 'lib/puppet/functions'.

In essence, the namespace 'environment' is moved into a subdirectory with
the same name that functions and types in the global namespace can reside
directly under their respective 'functions' and 'types' directory.

@hlindberg
Copy link
Contributor

Specifications needs an update. Would like to see that change first. Also, tests AppVeyor are failing atm.

@hlindberg
Copy link
Contributor

Ping @puppetlabs/puppet-maintainers note the unrelated error from AppVeyor - is that a known issue?

@thallgren thallgren force-pushed the issue/pup-6992/consistent-autoloads branch from f669c80 to f4d0fb3 Compare January 3, 2017 14:58
This commit changes the autoload behavior for puppet functions and types
that reside under the 'functions' or 'types' directory in an environment
so that the naming becomes consistent with the ruby functions that
reside under 'lib/puppet/functions'.

In essence, the namespace 'environment' is moved into a subdirectory with
the same name that functions and types in the global namespace can reside
directly under their respective 'functions' and 'types' directory.
@thallgren thallgren force-pushed the issue/pup-6992/consistent-autoloads branch from f4d0fb3 to dcad982 Compare January 3, 2017 15:19
@hlindberg hlindberg merged commit f02ebf3 into puppetlabs:master Jan 3, 2017
@thallgren thallgren deleted the issue/pup-6992/consistent-autoloads branch January 13, 2017 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants