On 14/07/16 13:05, Roger Martensson wrote: > > > 2016-07-14 12:53 GMT+02:00 Roger Martensson <[email protected] > <mailto:[email protected]>>: > > > 2016-07-14 11:42 GMT+02:00 Dominic Cleal <[email protected] > <mailto:[email protected]>>: > > On 14/07/16 10:34, Roger Martensson wrote: > > Thank you. I > > > > I do still get some errors regarding puppetmaster-common. Why it > > > > This is what I get when running: > [..] > > > > [ERROR 2016-07-14 10:59:30 verbose] > > > /Stage[main]/Puppet::Server::Install/Package[puppetmaster-common]/ensure: > change > > from purged to present failed: Execution of '/usr/bin/apt-get -q -y > -o > > DPkg::Options::=--force-confold install puppetmaster-common' > returned > > 100: Reading package lists... > > I can only think of a couple of reasons it might try to install this > Puppet 3 era package: > > 1. The agent is still version 3 - ensure you upgraded (step 1) > and are > using Puppet 4 from puppet-agent. > 2. A parameter's overridden, try adding > --reset-puppet-server-package > > > Thank you again. Suggestion number 2 was the one that worked for me. > > When looking at the installed packages (using dpkg --list) I see no > ubuntu-related packages only older Puppet 3 puppetmasterpackages > (not installed, but RC and not purged). I did try to purge the old > puppetmaster packages but the error was still there. > > > Did notice one more thing. The foreman-reports ruby-file didn't seem to > be installed when running foreman-installer. should it? > It was easy to fix but I believe that the foreman-installer used to do this?
It still does, it should be installed to /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/reports/foreman.rb when using Puppet Server. -- Dominic Cleal [email protected] -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
