This repository was archived by the owner on Aug 29, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -953,6 +953,14 @@ This parameter is only used when _ose_version_ is set.
953953
954954Default: false
955955
956+ === quickstarts_json
957+ JSON content to be deployed into /etc/openshift/quickstarts.json
958+
959+ Default: undef, which on Origin will deploy the contents
960+ of templates/broker/quickstarts.json.erb
961+
962+ OSE Default: undef and will not deploy any quickstarts
963+
956964== Manual Tasks
957965
958966This script attempts to automate as many tasks as it reasonably can.
Original file line number Diff line number Diff line change 184184 }
185185 }
186186
187+ if $::openshift_origin::quickstarts_json {
188+ $quickstart_content = $::openshift_origin::quickstarts_json
189+ } elsif $::openshift_origin::ose_version == undef {
190+ $quickstart_content = template (' openshift_origin/broker/quickstarts.json.erb' )
191+ } else {
192+ $quickstart_content = ' '
193+ }
194+
187195 file { 'quickstarts' :
188196 ensure => present ,
189197 path => ' /etc/openshift/quickstarts.json' ,
190- content => template ( ' openshift_origin/broker/quickstarts.json.erb ' ) ,
198+ content => $quickstart_content ,
191199 owner => ' root' ,
192200 group => ' root' ,
193201 mode => ' 0644' ,
Original file line number Diff line number Diff line change 728728#
729729# Default: undef
730730#
731+ # [*quickstarts_json*]
732+ # JSON content to be deployed into /etc/openshift/quickstarts.json
733+ #
734+ # Default: undef, which on Origin will deploy the contents
735+ # of templates/broker/quickstarts.json.erb
736+ #
737+ # OSE Default: undef and will not deploy any quickstarts
738+ #
731739# == Manual Tasks
732740#
733741# This script attempts to automate as many tasks as it reasonably can.
You can’t perform that action at this time.
0 commit comments