-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does plugin.pp take a parent plugin parameter? #89
Comments
dirname does exist in stdlib, but not in the 3.x series (only in 4.x). Currently PE only supports the 3.x series so we can't reliably use the dirname function. Your solution would work for this - would you be able to send a PR? |
Looks like 4.x is supported by PE, but they might need to manually update. 4.x is still compatable with Puppet 2.7, despite original plans.. might be worth considering, sooner or later.. |
Awesome - what versions of PE support 4? Maybe we put this in as a post 1.0? Make the next version require stdlib >= 4.0? |
v3.0.x (Released in PE 3) However, it doesn't ship with PE 3, so.. yeh. I don't have PE, but i don't know if it breaks if you update PE's stdlib to a newer verison than it ships with. |
A couple guys said you can't upgrade it (PL and former) with PE because of how tightly it's coupled, that's why I was curious what version. My thinking was the same as yours - puppet is supported, go for it. That being said, I think for this either the inline_template or leave it as it is solutions are the most portable. I can do this later if the OP doesn't have time. |
I'm pretty sure this can be closed with the merge of #102 |
It seems redundant to specify the parent directory of the plugin. On unix we could call dirname to find this string. In puppet we could do:
A bit gross, but better than duplicating. I'm somewhat suprised that a 'dirname' function doesn't exist in stdlib.
The text was updated successfully, but these errors were encountered: