set a variable for the path and then use {{…}} to reference it anywhere you need in the sls file.
--
Jack Kuan
--
This email and any files transmitted with it are confidential and intended solely for the recipient(s). If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of theScore, Inc. or any of its affiliates. Warning: Although theScore, Inc. has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
Adrian Andreias
unread,
Jan 24, 2013, 2:57:28 AM1/24/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to salt-...@googlegroups.com
Hello,
Thanks, I'm aware of both methods (pillars and jinja variables).
I was just looking for a way to make this quicker and thought it makes sense to have a way to reference a state node's name.
Adrian Andreias
unread,
Jan 25, 2013, 4:39:56 AM1/25/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to salt-...@googlegroups.com
I wonder of & and * yaml feature can be used for this.