Skip to content

Instantly share code, notes, and snippets.

@webframp
Created Dec 7, 2011
Embed
What would you like to do?
execute "create-tunnelblick-#{u['id']}" do
cwd node["openvpn"]["key_dir"]
command <<-EOH
mkdir #{u['id']}.tblk; cp ca.crt #{u['id']}.{crt,key,conf,ovpn} #{u['id']}.tblk
EOH
not_if { ::File.directory?("#{u['id']}.tblk") }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment