|
4 | 4 | class candlepin::artemis { |
5 | 5 | assert_private() |
6 | 6 |
|
7 | | - $broker_context = { |
8 | | - 'module_name' => $module_name, |
9 | | - 'artemis_host' => $candlepin::artemis_host, |
10 | | - 'artemis_port' => $candlepin::artemis_port, |
11 | | - 'keystore_file' => $candlepin::keystore_file, |
12 | | - 'keystore_password' => $candlepin::_keystore_password, |
13 | | - 'truststore_file' => $candlepin::truststore_file, |
14 | | - 'truststore_password' => $candlepin::_truststore_password, |
15 | | - } |
16 | | - |
17 | | - file { $candlepin::broker_config_file: |
18 | | - ensure => file, |
19 | | - content => epp('candlepin/broker.xml.epp', $broker_context), |
20 | | - mode => '0640', |
21 | | - owner => $candlepin::user, |
22 | | - group => $candlepin::group, |
| 7 | + file { '/etc/candlepin/broker.xml': |
| 8 | + ensure => absent, |
23 | 9 | } |
24 | 10 |
|
25 | 11 | file { "${candlepin::tomcat_conf}/login.config": |
26 | | - ensure => file, |
27 | | - content => file('candlepin/tomcat/login.config'), |
28 | | - mode => '0640', |
29 | | - owner => $candlepin::user, |
30 | | - group => $candlepin::group, |
| 12 | + ensure => absent, |
31 | 13 | } |
32 | 14 |
|
33 | 15 | file { "${candlepin::tomcat_conf}/cert-users.properties": |
34 | | - ensure => file, |
35 | | - content => Deferred('inline_epp', ["katelloUser=<%= \$artemis_client_dn %>\n", { 'artemis_client_dn' => $candlepin::artemis_client_dn }]), |
36 | | - mode => '0640', |
37 | | - owner => $candlepin::user, |
38 | | - group => $candlepin::group, |
| 16 | + ensure => absent, |
39 | 17 | } |
40 | 18 |
|
41 | 19 | file { "${candlepin::tomcat_conf}/cert-roles.properties": |
42 | | - ensure => file, |
43 | | - content => file('candlepin/tomcat/cert-roles.properties'), |
44 | | - mode => '0640', |
45 | | - owner => $candlepin::user, |
46 | | - group => $candlepin::group, |
| 20 | + ensure => absent, |
47 | 21 | } |
48 | 22 |
|
49 | 23 | file { "${candlepin::tomcat_conf}/conf.d/jaas.conf": |
50 | | - ensure => file, |
51 | | - content => file('candlepin/tomcat/jaas.conf'), |
52 | | - mode => '0640', |
53 | | - owner => $candlepin::user, |
54 | | - group => $candlepin::group, |
55 | | - } |
56 | | - |
57 | | - if $facts['os']['selinux']['enabled'] { |
58 | | - selboolean { 'candlepin_can_bind_activemq_port': |
59 | | - value => 'on', |
60 | | - persistent => true, |
61 | | - } |
| 24 | + ensure => absent, |
62 | 25 | } |
63 | 26 | } |
0 commit comments