Installing PuppetDB on Debian 8 with Puppet 3.7

533 views
Skip to first unread message

John Naggets

unread,
Jun 29, 2016, 8:46:23 AM6/29/16
to Puppet Users
Hello,

I am using Debian 8 with the puppetmaster package from the official Debian 8 repository. Now as Debian does not provide a puppetdb package I wanted to know from which source I should install PuppetDB? and also which version of PuppetDB to install? Will PuppetDB version 4.1 work with Puppet 3.7?

Cheers,
John

Nick Miller

unread,
Jun 29, 2016, 4:47:46 PM6/29/16
to puppet...@googlegroups.com
John,

Puppet provides a repo for Debian Jessie. You can install it with the rpm found here: https://apt.puppetlabs.com/

Best,
Nick

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/db41d374-f796-466a-bbe6-32bd85907642%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

OnyxPoint-logo-symbol-primary.png

Nicholas Miller
Consultant | Onyx Point, Inc.

7050 Hi Tech Drive, Suite 102

Hanover, MD. 21076
e: nick....@onyxpoint.com
w: 443-655-3675

copmany.pngcareers.pngproduct.pngmeetups.pngblog.png

John Naggets

unread,
Jun 29, 2016, 8:54:38 PM6/29/16
to Puppet Users
Thanks Nick for the pointer, I have now installed the puppetlabs-release-pc1-jessie.deb package from apt.puppetlabs.com and I am trying to install PuppetDB with the following command:

sudo puppet resource package puppetdb ensure=latest

Unfortunately I get the following a dependency error message which I have copied below. I suppose I have to install a specific version of PuppetDB in order to work with Debian's version 3.7 of Puppet, but which one?

Regards
J.


Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppetdb' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 puppetdb : Depends: puppet (>= 3.8.1-1puppetlabs1) or
                     puppet-agent but it is not going to be installed
            Depends: puppet (< 5.0.0-1puppetlabs1) or
                     puppet-agent but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Wyatt Alt

unread,
Jun 29, 2016, 9:40:01 PM6/29/16
to puppet...@googlegroups.com, John Naggets
John,

You'll want a PuppetDB version in the 2.x series -- 3+ requires Puppet 4.

On the offchance that you're just getting started, note that you can install the latest puppetserver and puppet-agent packages from the same PC1 repo, and that the latest PuppetDB will work with those.

Wyatt

John Naggets

unread,
Jun 30, 2016, 5:30:30 AM6/30/16
to Puppet Users, hosting...@gmail.com
Hi Wyatt,

Any ideas where I can find PuppetDB v2.x? In the APT repository of PuppetLabs the oldest I can find is version 3.2.

Regards
J.

Wyatt Alt

unread,
Jun 30, 2016, 4:12:19 PM6/30/16
to puppet...@googlegroups.com, hosting...@gmail.com



On 06/29/2016 10:30 PM, John Naggets wrote:
> Hi Wyatt,
>
> Any ideas where I can find PuppetDB v2.x? In the APT repository of
> PuppetLabs the oldest I can find is version 3.2.
Those are in the non-PC1 repos at apt.puppetlabs.com, but is no 2.3.x
package for Jessie there. The wheezy ones appear to work on jessie but I
haven't tested it thoroughly.

Wyatt

Melissa Stone

unread,
Jun 30, 2016, 5:28:34 PM6/30/16
to puppet...@googlegroups.com, hosting...@gmail.com
I wouldn't recommend running Wheezy packages on Jessie.  SystemD was introduced in Debian 8, and I believe last I heard there were some issues with running sysv services in the systemd environment. The Wheezy PDB packages are configured to run services as sysv. That being said, I have heard it does work for some people. Just know it's not recommended.

Wyatt


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
Melissa Stone
Release Engineer, Puppet Labs
--------------------------------------------------

PuppetConf 2016, October 17-21, San Diego, California
Early Birds save $350 - Register by June 30th

John Naggets

unread,
Jun 30, 2016, 8:56:31 PM6/30/16
to Puppet Users, hosting...@gmail.com
Hi Melissa,

So do I understand you correctly here: there is no way that I can run PuppetDB on a Debian 8 server using the official Debian Puppet version 3.7 package?

Regards
John

Melissa Stone

unread,
Jun 30, 2016, 10:00:27 PM6/30/16
to puppet...@googlegroups.com, hosting...@gmail.com
On Thu, Jun 30, 2016 at 1:56 PM John Naggets <hosting...@gmail.com> wrote:
Hi Melissa,

So do I understand you correctly here: there is no way that I can run PuppetDB on a Debian 8 server using the official Debian Puppet version 3.7 package?
You can run it with the wheezy package like Wyatt suggests, it should still work. It's just not the best way to run puppet on jessie. And you'll be running old code that probably has bugs and/or security issues. If you can switch over to puppetserver, puppet-agent, and puppetdb from the official puppetlabs repo, I'd strongly suggest that. You'll be able to access the latest packages for all three packages whenever we make new releases available.

For more options, visit https://groups.google.com/d/optout.

John Naggets

unread,
Jul 3, 2016, 7:23:23 PM7/3/16
to Puppet Users, hosting...@gmail.com
This means I would have to redo my whole current version 3 puppet master node in oder to be sure it works with version 4 and on top of that I would have to upgrade all nodes with your own package of puppet 4. This is a clear no go for me. I want to use the official packages of Debian and I can't understand why you have such a package for all other distributions but not for Debian 8. I am really disappointed and would like to know why you do not simply create a package which is compatible with Debian 8?

J.

Melissa Stone

unread,
Jul 5, 2016, 5:26:42 PM7/5/16
to puppet...@googlegroups.com, hosting...@gmail.com
On Sun, Jul 3, 2016 at 12:23 PM John Naggets <hosting...@gmail.com> wrote:
This means I would have to redo my whole current version 3 puppet master node in oder to be sure it works with version 4 and on top of that I would have to upgrade all nodes with your own package of puppet 4. This is a clear no go for me. I want to use the official packages of Debian and I can't understand why you have such a package for all other distributions but not for Debian 8. I am really disappointed and would like to know why you do not simply create a package which is compatible with Debian 8?
We only provide packages for new platforms for the current series. Debian 8 was released after we began providing packages for the PuppetDB 3 series. That means we are only going to provide packages for PuppetDB 3.x and later on Debian 8.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages