Merge "Prefill Sensu client custom config"
[apex-tripleo-heat-templates.git] / puppet / services / manila-backend-generic.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Openstack Manila generic backend.
5
6 parameters:
7   ManilaGenericBackendName:
8     type: string
9     default: tripleo_generic
10   ManilaGenericDriverHandlesShareServers:
11     type: string
12     default: true
13   ManilaGenericSmbTemplateConfigPath:
14     type: string
15     default: '$state_path/smb.conf'
16   ManilaGenericVolumeNameTemplate:
17     type: string
18     default: 'manila-share-%s'
19   ManilaGenericVolumeSnapshotNameTemplate:
20     type: string
21     default: 'manila-snapshot-%s'
22   ManilaGenericShareMountPath:
23     type: string
24     default: '/shares'
25   ManilaGenericMaxTimeToCreateVolume:
26     type: string
27     default: '180'
28   ManilaGenericMaxTimeToAttach:
29     type: string
30     default: '120'
31   ManilaGenericServiceInstanceSmbConfigPath:
32     type: string
33     default: '$share_mount_path/smb.conf'
34   ManilaGenericShareVolumeFsType:
35     type: string
36     default: 'ext4'
37   ManilaGenericCinderVolumeType:
38     type: string
39     default: ''
40   ManilaServiceInstanceUser:
41     type: string
42     default: ''
43   ManilaServiceInstancePassword: #SET THIS via parameter_defaults
44     type: string
45     hidden: true
46   ManilaServiceInstanceFlavorId:
47     type: number
48     default: 1
49   ManilaServiceNetworkCidr:
50     type: string
51     default: '172.16.0.0/16'
52   ServiceNetMap:
53     default: {}
54     description: Mapping of service_name -> network name. Typically set
55                  via parameter_defaults in the resource registry.  This
56                  mapping overrides those in ServiceNetMapDefaults.
57     type: json
58   DefaultPasswords:
59     default: {}
60     type: json
61   EndpointMap:
62     default: {}
63     type: json
64     description: Mapping of service endpoint -> protocol. Typically set
65                  via parameter_defaults in the resource registry.
66
67 outputs:
68   role_data:
69     description: Role data for the Manila Generic backend.
70     value:
71       service_name: manila_backend_generic
72       config_settings:
73         manila::backend::generic::title: {get_param: ManilaGenericBackendName}
74         manila::backend::generic::driver_handles_share_servers: {get_param: ManilaGenericDriverHandlesShareServers}
75         manila::backend::generic::smb_template_config_path: {get_param: ManilaGenericSmbTemplateConfigPath}
76         manila::backend::generic::volume_name_template: {get_param: ManilaGenericVolumeNameTemplate}
77         manila::backend::generic::volume_snapshot_name_template: {get_param: ManilaGenericVolumeSnapshotNameTemplate}
78         manila::backend::generic::share_mount_path: {get_param: ManilaGenericShareMountPath}
79         manila::backend::generic::max_time_to_create_volume: {get_param: ManilaGenericMaxTimeToCreateVolume}
80         manila::backend::generic::max_time_to_attach: {get_param: ManilaGenericMaxTimeToAttach}
81         manila::backend::generic::service_instance_smb_config_path: {get_param: ManilaGenericServiceInstanceSmbConfigPath}
82         manila::backend::generic::share_volume_fstype: {get_param: ManilaGenericShareVolumeFsType}
83         manila::backend::generic::cinder_volume_type: {get_param: ManilaGenericCinderVolumeType}
84         manila::service_instance::service_instance_user: {get_param: ManilaServiceInstanceUser}
85         manila::service_instance::service_instance_password: {get_param: ManilaServiceInstancePassword}
86         manila::service_instance::service_instance_flavor_id: {get_param: ManilaServiceInstanceFlavorId}
87         manila::service_instance::service_network_cidr: {get_param: ManilaServiceNetworkCidr}
88
89       step_config: