Hi there,
Is there any way of using a chef node attribute within a bash script?
In my repo i have an config.sh script to deploy my app and within this script it would be nice to reference like:
#!/bin/sh
MYDIR=node[:file_location][:mydir]
And then in the script "mv /tmp/file.txt /test/$MYDIR
Is it possible?
Cheers,
Simon.