Issue #2121 has been updated by luke. Status changed from Unreviewed to Rejected
This wouldn't work if your module path has multiple directories in it, though; you'd have to split it based on ':' or whatever. I don't have a problem with this variable being added, but I think there's already a ticket for adding all Puppet settings as variables. ---------------------------------------- Feature #2121: modulepath variable available within Puppet http://projects.reductivelabs.com/issues/2121 Author: lludwig Status: Unreviewed Priority: Normal Assigned to: Category: Target version: Complexity: Unknown Affected version: 0.24.8 Keywords: I need the path of my module location on the server so my modules are modular. Currently I have to define a generate like this: <pre> $timeoffset1 = generate("/usr/bin/env", "/home/puppet/${environment}/modules/puppet/bin/randomnum", "$fqdn", "30") </pre> It would be nice if $modulepath was available so: <pre> $timeoffset1 = generate("/usr/bin/env", "${modulepath}/puppet/bin/randomnum", "$fqdn", "30") </pre> worked ---------------------------------------- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
