|
23 | 23 | # be installed. You may specify an explicit version |
24 | 24 | # number, 'present', or 'latest'. Defaults to |
25 | 25 | # 'present'. |
| 26 | +# ['puppetdb_startup_timeout'] - The maximum amount of time that the module |
| 27 | +# should wait for puppetdb to start up; this is most |
| 28 | +# important during the initial install of puppetdb. |
| 29 | +# Defaults to 15 seconds. |
26 | 30 | # ['restart_puppet'] - If true, the module will restart the puppet master when |
27 | 31 | # necessary. The default is 'true'. If set to 'false', |
28 | 32 | # you must restart the service manually in order to pick |
|
43 | 47 | # TODO: finish porting this to use params |
44 | 48 | # |
45 | 49 | class puppetdb::master::config( |
46 | | - $puppetdb_server = $::clientcert, |
47 | | - $puppetdb_port = 8081, |
48 | | - $manage_routes = true, |
49 | | - $manage_storeconfigs = true, |
50 | | - $puppet_confdir = $puppetdb::params::puppet_confdir, |
51 | | - $puppet_conf = $puppetdb::params::puppet_conf, |
52 | | - $puppetdb_version = $puppetdb::params::puppetdb_version, |
53 | | - $terminus_package = $puppetdb::params::terminus_package, |
54 | | - $puppet_service_name = $puppetdb::params::puppet_service_name, |
| 50 | + $puppetdb_server = $::clientcert, |
| 51 | + $puppetdb_port = 8081, |
| 52 | + $manage_routes = true, |
| 53 | + $manage_storeconfigs = true, |
| 54 | + $puppet_confdir = $puppetdb::params::puppet_confdir, |
| 55 | + $puppet_conf = $puppetdb::params::puppet_conf, |
| 56 | + $puppetdb_version = $puppetdb::params::puppetdb_version, |
| 57 | + $terminus_package = $puppetdb::params::terminus_package, |
| 58 | + $puppet_service_name = $puppetdb::params::puppet_service_name, |
| 59 | + $puppetdb_startup_timeout = $puppetdb::params::puppetdb_startup_timeout, |
55 | 60 | $restart_puppet = true, |
56 | 61 | ) inherits puppetdb::params { |
57 | 62 |
|
|
64 | 69 | puppetdb_conn_validator { 'puppetdb_conn': |
65 | 70 | puppetdb_server => $puppetdb_server, |
66 | 71 | puppetdb_port => $puppetdb_port, |
| 72 | + timeout => $puppetdb_startup_timeout, |
67 | 73 | require => Package[$terminus_package], |
68 | 74 | } |
69 | 75 |
|
|
0 commit comments