examples/base.rb in nymphia-0.1.2 vs examples/base.rb in nymphia-0.2.0
- old
+ new
@@ -1,19 +1,19 @@
identity_file :private, '~/.ssh/id_rsa.1'
my_server_port = 4321
-host 'alice', 'my server on VPS' do
+host('alice', 'my server on VPS') {
hostname 'alice.example.com'
user 'alice'
port my_server_port
use_identify_file :private
-end
+}
-host 'queen', 'NAS in my home network' do
+host('queen', 'NAS in my home network') {
hostname '172.16.16.3'
user 'alice'
port my_server_port
use_identify_file :private
-end
+}
-load 'company.rb'
+include_file 'company.rb'