Skip to content

Instantly share code, notes, and snippets.

@adamhjk
Created October 12, 2010 18:48
Show Gist options
  • Save adamhjk/622700 to your computer and use it in GitHub Desktop.
Save adamhjk/622700 to your computer and use it in GitHub Desktop.
ruby_block "cryptosetup" do
block do
Chef::Mixin::Command.popen4("cryptosetup") do |p, i, o, e|
i.puts "Your stdin"
i.close
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment