Method: Puppet::Application::Spec#get_modulepath
- Defined in:
- lib/puppet/application/spec.rb
#get_modulepath(node) ⇒ Object
Given a node object, return the first modulepath
70 71 72 |
# File 'lib/puppet/application/spec.rb', line 70 def get_modulepath(node) node.environment.full_modulepath[0] end |