Foreman-installer on debian squeeze

> I'm wondering, do you suggest to use puppet provided by squeeze repos
> (2.6.2), or use backported packages (2.7.x) or use puppetlabs repos with
> version 3.x?
> Are all the versions supported with foreman?
>

All versions of Puppet are supported by Foreman, yes, but the Installer
requires 2.6.5 or higher, sadly. Once installed you can always downgrade
puppet if you need to use stable packages :slight_smile: I personally use the
Puppetlabs Apt repo, but the Backports should be fine too.

> Also debian wheezy will be release soon, are you planning to support this
> as well or some time later in the future?
>

I've done brief testing of the squeeze packages on wheezy, and they seem
fine. I've got plans to properly tidy them up and adjust the dependencies
for wheezy in the near future.

Thanks
Greg

··· On 25 April 2013 15:26, Sandro Roth wrote:

Hey Greg

Thanks for the fast reply :slight_smile:

I tend to go with the puppetlabs repos as well, just wanted to make sure.
Rather use the new versions now than upgrade later…

With puppet 3.1.1 from puppetlabs the installer now fails with this error:

Do you want to run Puppet now with these settings? (y/n)
y
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Info: Applying configuration version '1366901348'
Notice:
/Stage[main]/Puppet::Server::Passenger/File[/etc/default/puppetmaster]/ensure:
defined content as '{md5}0f7a068f943de1ee1568c7da292c1e06'
Notice:
/Stage[main]/Puppet::Server::Install/Package[puppetmaster-common]/ensure:
ensure changed 'purged' to 'present'
Notice: /Stage[main]/Tftp::Install/Package[syslinux]/ensure: ensure changed
'purged' to 'present'
Error: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install foreman-sqlite3' returned 100:
Reading package lists…
Building dependency tree…
Reading state information…
The following extra packages will be installed:
bundler foreman libc-dev-bin libc6-dev libsqlite3-dev linux-libc-dev rake
Suggested packages:
glibc-doc sqlite3-doc
Recommended packages:
sudo ruby-dev build-essential rubygems-integration foreman-proxy
manpages-dev gcc c-compiler
The following NEW packages will be installed:
bundler foreman foreman-sqlite3 libc-dev-bin libc6-dev libsqlite3-dev
linux-libc-dev rake
0 upgraded, 8 newly installed, 0 to remove and 1 not upgraded.
Need to get 14.3 MB of archives.
After this operation, 36.8 MB of additional disk space will be used.
[snip]
Setting up bundler (1.2.2-2) …
Setting up libc-dev-bin (2.11.3-4) …
Setting up linux-libc-dev (2.6.32-48squeeze1) …
Setting up libc6-dev (2.11.3-4) …
Setting up libsqlite3-dev (3.7.3-1) …
Setting up rake (0.8.7-2) …
Setting up foreman (1.1.1+debian1) …
WARNING: abstract-1.0.0 has an invalid nil value for @cert_chain
WARNING: builder-2.1.2 has an invalid nil value for @cert_chain
dpkg: error processing foreman (–configure):
subprocess installed post-installation script returned error exit status 5
dpkg: dependency problems prevent configuration of foreman-sqlite3:
foreman-sqlite3 depends on foreman; however:
Package foreman is not configured yet.
dpkg: error processing foreman-sqlite3 (–configure):
dependency problems - leaving unconfigured
configured to not write apport reports
configured to not write apport reports
Errors were encountered while processing:
foreman
foreman-sqlite3
E: Sub-process /usr/bin/dpkg returned an error code (1)

Cheers
Sandro

··· On Thursday, April 25, 2013 4:32:58 PM UTC+2, Greg Sutcliffe wrote: > > On 25 April 2013 15:26, Sandro Roth <sandr...@gmail.com >wrote: > >> I'm wondering, do you suggest to use puppet provided by squeeze repos >> (2.6.2), or use backported packages (2.7.x) or use puppetlabs repos with >> version 3.x? >> Are all the versions supported with foreman? >> > > All versions of Puppet are supported by Foreman, yes, but the Installer > requires 2.6.5 or higher, sadly. Once installed you can always downgrade > puppet if you need to use stable packages :) I personally use the > Puppetlabs Apt repo, but the Backports should be fine too. > > >> Also debian wheezy will be release soon, are you planning to support this >> as well or some time later in the future? >> > > I've done brief testing of the squeeze packages on wheezy, and they seem > fine. I've got plans to properly tidy them up and adjust the dependencies > for wheezy in the near future. > > Thanks > Greg >

I've seen this once or twice, but I can't reproduce it, the install is
smooth for me (squeeze is my default test platform). I assume this is the
defaults (i.e the stable foreman repository) - assuming so, if you just
"apt-get install foreman ; apt-get install foreman-sqlite3" does it work
ok?

Greg

··· On 25 April 2013 15:55, Sandro Roth wrote:

dpkg: error processing foreman (–configure):
subprocess installed post-installation script returned error exit status 5
dpkg: dependency problems prevent configuration of foreman-sqlite3:
foreman-sqlite3 depends on foreman; however:
Package foreman is not configured yet.
dpkg: error processing foreman-sqlite3 (–configure):
dependency problems - leaving unconfigured
configured to not write apport reports
configured to not write apport reports
Errors were encountered while processing:
foreman
foreman-sqlite3
E: Sub-process /usr/bin/dpkg returned an error code (1)