Created
February 15, 2016 21:33
-
-
Save chewmanfoo/d095f28ec5636c5a3a7a to your computer and use it in GitHub Desktop.
backticks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def insert_default_parameters(_template_path, _role, _portsin) | |
#TODO fix this shit | |
out = `echo #{_template_path};ls #{_template_path}` | |
p "****** after test ******" | |
p out | |
#foo="/var/lib/jenkins/jobs/Create\ a\ Security\ Group/workspace/corpit-cloudformation-vm-provisioning/environments/cit_production/int/cit-p-wbap_sg.json" | |
foo="#{_template_path}".gsub("\\","") | |
tfile = File.read(foo) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment