aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/tripleo-packages.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2016-08-15 15:11:38 -0400
committerDan Prince <dprince@redhat.com>2016-08-17 08:25:37 -0400
commit0df577c6f0acc672b53d470e4cfedb1d7d9c53d1 (patch)
treeff4e657b7ee6fa592d12ac13d797cd84a359a289 /puppet/services/tripleo-packages.yaml
parent0b2829480a299dcba6d5471a99ed76fb92ca31a6 (diff)
Add tripleo-packages composable service
This creates a new service to help manage the puppet-tripleo class that enables and disables package installation features. NOTE: we can't move the upgrade setting into the new composable service yet due to coupling with the UpgradeDeployment resources. Change-Id: If35cf6a6f023e12ae8ebbc2d9929d244eb3ffa3a
Diffstat (limited to 'puppet/services/tripleo-packages.yaml')
-rw-r--r--puppet/services/tripleo-packages.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/puppet/services/tripleo-packages.yaml b/puppet/services/tripleo-packages.yaml
new file mode 100644
index 00000000..b02a0a8e
--- /dev/null
+++ b/puppet/services/tripleo-packages.yaml
@@ -0,0 +1,25 @@
+heat_template_version: 2016-04-08
+
+description: >
+ TripleO Package installation settings
+
+parameters:
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+ EnablePackageInstall:
+ default: 'false'
+ description: Set to true to enable package installation via Puppet
+ type: boolean
+
+outputs:
+ role_data:
+ description: Role data for the TripleO package settings
+ value:
+ service_name: tripleo_packages
+ config_settings:
+ tripleo::packages::enable_install: {get_param: EnablePackageInstall}
+ step_config: |
+ include ::tripleo::packages