Merge "Fix indentation warnings CI/CD"

This commit is contained in:
Jenkins 2016-08-08 10:35:38 +00:00 committed by Gerrit Code Review
commit 5f0dea1b16
15 changed files with 56 additions and 56 deletions

View File

@ -38,22 +38,22 @@ Methods:
Return:
- $securityGroupIngress:
- ToPort: 80
FromPort: 80
IpProtocol: tcp
External: true
- ToPort: 443
FromPort: 443
IpProtocol: tcp
External: true
- ToPort: 8081
FromPort: 8081
IpProtocol: tcp
External: true
- ToPort: 29418
FromPort: 29418
IpProtocol: tcp
External: true
- ToPort: 80
FromPort: 80
IpProtocol: tcp
External: true
- ToPort: 443
FromPort: 443
IpProtocol: tcp
External: true
- ToPort: 8081
FromPort: 8081
IpProtocol: tcp
External: true
- ToPort: 29418
FromPort: 29418
IpProtocol: tcp
External: true
- $._environment.securityGroupManager.addGroupIngress($securityGroupIngress)
- $._environment.reporter.report($this, 'Creating VM for Gerrit "{0}"'.format($.instance.name))

View File

@ -8,7 +8,7 @@ Description: |
Author: 'Mirantis, Inc'
Tags: [Server, Java, CI, Jenkins]
Classes:
org.openstack.ci_cd_pipeline_murano_app.Jenkins: Jenkins.yaml
org.openstack.ci_cd_pipeline_murano_app.Jenkins: Jenkins.yaml
UI: ui.yaml
Logo: logo.png
Require:

View File

@ -10,7 +10,7 @@ Description: |
Author: 'Mirantis, Inc'
Tags: [Images, CI, Zuul, Jenkins]
Classes:
org.openstack.ci_cd_pipeline_murano_app.Nodepool: Nodepool.yaml
org.openstack.ci_cd_pipeline_murano_app.Nodepool: Nodepool.yaml
UI: ui.yaml
Logo: logo.png
Require:

View File

@ -8,7 +8,7 @@ Description: |
Author: 'Mirantis, Inc'
Tags: [Server, LDAP]
Classes:
org.openstack.ci_cd_pipeline_murano_app.OpenLDAP: OpenLDAP.yaml
org.openstack.ci_cd_pipeline_murano_app.OpenLDAP: OpenLDAP.yaml
UI: ui.yaml
Logo: logo.png
Require:

View File

@ -11,7 +11,7 @@
# under the License.
Namespaces:
=: org.openstack.ci_cd_pipeline_murano_app.puppet
=: org.openstack.ci_cd_pipeline_murano_app.puppet
Name: Hiera

View File

@ -11,9 +11,9 @@
# under the License.
Namespaces:
=: org.openstack.ci_cd_pipeline_murano_app.puppet
conf: io.murano.configuration
sys: io.murano.system
=: org.openstack.ci_cd_pipeline_murano_app.puppet
conf: io.murano.configuration
sys: io.murano.system
Name: PuppetClient

View File

@ -11,10 +11,10 @@
# under the License.
Namespaces:
=: org.openstack.ci_cd_pipeline_murano_app.puppet
res: io.murano.resources
std: io.murano
sys: io.murano.system
=: org.openstack.ci_cd_pipeline_murano_app.puppet
res: io.murano.resources
std: io.murano
sys: io.murano.system
Name: PuppetInstance
@ -22,7 +22,7 @@ Extends: res:LinuxMuranoInstance
Properties:
hiera:
Contract: $.class(Hiera)
Contract: $.class(Hiera)
Methods:
.init:

View File

@ -11,10 +11,10 @@
# under the License.
Namespaces:
=: org.openstack.ci_cd_pipeline_murano_app.puppet
conf: io.murano.configuration
sys: io.murano.system
net: org.openstack.ci_cd_pipeline_murano_app.puppet.net
=: org.openstack.ci_cd_pipeline_murano_app.puppet
conf: io.murano.configuration
sys: io.murano.system
net: org.openstack.ci_cd_pipeline_murano_app.puppet.net
Name: PuppetServer
@ -101,9 +101,9 @@ Methods:
_installPuppetModules:
Body:
- $modules:
- 'puppetlabs-vcsrepo'
- 'theforeman-git'
- 'theforeman-puppet'
- 'puppetlabs-vcsrepo'
- 'theforeman-git'
- 'theforeman-puppet'
- $this.clients.select($.instance).append($this.masterInstance).selectMany(
let(x => $) -> $modules.select(

View File

@ -11,7 +11,7 @@
# under the License.
Namespaces:
=: org.openstack.ci_cd_pipeline_murano_app.puppet
=: org.openstack.ci_cd_pipeline_murano_app.puppet
Name: YamlFile

View File

@ -12,9 +12,9 @@
# TODO: Make every method of this class static when moving to Mitaka
Namespaces:
=: org.openstack.ci_cd_pipeline_murano_app.puppet
res: io.murano.resources
sys: io.murano.system
=: org.openstack.ci_cd_pipeline_murano_app.puppet
res: io.murano.resources
sys: io.murano.system
Name: YamlTool

View File

@ -40,7 +40,7 @@ Methods:
addHostByInstance:
Arguments:
- instance:
Contract: $.class(res:LinuxMuranoInstance).notNull()
Contract: $.class(res:LinuxMuranoInstance).notNull()
- aliases:
Contract:
- $.string()
@ -57,17 +57,17 @@ Methods:
#
getHostName:
Arguments:
- instance:
Contract: $.class(res:LinuxMuranoInstance).notNull()
- fqdn:
Contract: $.bool().notNull()
Default: false
- instance:
Contract: $.class(res:LinuxMuranoInstance).notNull()
- fqdn:
Contract: $.bool().notNull()
Default: false
Body:
- $linux: new(conf:Linux)
- If: $fqdn
Then:
- Return: $linux.runCommand($instance.agent, 'hostname -f').stdout
- Return: $linux.runCommand($instance.agent, 'hostname -f').stdout
- Return: $linux.runCommand($instance.agent, 'hostname -s').stdout

View File

@ -7,4 +7,4 @@
- murano
:yaml:
:datadir: /etc/puppet/hieradata
:datadir: /etc/puppet/hieradata

View File

@ -8,7 +8,7 @@ Description: |
Author: 'Mirantis, Inc'
Tags: [CI]
Classes:
org.openstack.ci_cd_pipeline_murano_app.puppet.SystemConfig: SystemConfig.yaml
org.openstack.ci_cd_pipeline_murano_app.puppet.SystemConfig: SystemConfig.yaml
UI: ui.yaml
Logo: logo.png
Require:

View File

@ -116,14 +116,14 @@ Methods:
_createPeriodicLayoutUpdate:
Body:
- $resources: new(sys:Resources)
- $linux: new(conf:Linux)
- $script: $resources.string('scripts/update_layout.sh')
- $._environment.reporter.report($this, '[Zuul] Creating autoupdating layout.yaml file...')
- $linux.putFile($.instance.agent, $script, '/usr/local/bin/update_layout.sh')
- $resources: new(sys:Resources)
- $linux: new(conf:Linux)
- $script: $resources.string('scripts/update_layout.sh')
- $._environment.reporter.report($this, '[Zuul] Creating autoupdating layout.yaml file...')
- $linux.putFile($.instance.agent, $script, '/usr/local/bin/update_layout.sh')
- $manifest: $resources.string('scripts/update_layout.pp')
- $this.instance.applyManifest($manifest, 60)
- $manifest: $resources.string('scripts/update_layout.pp')
- $this.instance.applyManifest($manifest, 60)
destroy:
Body:

View File

@ -7,7 +7,7 @@ Description: |
Author: 'Mirantis, Inc'
Tags: [CI, Zuul]
Classes:
org.openstack.ci_cd_pipeline_murano_app.Zuul: Zuul.yaml
org.openstack.ci_cd_pipeline_murano_app.Zuul: Zuul.yaml
UI: ui.yaml
Require:
org.openstack.ci_cd_pipeline_murano_app.puppet.Puppet: