1 heat_template_version: ocata
4 TripleO Package installation settings
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
23 description: Set to true to enable package installation via Puppet
28 description: Role data for the TripleO package settings
30 service_name: tripleo_packages
32 tripleo::packages::enable_install: {get_param: EnablePackageInstall}
34 include ::tripleo::packages
36 - name: Check yum for rpm-python present
38 yum: "name=rpm-python state=present"
39 register: rpm_python_check
40 - name: Fail when rpm-python wasn't present
41 fail: msg="rpm-python package was not present before this run! Check environment before re-running"
42 when: rpm_python_check.changed != false
44 - name: Update all packages
46 yum: name=* state=latest