You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where ${PLASTER_PARAM_TemplatesFolderPath} goes to \Server\fileshare\
The error:
"template.psm1' specified in the file directive in the template manifest cannot be an absolute path.
Change the path to a relative path."
Which seems really strange. My use case is that I am sharing a module that creates other modules for a company, and I want to reference a shared template in the area.
I'm going to work around by copying it local but wasn't sure if it was just a bad error message and I'm missing something obvious. I did look around but I didn't see anything related, though I could just be being dumb.
This is limitation that we might be able to lift. The intent is to prevent a Plaster template from modifying a directory other than the dir that you're applying the template too. However, copy file from another location into the template source dir seems like that might be a safe thing to do.
Activity
rkeithhill commentedon Apr 21, 2020
This is limitation that we might be able to lift. The intent is to prevent a Plaster template from modifying a directory other than the dir that you're applying the template too. However, copy file from another location into the template source dir seems like that might be a safe thing to do.
DevOpsBoondoggles commentedon Apr 26, 2020
I am probably too rubbish at Powershell to assist with this but happy to try if someone could point me where to look