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
remote_file "/tmp/BOA.sh" do | |
source "http://files.aegir.cc/BOA.sh.txt" | |
mode 00755 | |
end | |
execute "/tmp/BOA.sh" do | |
creates "/usr/local/bin/boa" | |
end | |
(1..3).each do |boa_user| |
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
#!/bin/bash | |
# user info | |
USER=USERNAME | |
PASSWORD=SECRET | |
export PASSPHRASE=GPG-PARAPHRASE | |
# server info | |
PROTOCOL="scp" | |
SERVER=SERVERNAME |