Tried the above with a slight change:
minion:
ubuntu@ip-10-233-137-171:~$ touch /tmp/bar
ubuntu@ip-10-233-137-171:~$ ln -s /tmp/bar /tmp/foo
master:
buntu@ip-10-181-82-107:/srv/salt$ sudo salt 'cassandradatanode3' state.sls foo
cassandradatanode3:
----------
ID: /tmp/foo
Function: file.symlink
Result: True
Comment: Created new symlink /tmp/foo -> /opt/yp
Started: 01:01:10.309921
Duration: 2.263 ms
Changes:
----------
new:
/tmp/foo
Summary
------------
Succeeded: 1 (changed=1)
Failed: 0
------------
Total states run: 1
ubuntu@ip-10-233-137-171:~$ salt-minion --version
salt-minion 2015.5.0 (Lithium)