From ce969aba2611019998e5279cb57a790928c84844 Mon Sep 17 00:00:00 2001 From: Donovan Jones Date: Fri, 7 Aug 2015 16:00:02 +1200 Subject: [PATCH] fix typo in intro script Change-Id: Ice988c8cffb6a81d833b2ad1d2a86adad17bcd20 --- firstapp/samples/libcloud/introduction.py | 4 ++-- firstapp/samples/libcloud/scaling_out.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firstapp/samples/libcloud/introduction.py b/firstapp/samples/libcloud/introduction.py index 8e80d528b..c3e81c47e 100644 --- a/firstapp/samples/libcloud/introduction.py +++ b/firstapp/samples/libcloud/introduction.py @@ -51,10 +51,10 @@ unused_floating_ip = pool.create_floating_ip() conn.ex_attach_floating_ip_to_node(instance, unused_floating_ip) # step-11 -worker_group = conn.ex_create_security_group('worker', 'for services that run on a worker note') +worker_group = conn.ex_create_security_group('worker', 'for services that run on a worker node') conn.ex_create_security_group_rule(worker_group, 'TCP', 22, 22) -controller_group = conn.ex_create_security_group('control', 'for services that run on a control note') +controller_group = conn.ex_create_security_group('control', 'for services that run on a control node') conn.ex_create_security_group_rule(controller_group, 'TCP', 22, 22) conn.ex_create_security_group_rule(controller_group, 'TCP', 80, 80) conn.ex_create_security_group_rule(controller_group, 'TCP', 5672, 5672, source_security_group=worker_group) diff --git a/firstapp/samples/libcloud/scaling_out.py b/firstapp/samples/libcloud/scaling_out.py index 7e2958dae..297955ce1 100644 --- a/firstapp/samples/libcloud/scaling_out.py +++ b/firstapp/samples/libcloud/scaling_out.py @@ -15,10 +15,10 @@ api_group = conn.ex_create_security_group('api', 'for API services only') conn.ex_create_security_group_rule(api_group, 'TCP', 80, 80) conn.ex_create_security_group_rule(api_group, 'TCP', 22, 22) -worker_group = conn.ex_create_security_group('worker', 'for services that run on a worker note') +worker_group = conn.ex_create_security_group('worker', 'for services that run on a worker node') conn.ex_create_security_group_rule(worker_group, 'TCP', 22, 22) -controller_group = conn.ex_create_security_group('control', 'for services that run on a control note') +controller_group = conn.ex_create_security_group('control', 'for services that run on a control node') conn.ex_create_security_group_rule(controller_group, 'TCP', 22, 22) conn.ex_create_security_group_rule(controller_group, 'TCP', 80, 80) conn.ex_create_security_group_rule(controller_group, 'TCP', 5672, 5672, source_security_group=worker_group)