Ask Your Question
0

puppetdb termini installation is removing puppet and puppetmaster

asked 2015-11-10 18:14:05 -0600

udaysagar gravatar image

I have installed puppetlabs-puppetdb module v5.0.0. As given in the instructions, I am changing my manifests to include puppetdb and master config like below:

node puppet {
  class { 'puppetdb':
  }
  class { 'puppetdb::master::config':
    puppetdb_server => 'puppetdb',
  }
}

My puppet version is 3.8.4 from apt-puppetlabs.com trusty/main repository

I am able to install puppetdb 3.2 version but the step class { 'puppetdb::master::config': } is installing puppetdb-termini and removing puppet, puppetmaster and few other packages.

I have tried installing puppetdb 2.3 version so that it is compatible with puppet 3.8.4 but puppetdb-termini is removing other puppet packages irrelevant of puppetdb version.

FYI: puppetdb-termini being installed is of version: 3.2.0-1puppetlabs1

I don't know the exact reason. Any help would be highly appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-11-12 00:51:50 -0600

Cristian Falcas gravatar image

For puppet 3.8 you need puppet db 2.3. Use something like this:

  class { 'puppetdb::master::config':
    terminus_package    => 'puppetdb-terminus',
    test_url            => '/v3/version',
    restart_puppet      => true,
  }
edit flag offensive delete link more

Comments

Thanks Cristian, I did the same thing but in a different manner I am installing puppetdb 2.3 explicitly class { 'puppetdb::globals': version => '2.3.8-1puppetlabs1', } Inside the puppetdb:master:config, there is if block which detects the version of the puppetdb and installs the supported terminus

udaysagar gravatar imageudaysagar ( 2015-11-13 13:42:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-11-10 18:14:05 -0600

Seen: 315 times

Last updated: Nov 12 '15