Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / tuned.yaml
1 heat_template_version: ocata
2
3 description: >
4   Configure tuned
5
6 parameters:
7   ServiceData:
8     default: {}
9     description: Dictionary packing service data
10     type: json
11   ServiceNetMap:
12     default: {}
13     description: Mapping of service_name -> network name. Typically set
14                  via parameter_defaults in the resource registry.  This
15                  mapping overrides those in ServiceNetMapDefaults.
16     type: json
17   DefaultPasswords:
18     default: {}
19     type: json
20   EndpointMap:
21     default: {}
22     description: Mapping of service endpoint -> protocol. Typically set
23                  via parameter_defaults in the resource registry.
24     type: json
25   RoleName:
26     default: ''
27     description: Role name on which the service is applied
28     type: string
29   RoleParameters:
30     default: {}
31     description: Parameters specific to the role
32     type: json
33   TunedProfileName:
34     default: ''
35     description: Tuned Profile to apply to the host
36     type: string
37
38 outputs:
39   role_data:
40     description: Role data for tuned
41     value:
42       service_name: tuned
43       config_settings:
44         map_replace:
45           - map_replace:
46             - tripleo::profile::base::tuned::profile: TunedProfileName
47             - values: {get_param: RoleParameters}
48           - values: {'TunedProfileName': {get_param: TunedProfileName}}
49       step_config: |
50         include ::tripleo::profile::base::tuned