50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
# Copyright 2016 AT&T, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
- id: nitrous
|
|
type: group
|
|
role: [nitrous]
|
|
tasks: [hiera, globals, tools, logging, netconfig, hosts, deploy_start]
|
|
parameters:
|
|
strategy:
|
|
type: parallel
|
|
|
|
- id: nitrous-deployment-puppet
|
|
type: puppet
|
|
role: [nitrous]
|
|
version: 2.0.0
|
|
required_for: [deploy_end]
|
|
requires: [deploy_start]
|
|
parameters:
|
|
puppet_manifest: puppet/manifests/nitrous.pp
|
|
puppet_modules: puppet/modules:/etc/puppet/modules
|
|
timeout: 720
|
|
|
|
- id: nitrous-post-deployment-sh
|
|
type: shell
|
|
version: 2.0.0
|
|
role: [nitrous]
|
|
cross-depends:
|
|
- name: post_deployment_start
|
|
cross-depended-by:
|
|
- name: post_deployment_end
|
|
requires: [post_deploy_start]
|
|
required_for: [post_deploy_end]
|
|
parameters:
|
|
cmd: |
|
|
echo -e "#!/bin/sh \n\n/bin/sleep 60 && /usr/bin/opsvm -a >>/var/log/nitrous.log" > /etc/ops_create.sh && chmod +x /etc/ops_create.sh;
|
|
retries: 0
|
|
interval: 10
|
|
timeout: 120
|