Fix linting errors in YAML
This change corrects many problems detected by the `yamllint` linter. It's a preparation for enabling this linter in change Ie746230f28fe3ed0cf218201d5a3810f7bc44070. For instance, the first run of the YAML linter helped discovering a key duplication problem in `oso_ha.yaml`: the `depends_on` key was present twice, so the first occurence was ignored. Other changes are cosmetic: extra spaces, extra blank lines, missing newlines at end-of-file, etc. Change-Id: I7f2369adfb152fd2a74b9b105e969e653e592922
This commit is contained in:
parent
96a0b0b3d2
commit
2a2fe91602
@ -156,4 +156,3 @@ Outputs:
|
||||
- Fn::GetAtt: [WebServer, PublicIp]
|
||||
- /wordpress
|
||||
Description: URL for Wordpress service
|
||||
|
||||
|
@ -325,4 +325,3 @@ Outputs:
|
||||
- Fn::GetAtt: [WikiDatabase, PublicIp]
|
||||
- /wordpress
|
||||
Description: URL for Wordpress wiki
|
||||
|
||||
|
@ -274,4 +274,3 @@ Outputs:
|
||||
- - http://
|
||||
- Fn::GetAtt: [ElasticLoadBalancer, DNSName]
|
||||
- /wordpress
|
||||
|
||||
|
@ -51,8 +51,8 @@ Resources:
|
||||
CidrIp: '0.0.0.0/0'
|
||||
- IpProtocol: 'tcp'
|
||||
FromPort: '22'
|
||||
ToPort : '22'
|
||||
CidrIp : '0.0.0.0/0'
|
||||
ToPort: '22'
|
||||
CidrIp: '0.0.0.0/0'
|
||||
WikiDatabase:
|
||||
Type: AWS::EC2::Instance
|
||||
Metadata:
|
||||
@ -75,7 +75,7 @@ Resources:
|
||||
- {Ref: InstanceType}
|
||||
- Image
|
||||
InstanceType: {Ref: InstanceType}
|
||||
SecurityGroups: [{"Ref" : "WebServerSecurityGroup"}]
|
||||
SecurityGroups: [{"Ref": "WebServerSecurityGroup"}]
|
||||
UserData:
|
||||
Fn::Base64:
|
||||
Fn::Join:
|
||||
@ -158,4 +158,3 @@ Outputs:
|
||||
- Fn::GetAtt: [WikiDatabase, PublicIp]
|
||||
- /wordpress
|
||||
Description: URL for Wordpress wiki
|
||||
|
||||
|
@ -53,8 +53,8 @@ Resources:
|
||||
CidrIp: 0.0.0.0/0
|
||||
- IpProtocol: tcp
|
||||
FromPort: '22'
|
||||
ToPort : '22'
|
||||
CidrIp : 0.0.0.0/0
|
||||
ToPort: '22'
|
||||
CidrIp: 0.0.0.0/0
|
||||
WikiDatabase:
|
||||
Type: AWS::EC2::Instance
|
||||
Metadata:
|
||||
@ -77,7 +77,7 @@ Resources:
|
||||
- {Ref: InstanceType}
|
||||
- Image
|
||||
InstanceType: {Ref: InstanceType}
|
||||
SecurityGroups: [{"Ref" : "WebServerSecurityGroup"}]
|
||||
SecurityGroups: [{"Ref": "WebServerSecurityGroup"}]
|
||||
UserData:
|
||||
Fn::Base64:
|
||||
Fn::Join:
|
||||
@ -157,4 +157,3 @@ Outputs:
|
||||
- Fn::GetAtt: [WikiDatabase, PublicIp]
|
||||
- /wordpress
|
||||
Description: URL for Wordpress wiki
|
||||
|
||||
|
@ -133,7 +133,7 @@ Resources:
|
||||
Fn::Join:
|
||||
- ''
|
||||
- - AWSAccessKeyId=
|
||||
- {Ref : CfnUserKey}
|
||||
- {Ref: CfnUserKey}
|
||||
- '
|
||||
|
||||
'
|
||||
|
@ -11,7 +11,7 @@ parameters:
|
||||
|
||||
key_name:
|
||||
type: string
|
||||
description : Name of a KeyPair to enable SSH access to the instance
|
||||
description: Name of a KeyPair to enable SSH access to the instance
|
||||
instance_type:
|
||||
type: string
|
||||
description: Instance type for WordPress server
|
||||
|
@ -82,8 +82,8 @@ resources:
|
||||
CidrIp: '0.0.0.0/0'
|
||||
- IpProtocol: 'tcp'
|
||||
FromPort: '22'
|
||||
ToPort : '22'
|
||||
CidrIp : '0.0.0.0/0'
|
||||
ToPort: '22'
|
||||
CidrIp: '0.0.0.0/0'
|
||||
|
||||
wordpress_instance:
|
||||
# Use an AWS resource type and switch to native compute instance as
|
||||
|
@ -11,7 +11,7 @@ parameters:
|
||||
|
||||
key_name:
|
||||
type: string
|
||||
description : Name of a KeyPair to enable SSH access to the instance
|
||||
description: Name of a KeyPair to enable SSH access to the instance
|
||||
default: test_key
|
||||
|
||||
instance_type:
|
||||
|
@ -11,7 +11,7 @@ parameters:
|
||||
|
||||
key_name:
|
||||
type: string
|
||||
description : Name of a KeyPair to enable SSH access to the instance
|
||||
description: Name of a KeyPair to enable SSH access to the instance
|
||||
instance_type:
|
||||
type: string
|
||||
description: Instance type for WordPress server
|
||||
|
@ -29,7 +29,7 @@ parameters:
|
||||
constraints:
|
||||
- length: { min: 3, max: 256 }
|
||||
- allowed_pattern: "[A-Za-z0-9]+(?=[\\.\\-][a-zA-Z0-9])*\\.[a-zA-z09]+"
|
||||
description : must be a valid DNS name.
|
||||
description: must be a valid DNS name.
|
||||
|
||||
domain_netbios_name:
|
||||
default: cloudbase
|
||||
|
@ -5,7 +5,7 @@ description: Heat template to deploy Open Source CHEF server on a VM
|
||||
parameters:
|
||||
ssh_key_name:
|
||||
type: string
|
||||
description : Name of a Key Pair to enable SSH access to the instance
|
||||
description: Name of a Key Pair to enable SSH access to the instance
|
||||
|
||||
chef_image_name:
|
||||
type: string
|
||||
@ -34,7 +34,7 @@ parameters:
|
||||
- length: { min: 1, max: 25 }
|
||||
description: Password MUST be between 1 - 25 characters.
|
||||
- allowed_pattern: "[a-zA-Z0-9]*"
|
||||
description : Only Alpha-Numeric characters are allowed.
|
||||
description: Only Alpha-Numeric characters are allowed.
|
||||
|
||||
resources:
|
||||
ChefServer:
|
||||
|
@ -27,4 +27,3 @@ resources:
|
||||
outputs:
|
||||
admin_project_id:
|
||||
value: {get_resource: admin_project}
|
||||
|
||||
|
@ -38,4 +38,3 @@ outputs:
|
||||
value: {get_resource: parent_region}
|
||||
child_region_id:
|
||||
value: {get_resource: child_region}
|
||||
|
||||
|
@ -56,4 +56,3 @@ resources:
|
||||
url: {get_param: admin_url}
|
||||
region: {get_param: region}
|
||||
interface: admin
|
||||
|
||||
|
@ -36,8 +36,8 @@ resources:
|
||||
SecurityGroupIngress:
|
||||
- IpProtocol: 'tcp'
|
||||
FromPort: '22'
|
||||
ToPort : '22'
|
||||
CidrIp : '0.0.0.0/0'
|
||||
ToPort: '22'
|
||||
CidrIp: '0.0.0.0/0'
|
||||
|
||||
outputs:
|
||||
ip:
|
||||
|
@ -82,4 +82,3 @@ outputs:
|
||||
instance_ip:
|
||||
description: Public IP address of the newly created Nova instance.
|
||||
value: { get_attr: [nova_instance, first_address] }
|
||||
|
||||
|
@ -77,4 +77,3 @@ outputs:
|
||||
deployment_stderr:
|
||||
description: Standard error captured from the configuration execution.
|
||||
value: { get_attr: [deployment, deploy_stderr] }
|
||||
|
||||
|
@ -87,4 +87,3 @@ outputs:
|
||||
value: { get_attr: [ server, networks, private, 0 ] }
|
||||
sw_component_last_action:
|
||||
value: { get_attr: [ sw_deployment, last_action ] }
|
||||
|
||||
|
@ -18,7 +18,7 @@ description: >
|
||||
parameters:
|
||||
key_name:
|
||||
type: string
|
||||
description : Name of a key pair to enable SSH access to instances.
|
||||
description: Name of a key pair to enable SSH access to instances.
|
||||
default: default
|
||||
flavor:
|
||||
type: string
|
||||
|
@ -18,7 +18,7 @@ description: >
|
||||
parameters:
|
||||
key_name:
|
||||
type: string
|
||||
description : Name of a key pair to enable SSH access to instances.
|
||||
description: Name of a key pair to enable SSH access to instances.
|
||||
default: default
|
||||
flavor:
|
||||
type: string
|
||||
|
@ -156,4 +156,3 @@ resources:
|
||||
$dns_server$: { get_param: dns_server }
|
||||
$dns_sec_key$: { get_attr: [ broker_wait_condition, Data ] }
|
||||
$broker_ip$: { get_attr: [ OpenShiftBroker, first_address ] }
|
||||
|
||||
|
@ -81,4 +81,3 @@ resources:
|
||||
$dns_server$: { get_param: dns_server }
|
||||
$user_name$: { get_param: user_name }
|
||||
$password$: { get_param: password }
|
||||
|
||||
|
@ -331,8 +331,7 @@ resources:
|
||||
###
|
||||
broker1_instance:
|
||||
type: OS::Nova::Server
|
||||
depends_on: broker2_wait_condition
|
||||
depends_on: broker3_wait_condition
|
||||
depends_on: [broker2_wait_condition, broker3_wait_condition]
|
||||
properties:
|
||||
name: oso_broker1
|
||||
image: { get_param: broker_image }
|
||||
|
Loading…
Reference in New Issue
Block a user