This repository was archived by the owner on Aug 29, 2018. It is now read-only.
File tree 3 files changed +25
-1
lines changed
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.
953
953
954
954
Default: false
955
955
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
+
956
964
== Manual Tasks
957
965
958
966
This script attempts to automate as many tasks as it reasonably can.
Original file line number Diff line number Diff line change 184
184
}
185
185
}
186
186
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
+
187
195
file { 'quickstarts' :
188
196
ensure => present ,
189
197
path => ' /etc/openshift/quickstarts.json' ,
190
- content => template ( ' openshift_origin/broker/quickstarts.json.erb ' ) ,
198
+ content => $quickstart_content ,
191
199
owner => ' root' ,
192
200
group => ' root' ,
193
201
mode => ' 0644' ,
Original file line number Diff line number Diff line change 728
728
#
729
729
# Default: undef
730
730
#
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
+ #
731
739
# == Manual Tasks
732
740
#
733
741
# This script attempts to automate as many tasks as it reasonably can.
You can’t perform that action at this time.
0 commit comments