File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 88
88
$digest_algorithm = $::puppet::params::digest_algorithm,
89
89
$generate_ssl_certs = true ,
90
90
$strict_variables = undef ,
91
+ $puppetdb_version = ' present' ,
91
92
) inherits puppet::params {
92
93
93
94
anchor { 'puppet::master::begin' : }
197
198
puppet_master_package => $puppet_master_package ,
198
199
puppetdb_startup_timeout => $puppetdb_startup_timeout ,
199
200
puppetdb_strict_validation => $puppetdb_strict_validation ,
201
+ puppetdb_version => $puppetdb_version ,
200
202
} ->
201
203
Anchor[' puppet::master::end' ]
202
204
}
Original file line number Diff line number Diff line change 27
27
# }
28
28
#
29
29
class puppet::storeconfigs (
30
- $dbserver,
31
30
$dbport,
32
- $puppet_service ,
31
+ $dbserver ,
33
32
$puppet_master_package,
33
+ $puppet_service,
34
34
$puppetdb_startup_timeout,
35
35
$puppetdb_strict_validation,
36
+ $puppetdb_version,
37
+ $puppet_conf = $::puppet::params::puppet_conf,
36
38
$puppet_confdir = $::puppet::params::confdir,
37
- $puppet_conf = $::puppet::params::puppet_conf
38
39
)inherits puppet::params {
39
40
40
41
# #If we point at a puppetdb on this machine
57
58
puppetdb_startup_timeout => $puppetdb_startup_timeout ,
58
59
strict_validation => $puppetdb_strict_validation ,
59
60
require => $require ,
61
+ puppetdb_version => $puppetdb_version ,
60
62
}
61
63
}
62
64
}
Original file line number Diff line number Diff line change 18
18
:puppet_conf => '/etc/puppet/puppet.conf' ,
19
19
:puppet_master_package => 'puppstmaster' ,
20
20
:puppetdb_startup_timeout => '60' ,
21
- :puppetdb_strict_validation => true
21
+ :puppetdb_strict_validation => true ,
22
+ :puppetdb_version => 'present'
22
23
}
23
24
end
24
25
44
45
:puppet_conf => '/etc/puppet/puppet.conf' ,
45
46
:puppet_master_package => 'puppstmaster' ,
46
47
:puppetdb_startup_timeout => '60' ,
47
- :puppetdb_strict_validation => true
48
+ :puppetdb_strict_validation => true ,
49
+ :puppetdb_version => 'present'
48
50
}
49
51
end
50
52
Original file line number Diff line number Diff line change 1
1
class {'puppet::storeconfigs' :
2
2
dbserver => ' test.example.com' ,
3
3
dbport => ' 8081' ,
4
- puppet_service => Service[' httpd' ]
4
+ puppet_service => Service[' httpd' ],
5
+ puppetdb_version => ' present'
5
6
}
You can’t perform that action at this time.
0 commit comments