1 heat_template_version: pike
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: Role name on which the service is applied
22 description: Parameters specific to the role
26 description: Mapping of service endpoint -> protocol. Typically set
27 via parameter_defaults in the resource registry.
31 description: Set to true to enable package installation via Puppet
36 description: Role data for the TripleO package settings
38 service_name: tripleo_packages
40 tripleo::packages::enable_install: {get_param: EnablePackageInstall}
42 include ::tripleo::packages
44 - name: Check yum for rpm-python present
46 yum: "name=rpm-python state=present"
47 register: rpm_python_check
48 - name: Fail when rpm-python wasn't present
49 fail: msg="rpm-python package was not present before this run! Check environment before re-running"
50 when: rpm_python_check.changed != false
52 - name: Update all packages
54 yum: name=* state=latest