Skip to content

Commit 131a882

Browse files
committed
Switch puppetdb->openvoxdb module
1 parent 9767163 commit 131a882

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

.fixtures.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fixtures:
66
extlib: 'https://github.com/voxpupuli/puppet-extlib.git'
77
git: 'https://github.com/theforeman/puppet-git.git'
88
inifile: 'https://github.com/puppetlabs/puppetlabs-inifile.git'
9-
puppetdb: 'https://github.com/puppetlabs/puppetlabs-puppetdb.git'
9+
openvoxdb: 'https://github.com/voxpupuli/puppet-openvoxdb.git'
1010
puppetserver_foreman: 'https://github.com/theforeman/puppet-puppetserver_foreman.git'
1111
stdlib: 'https://github.com/puppetlabs/puppetlabs-stdlib.git'
1212
systemd: 'https://github.com/voxpupuli/puppet-systemd.git'

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ Then the `foreman_ssl_{ca,cert,key}` parameters are ignored and `certs::puppet`
5656

5757
## PuppetDB integration
5858

59-
The Puppet server can be configured to export catalogs and reports to a PuppetDB instance, using the puppetlabs/puppetdb module.
60-
Use its `puppetdb::server` class to install the PuppetDB server and this module to configure the Puppet server to connect to PuppetDB.
59+
The OpenVox-Server can be configured to export catalogs and reports to a OpenVoxDB instance, using the [puppet/openboxdb](https://forge.puppet.com/modules/puppet/openvoxdb/readme) module.
60+
Use its `openvoxdb::server` class to install the OpenVoxDB server and this module to configure the OpenVox-Server to connect to OpenVoxDB.
6161

62-
Requires [puppetlabs/puppetdb](https://forge.puppetlabs.com/puppetlabs/puppetdb)
62+
**OpenVoxDB is the Open-Source PuppetDB successor, so some places still reference puppetdb**
6363

6464
```puppet
6565
class { 'puppet':
@@ -72,23 +72,23 @@ class { 'puppet::server::puppetdb':
7272
}
7373
```
7474

75-
Above example manages Puppetserver + PuppetDB integration.
76-
It won't install the PuppetDB.
77-
To do so, you also need the `puppetdb` class
75+
Above example manages Puppetserver + OpenVoxDB integration.
76+
It won't install the OpenVoxDB.
77+
To do so, you also need the `openvoxdb` module
7878

7979
```puppet
8080
class { 'puppet':
8181
server => true,
8282
server_reports => 'puppetdb,foreman',
8383
server_storeconfigs => true,
8484
}
85-
include puppetdb
85+
include openvoxdb
8686
class { 'puppet::server::puppetdb':
87-
server => 'mypuppetdb.example.com',
87+
server => 'myopenvoxdb.example.com',
8888
}
8989
```
9090

91-
Then the PuppetDB module will also configure postgresql and setup the database.
91+
Then the OpenVoxDB module will also configure postgresql and setup the database.
9292
If you want to manage postgresql installation on your own:
9393

9494
```puppet
@@ -106,23 +106,23 @@ postgresql::server::extension { 'pg_trgm':
106106
require => Postgresql::Server::Db['puppetdb'],
107107
before => Service['puppetdb'],
108108
}
109-
class { 'puppetdb':
109+
class { 'openvoxdb':
110110
manage_dbserver => false,
111111
}
112112
class { 'puppet::server::puppetdb':
113-
server => 'mypuppetdb.example.com',
113+
server => 'myopenvoxdb.example.com',
114114
}
115115
```
116116

117117
Above code will install Puppetserver/PuppetDB/PostgreSQL on a single server.
118118
It will use the upstream postgresql repositories.
119119
It was tested on Ubuntu.
120120

121-
Please also make sure your puppetdb ciphers are compatible with your puppet server ciphers, ie that the two following parameters match:
121+
Please also make sure your OpenVoxDB ciphers are compatible with your puppet server ciphers, ie that the two following parameters match:
122122

123123
```
124124
puppet::server::cipher_suites
125-
puppetdb::server::cipher_suites
125+
openvoxdb::server::cipher_suites
126126
```
127127

128128
By default, the Perforce packages are used.

manifests/server/puppetdb.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
Boolean $soft_write_failure = false,
3434
Optional[String[1]] $terminus_package = undef,
3535
) {
36-
class { 'puppetdb::master::config':
36+
class { 'openvoxdb::master::config':
3737
puppetdb_server => $server,
3838
puppetdb_port => $port,
3939
puppetdb_soft_write_failure => $soft_write_failure,
4040
manage_storeconfigs => false,
4141
restart_puppet => false,
4242
terminus_package => $terminus_package,
4343
}
44-
Class['puppetdb::master::puppetdb_conf'] ~> Class['puppet::server::service']
44+
Class['openvoxdb::master::puppetdb_conf'] ~> Class['puppet::server::service']
4545
}

0 commit comments

Comments
 (0)