Skip to content
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

Invocation String options #9

Open
kizzie opened this issue Oct 19, 2017 · 8 comments
Open

Invocation String options #9

kizzie opened this issue Oct 19, 2017 · 8 comments

Comments

@kizzie
Copy link

kizzie commented Oct 19, 2017

Hello! I don't suppose there are any plans to add an option for the invocation string to be set via terraform is there? Or am I just missing it? (http://rundeck.org/docs/manual/jobs.html#advanced-script-options).

Terraform Version

0.10.0 (although terraform version isn't really a problem here as long as its on 0.10.x)

Affected Resource(s)

rundeck_job -> command -> inline_script

@richardgavel
Copy link

Any updates on this?

@kizzie
Copy link
Author

kizzie commented Jan 13, 2021

Wow. I had entirely forgotten about this. We just started updating and keeping our own version of the provider... not sure it will ever be merged!

@richardgavel
Copy link

Don't suppose that fork is sitting in Github that I can see? I might just fork and submit a PR for this change to the main repo.

@kizzie
Copy link
Author

kizzie commented Jan 14, 2021

Sadly not - I'll ask if I am allowed to put it all in there though. For this specific thing #10 fixes it though :)

@richardgavel
Copy link

Thanks, I was struggling a bit where some of the changes would go, this helps

@richardgavel
Copy link

Reimplemented against current master as #64

@Onelvis
Copy link

Onelvis commented Aug 31, 2022

Any plans to also add the file extension option? I'm having some issues with Windows nodes in which, by default, the temp script gets copied as a .bat file, which means that any Powershell specific cmdlet is not being recognized (I've tried setting the invocation_string to powershell.exe ${scriptfile}.ps1, but this only results on the temp file still being copied as script.tmp.bat, but then rundeck tries to execute it as script.tmp.bat.ps1 thus failing).

This is explained in the rundeck doc page about builtin node steps

@fdevans
Copy link
Contributor

fdevans commented Oct 23, 2023

See comments on #10 to finalize this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants