This repository was archived by the owner on Mar 28, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +6
-15
lines changed Expand file tree Collapse file tree 6 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 135135 ' OpenBSD' => ' _puppet' ,
136136 default => ' puppet' ,
137137 }
138+
139+ $report_dir = ' /usr/lib/ruby/vendor_ruby/puppet/reports'
138140}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33#
44class puppet::reports::graphite ($server, $port, $prefix) {
55
6- include puppet::reports
7-
86 # This is a little bit dirty, as it just throws it straight in the
97 # rubylib, but it's better than messing with libdir on the master.
108 # See https://projects.puppetlabs.com/issues/4345 for mild
119 # discussion.
1210 file {
13- " /${puppet::reports ::report_dir} /graphite.rb" :
11+ " /${puppet::server ::report_dir} /graphite.rb" :
1412 ensure => present ,
1513 owner => ' root' ,
1614 group => ' root' ,
Original file line number Diff line number Diff line change 99 ' httparty' :;
1010 }
1111
12- require puppet::reports
13-
1412 # This is a little bit dirty, as it just throws it straight in the
1513 # rubylib, but it's better than messing with libdir on the master.
1614 # See https://projects.puppetlabs.com/issues/4345 for mild
1715 # discussion.
1816 file {
19- " ${puppet::reports ::report_dir} /irccat.rb" :
17+ " ${puppet::server ::report_dir} /irccat.rb" :
2018 ensure => present ,
2119 owner => ' root' ,
2220 group => ' root' ,
Original file line number Diff line number Diff line change 1212 ' httparty' :;
1313 }
1414
15- include puppet::reports
16-
1715 # This is a little bit dirty, as it just throws it straight in the
1816 # rubylib, but it's better than messing with libdir on the master.
1917 # See https://projects.puppetlabs.com/issues/4345 for mild
2018 # discussion.
2119 file {
22- " ${puppet::reports ::report_dir} /xmpp.rb" :
20+ " ${puppet::server ::report_dir} /xmpp.rb" :
2321 ensure => present ,
2422 owner => ' root' ,
2523 group => ' root' ,
Original file line number Diff line number Diff line change 4444 $parser = undef ,
4545 $manage_puppetdb = undef ,
4646 $report = true ,
47+ $report_dir = $puppet::params::report_dir,
4748 $reportfrom = undef ,
4849 $reports = [' store' , ' https' ],
4950 $reporturl = " http://${::fqdn} /reports" ,
You can’t perform that action at this time.
0 commit comments