brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drigod...@apache.org
Subject [1/2] brooklyn-docs git commit: Fix typo + syntax highlighting
Date Thu, 09 Nov 2017 13:55:03 GMT
Repository: brooklyn-docs
Updated Branches:
  refs/heads/master 3772c2158 -> 9d9028de7


Fix typo + syntax highlighting

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/2271b873
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/2271b873
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/2271b873

Branch: refs/heads/master
Commit: 2271b873db9866867e399380bbff7f2aa902425b
Parents: ba01df1
Author: Thomas Bouron <tbouron@gmail.com>
Authored: Tue Nov 7 17:57:06 2017 +0000
Committer: GitHub <noreply@github.com>
Committed: Tue Nov 7 17:57:06 2017 +0000

----------------------------------------------------------------------
 .../_location-customizer-security-groups.md     | 35 +++++++++++---------
 1 file changed, 19 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/2271b873/guide/locations/_location-customizer-security-groups.md
----------------------------------------------------------------------
diff --git a/guide/locations/_location-customizer-security-groups.md b/guide/locations/_location-customizer-security-groups.md
index bfca929..f795702 100644
--- a/guide/locations/_location-customizer-security-groups.md
+++ b/guide/locations/_location-customizer-security-groups.md
@@ -11,17 +11,18 @@ It is easy to add additional rules to the initial security group using
`org.apac
 
 YAML Example:
 
-    name: ports @ AWS
-    location: jclouds:aws-ec2:us-west-2:
-    services:
-    - type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
-      brooklyn.config:
-        provisioning.properties:
-          customizers:
-          - $brooklyn:object:
-              type: org.apache.brooklyn.location.jclouds.networking.SharedLocationSecurityGroupCustomizer
-              object.fields: {tcpPortRanges: ["900-910", "915", "22"], udpPortRanges: ["100","200-300"],
cidr: "82.40.153.101/24"}
-
+```yaml
+name: ports @ AWS
+location: jclouds:aws-ec2:us-west-2
+services:
+- type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
+  brooklyn.config:
+    provisioning.properties:
+      customizers:
+      - $brooklyn:object:
+          type: org.apache.brooklyn.location.jclouds.networking.SharedLocationSecurityGroupCustomizer
+          object.fields: {tcpPortRanges: ["900-910", "915", "22"], udpPortRanges: ["100","200-300"],
cidr: "82.40.153.101/24"}
+```
 
 Make sure that you have rule which makes port 22 accessible from Apache Brooklyn.
 
@@ -31,11 +32,13 @@ Apache Brooklyn exposes the SharedLocationSecurityGroupCustomizer functionality
 just by supplying `effector.add.openInboundPorts: true` "brooklyn.config".
 Example configuration in effector
 
-    location: jclouds:aws-ec2:us-west-2
-    services:
-    - type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
-      brooklyn.config:
-        effector.add.openInboundPorts: true
+```yaml
+location: jclouds:aws-ec2:us-west-2
+services:
+- type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
+  brooklyn.config:
+    effector.add.openInboundPorts: true
+```
 
 ### Known limitations
 


Mime
View raw message