Merge "update log helm chart from 2 to 3.0.0"
[oom.git] / TOSCA / cloudify-environment-setup / imports / manager-configuration.yaml
1 # ============LICENSE_START==========================================
2 # ===================================================================
3 # Copyright (c) 2018 AT&T
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #         http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #============LICENSE_END============================================
17
18 inputs:
19
20   password:
21     description: >
22       Your manager password. If you do not provide one will be randomly generated, but it will not be displayed at the end.
23
24   rpm:
25     description: >
26       If inputs.bootstrap is false, this is the CLI RPM to install and bootstrap with.
27     default:  http://repository.cloudifysource.org/cloudify/18.3.23/community-release/cloudify-manager-install-community-18.3.23.rpm
28
29   blueprints:
30     default:
31     - file: update-blueprint.yaml
32       name: aws-example-network
33       url: https://github.com/cloudify-examples/aws-example-network/archive/4.3.zip
34     - file: simple-blueprint.yaml
35       name: openstack-example-network
36       url: https://github.com/cloudify-examples/openstack-example-network/archive/4.3.zip
37     - file: simple-blueprint.yaml
38       name: azure-example-network
39       url: https://github.com/cloudify-examples/azure-example-network/archive/4.3.zip
40     - file: simple-blueprint.yaml
41       name: gcp-example-network
42       url: https://github.com/cloudify-examples/gcp-example-network/archive/4.3.zip
43
44 node_types:
45
46   cloudify.nodes.Manager.EnvironmentSetup:
47     derived_from: cloudify.nodes.Root
48     interfaces:
49       cloudify.interfaces.lifecycle:
50         create:
51           implementation: fabric.fabric_plugin.tasks.run_task
52           inputs:
53             tasks_file:
54               default: scripts/manager/tasks.py
55             task_name:
56               default: create
57             task_properties:
58               default:
59                 private_ip: { get_input: private_ip }
60                 public_ip: { get_input: public_ip }
61                 rpm: { get_input: rpm }
62                 secrets: { get_input: secrets }
63                 blueprints: { get_input: blueprints }
64                 password: { get_input: password }
65             fabric_env:
66               default:
67                 host_string: { get_input: public_ip }
68                 user: { get_input: cloudify_image_username }
69                 key_filename: { get_input: cloudify_key_file  }
70
71 node_templates:
72
73   ManagerSetup:
74     type: cloudify.nodes.Manager.EnvironmentSetup
75     relationships:
76       - type: cloudify.relationships.depends_on
77         target: cloudify_host