Puppet 4 on Debian Jessie amd64

2,091 views
Skip to first unread message

Richard Wales

unread,
Jul 27, 2015, 9:40:49 AM7/27/15
to Puppet Users
Hi folks,

Apparently PC1 is available on Debian Jessie now. Unfortunately, I can't get it to work. I've attached a vagrant file to facilitate reproduction (remove the .txt extension that I had to add to upload it).

Here are the relevant commands I am running (as per the docs at https://docs.puppetlabs.com/puppet/latest/reference/install_linux.html ):

# dpkg -i puppetlabs-release-pc1-jessie.deb
# apt-get update
# apt-get install puppetserver -y # This fails

The bottom line is the new packages aren't available; only the old (puppet 3.7.x packages). Can anyone shed any light? Where am I going wrong guys?

Cheers,
Richard

P.S. Here are some diagnostic commands for the curious:

# apt-cache search puppet | grep ^puppet

==> default: puppet - configuration management system, agent

==> default: puppet-common - configuration management system

==> default: puppet-el - syntax highlighting for puppet manifests in emacs

==> default: puppet-testsuite - configuration management system, development test suite

==> default: puppetmaster - configuration management system, master service

==> default: puppetmaster-common - configuration management system, master common files

==> default: puppetmaster-passenger - configuration management system, scalable master service

==> default: puppet-lint - check puppet manifests for style guide conformity

==> default: puppet-module-puppetlabs-apache - Puppet module for apache

==> default: puppet-module-puppetlabs-apt - Puppet module for apt

==> default: puppet-module-puppetlabs-concat - Puppet module for concat

==> default: puppet-module-puppetlabs-firewall - Puppet module for Firewall management

==> default: puppet-module-puppetlabs-inifile - Puppet module for ini files

==> default: puppet-module-puppetlabs-mysql - Puppet module for mysql

==> default: puppet-module-puppetlabs-ntp - Puppet module for ntp

==> default: puppet-module-puppetlabs-postgresql - Puppet module for PostgreSQL database

==> default: puppet-module-puppetlabs-stdlib - Puppet module standard library

==> default: puppet-module-puppetlabs-xinetd - Puppet module for xinetd

==> default: puppet-module-saz-memcached - Puppet module for memcached

==> default: puppetlabs-release-pc1 - Release packages for the Puppet Labs PC1 repository

==> default: puppet-agent - The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, hiera and mcollective.


# uname -a

==> default: Linux test 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux


# cat /etc/os-release

==> default: PRETTY_NAME="Debian GNU/Linux 8 (jessie)"

==> default: NAME="Debian GNU/Linux"

==> default: VERSION_ID="8"

==> default: VERSION="8 (jessie)"

==> default: ID=debian

==> default: HOME_URL="http://www.debian.org/"

==> default: SUPPORT_URL="http://www.debian.org/support/"

==> default: BUG_REPORT_URL="https://bugs.debian.org/"

Vagrantfile.txt

Melissa Stone

unread,
Jul 27, 2015, 1:17:17 PM7/27/15
to puppet...@googlegroups.com
On Mon, Jul 27, 2015 at 2:43 AM, Richard Wales <richar...@gmail.com> wrote:
> Hi folks,
>
> Apparently PC1 is available on Debian Jessie now. Unfortunately, I can't get
> it to work. I've attached a vagrant file to facilitate reproduction (remove
> the .txt extension that I had to add to upload it).
>
> Here are the relevant commands I am running (as per the docs at
> https://docs.puppetlabs.com/puppet/latest/reference/install_linux.html ):
>
> # wget https://apt.puppetlabs.com/puppetlabs-release-pc1-jessie.deb
> # dpkg -i puppetlabs-release-pc1-jessie.deb
> # apt-get update
> # apt-get install puppetserver -y # This fails

We have puppet-agent packages available for Debian Jessie, but not
Puppet Server packages[1]. Those should be available with the next
Puppet Server release. So, you can't yet run Debian Jessie as a
master, but you can run it as an agent with the puppet-agent package
against a master on a different platform.

[1] - http://apt.puppetlabs.com/pool/jessie/PC1/p/
> --
> 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/7dfcb022-6c5e-4337-84c2-9fc7a2e9cd94%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Melissa Stone
Release Engineer, Puppet Labs
--------------------------------------------------

PuppetConf 2015 is coming to Portland, Oregon! Join us October 5-9.
Register now to take advantage of the Early Bird discount —save $249!

4nu...@gmail.com

unread,
Mar 22, 2016, 6:52:30 PM3/22/16
to Puppet Users
Hi!

I have the same problem. But puppet-agent is not available.

apt-get -y install puppetserver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 puppetserver : Depends: puppet-agent (>= 1.4.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

sudo apt-get -y install puppet-agent
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package puppet-agent is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

# uname -a
Linux puppet 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian


but here i find packages: http://apt.puppetlabs.com/pool/jessie/PC1/p/puppet-agent/

does anybody know why i cant install them?

Cheers, 
Friedhelm

Melissa Stone

unread,
Mar 22, 2016, 7:22:32 PM3/22/16
to puppet...@googlegroups.com
Hi Friedhelm,

Have you enabled the PC1 repos?

I can't tell what repos you have enabled or where you got the puppetserver packages you're using, but you'll have to enable the PC1 jessie repo to access puppet-agent.


As a summary, you'll want to run:

wget http://apt.puppetlabs.com/puppetlabs-release-pc1-jessie.deb ; dpkg -i puppetlabs-release-pc1-jessie.deb ; apt-get update


You can do a check to make sure you have the puppetlabs PC1 repo enabled by running `apt-cache policy`. You'll get a bunch of output, but the piece you want to make sure is there should be:

 500 http://apt.puppetlabs.com/ jessie/PC1 amd64 Packages
     release o=Puppetlabs,a=jessie,n=jessie,l=Puppetlabs,c=PC1
     origin apt.puppetlabs.com

Once you've verified you have the PC1 repo enabled, apt-get install puppet-agent should just work.

I hope that helps!


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

4nu...@gmail.com

unread,
Mar 23, 2016, 8:19:48 AM3/23/16
to Puppet Users
Hi!

Yes they enabled according to the guide. I forgot to tell. sorry!

With the policy i found out that i need the arm-packages. Thats because i want to run it on raspberry pi.

 500 http://apt.puppetlabs.com/ jessie/PC1 armhf Packages
     release o=Puppetlabs,a=jessie,n=jessie,l=Puppetlabs,c=PC1
     origin apt.puppetlabs.com

Do you know how to get this stuff via sources?

Thanks!

Melissa Stone

unread,
Mar 23, 2016, 12:35:59 PM3/23/16
to puppet...@googlegroups.com
On Wed, Mar 23, 2016 at 5:19 AM <4nu...@gmail.com> wrote:
Hi!

Yes they enabled according to the guide. I forgot to tell. sorry!

With the policy i found out that i need the arm-packages. Thats because i want to run it on raspberry pi.

 500 http://apt.puppetlabs.com/ jessie/PC1 armhf Packages
     release o=Puppetlabs,a=jessie,n=jessie,l=Puppetlabs,c=PC1
     origin apt.puppetlabs.com

Do you know how to get this stuff via sources?
Ah, that's the issue then. We don't compile or provide sources for ARM, unfortunately. For more information about that, check out https://tickets.puppetlabs.com/browse/CPR-108. We also don't provide sources for the puppet-agent package. You can see some discussion on that at https://tickets.puppetlabs.com/browse/CPR-191.

We have made the automation we use to build the puppet-agent package open source. The two repos you'll want for building puppet-agent are https://github.com/puppetlabs/vanagon and https://github.com/puppetlabs/puppet-agent.

I hope that helps!

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