I did it that way so the directory is only ever created when the bash block is run, versus on every Chef run, since it's only needed temporarily.