Artifactory allows you to define any layout for your Puppet repositories. To upload a module according to your custom layout, you need to package your Puppet files using puppet module build.
This creates a .tar.gz file for your module which you can then upload to any path within your local Puppet repository.