This repository was archived by the owner on Mar 28, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1010At an absolute minimum, you need the following.
1111
1212``` Puppet
13- class { " puppet::server" :
13+ class { ' puppet::server' :
1414 servertype => 'standalone',
1515 manifest => '/etc/puppet/manifests/site.pp',
1616 ca => true,
@@ -26,13 +26,13 @@ something that scales a bit more.
2626``` Puppet
2727class service::puppet::master($servertype, $ca = false) {
2828
29- class { " ::puppet::server" :
29+ class { ' ::puppet::server' :
3030 modulepath => [
3131 '$confdir/modules/site',
3232 '$confdir/env/$environment/dist',
3333 ],
34- storeconfigs => " puppetdb" ,
35- reporturl => " https://my.puppet.dashboard/reports" ,
34+ storeconfigs => ' puppetdb' ,
35+ reporturl => ' https://my.puppet.dashboard/reports' ,
3636 servertype => 'unicorn',
3737 manifest => '$confdir/environments/$environment/site.pp',
3838 ca => $ca,
Original file line number Diff line number Diff line change 2525 $db_host = ' localhost' ,
2626 $db_name = ' puppet_dashboard' ,
2727 $manage_db = true ,
28- $site = " dashboard.${domain} " ,
28+ $site = " dashboard.${:: domain} " ,
2929 $allowip = ' '
3030) {
3131
3232 include ruby::dev
3333
34- $allow_all_ips = " ${allowip} ,${ipaddress} "
34+ $allow_all_ips = " ${allowip} ,${:: ipaddress} "
3535 $approot = ' /usr/share/puppet-dashboard'
3636 $dashboard_site = $site
3737
6464
6565 if $manage_db {
6666 # FIXME THIS IS NOT COMPATIBLE WITH THE NEW MYSQL MODULE
67- mysql::db { " dashboard_production" :
67+ mysql::db { ' dashboard_production' :
6868 db_user => $db_user ,
6969 db_pw => $db_pw ;
7070 }
9797 " ${approot} /public/stylesheets" ,
9898 " ${approot} /public/javascript"
9999 ]:
100- mode => 0755,
101- owner => ' www-data' ,
102- group => ' www-data' ,
100+ mode => ' 0755' ,
101+ owner => ' www-data' ,
102+ group => ' www-data' ,
103103 require => Package[' puppet-dashboard' ],
104104 }
105105}
Original file line number Diff line number Diff line change 11class puppet::reports {
2- $report_dir = $puppet_major_version ? {
2+ $report_dir = $:: puppet_major_version ? {
33 ' 3' => ' /usr/lib/ruby/vendor_ruby/puppet/reports' ,
44 ' 2' => ' /usr/lib/ruby/1.8/puppet/reports' ,
55 }
You can’t perform that action at this time.
0 commit comments