File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 4646# [*mongodb_version*] - Version of MongoDB to install. If not provided it
4747# will be auto-calcuated based on $version
4848# (default: undef)
49+ # [*manage_repo*] - Set this to false when you have your own repositories for nginx
4950#
5051# Variables can be set in Hiera and take advantage of automatic data bindings:
5152#
103104 $ng_init = true ,
104105 $datastore_keys_dir = $::st2::params::datstore_keys_dir,
105106 $datastore_key_path = " ${::st2::params::datstore_keys_dir} /datastore_key.json" ,
107+ $nginx_manage_repo = true ,
106108) inherits st2::params {}
Original file line number Diff line number Diff line change 55#
66# === Parameters
77#
8- # This module contains no parameters
8+ # [*manage_repo*] - Set this to false when you have your own repository for nginx
99#
1010# === Variables
1111#
1515#
1616# include st2::profile::nginx
1717#
18- class st2::profile::nginx inherits st2 {
18+ class st2::profile::nginx (
19+ $manage_repo = $::st2::nginx_manage_repo
20+ ) inherits st2 {
1921 class { '::nginx' :
20- manage_repo => true ,
22+ manage_repo => $manage_repo ,
2123 confd_purge => false ,
2224 }
2325}
You can’t perform that action at this time.
0 commit comments