This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:08:30.818 [operate-159] ERROR p.core.operations - Phase Error in :bootstrap | |
clojure.lang.ExceptionInfo: SSH connect : server 107.20.32.231, port 22, user ec2-user | |
at clojure.core$ex_info.invoke(core.clj:4227) ~[clojure-1.4.0.jar:na] | |
at pallet.ssh.transport$connect_ssh_session.invoke(transport.clj:88) ~[na:na] | |
at pallet.ssh.transport$attempt_connect.invoke(transport.clj:118) ~[na:na] | |
at pallet.ssh.transport$connect$fn__48056.invoke(transport.clj:134) ~[na:na] | |
at pallet.ssh.transport$connect.invoke(transport.clj:133) ~[na:na] | |
at pallet.transport.ssh$lookup_or_create_state.invoke(ssh.clj:56) ~[na:na] | |
at pallet.transport.ssh$open.invoke(ssh.clj:63) ~[na:na] | |
at pallet.transport.ssh.SshTransport.open(ssh.clj:70) ~[na:na] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftest site-test | |
( let [ | |
; This one generates no context's around the echos | |
item1 (first | |
(build-actions/build-actions | |
{} | |
(directory "/etc/nginx/sites-available") | |
(directory "/etc/nginx/sites-enabled") | |
(remote-file | |
"/etc/nginx/sites-enabled/default" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### BEGIN INIT INFO | |
# Provides: memcached | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start memcached daemon | |
# Description: Start up memcached, a high-performance memory caching daemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defplan my-plan | |
[] | |
(let | |
[ | |
res (tmp-dir) | |
item (exec-script (res)) | |
] | |
(actions/with-action-values [item] | |
(println "DATA = " (:out item)) | |
))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
mkdir crappy | |
ls -al crappy | |
echo "Deleting directory" | |
ITEM="crappy" | |
rm -rf "$ITEM" | |
ls -al crappy |