Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
package :push_text_test do
config_file = '~/push_text_test'
config_text <<-EOF
'/hello\'
EOF
push_text config_text, config_file
end
...then if I ssh in and view the contents of the file:
root@...:~# cat push_text_test
/hello
...when I would expect:
root@...:~# cat push_text_test
'/hello\'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment