@@ -15,11 +15,6 @@ class { 'mongodb::globals': }
1515 package_ensure => absent,
1616 service_ensure => stopped
1717 }
18- if $::osfamily == 'RedHat' {
19- class { 'mongodb::client':
20- ensure => absent
21- }
22- }
2318 EOS
2419
2520 apply_manifest_on ( hosts . reverse , pp , catch_failures : true )
@@ -32,9 +27,6 @@ class { 'mongodb::globals': }
3227 bind_ip => '0.0.0.0',
3328 replset => 'test',
3429 }
35- if $::osfamily == 'RedHat' {
36- class { 'mongodb::client': }
37- }
3830 EOS
3931
4032 apply_manifest_on ( hosts . reverse , pp , catch_failures : true )
@@ -85,11 +77,6 @@ class { 'mongodb::globals': }
8577 package_ensure => absent,
8678 service_ensure => stopped
8779 }
88- if $::osfamily == 'RedHat' {
89- class { 'mongodb::client':
90- ensure => absent
91- }
92- }
9380 EOS
9481
9582 apply_manifest_on ( hosts . reverse , pp , catch_failures : true )
@@ -126,9 +113,6 @@ class { 'mongodb::server':
126113 YXIsJ0gYcu9XG3mx10LbdPJvxSMg'
127114
128115 }
129- if $::osfamily == 'RedHat' {
130- include mongodb::client
131- }
132116 EOS
133117
134118 apply_manifest_on ( hosts . reverse , pp , catch_failures : true )
@@ -166,9 +150,6 @@ class { 'mongodb::server':
166150 nc1ohyB0lNt8lHf1U00mtgDSV3fwo5LkwhRi6d+bDBTL/C6MZETMLdyCqDlTdUWG
167151 YXIsJ0gYcu9XG3mx10LbdPJvxSMg'
168152 }
169- if $::osfamily == 'RedHat' {
170- include mongodb::client
171- }
172153 mongodb_replset { 'test':
173154 auth_enabled => true,
174155 members => [#{ hosts . map { |x | "'#{ x } :27017'" } . join ( ',' ) } ],
0 commit comments