Project

General

Profile

PuppetThreeWorkarounds » History » Version 6

Dominic Cleal, 11/27/2012 03:52 PM
develop branch now contains fixes

1 1 Greg Sutcliffe
h1. PuppetThreeWorkarounds
2
3
{{toc}}
4
5
This page details the various fixes for making Foreman work with Puppet 3. If your issue is not listed, please open a bug report on the issue tracker, and detail appropriate workarounds (with link to the bug number) here.
6
7 6 Dominic Cleal
h2. Status
8 1 Greg Sutcliffe
9 6 Dominic Cleal
Currently Foreman 1.1 (unreleased) works reliably with Puppet 3.  This is available either from the nightly packages (.deb or RPM) or from git (develop branch), with updates to both the Foreman UI and the Smart Proxy.
10 1 Greg Sutcliffe
11 6 Dominic Cleal
h2. Fixed issues
12 1 Greg Sutcliffe
13 6 Dominic Cleal
The develop branch contains fixes for the following issues:
14 1 Greg Sutcliffe
15 6 Dominic Cleal
* uninitialized constant HostObserver (#1872)
16
* could not find value for $confdir (Puppet::Settings::InterpolationError)
17
* report processing seems to work but the summaries are all zero
18
* cannot view certificates that are present on the proxy
19
** ensure sudo rules allow access to @/usr/bin/puppet@ now instead of @/usr/sbin/puppetca@ (foreman-installer has already been updated)
20
* cannot import classes, "Attempting to initialize global default settings more than once!"
21 4 Sam Kottler
22 6 Dominic Cleal
h2. Remaining issues
23 5 Sam Kottler
24 6 Dominic Cleal
h3. Proxy complains of autosign permissions issues
25 1 Greg Sutcliffe
26
The current version of Puppet ignores the file permissions settings in puppet.conf. In other words, this doesn't work:
27
28
    [master]
29
      autosign       = /etc/puppet/autosign.conf { mode = 664 }
30
31
However, for the moment, it's so broken that puppet will not fix the ownership of the file, so you can run this instead:
32
33
    chown foreman-proxy:puppet /etc/puppet/autosign.conf
34
35
Alternatively, you could try moving it to the [main] section of the puppet.conf, which also seems to fix the problem.
36 6 Dominic Cleal
37
Logged with patch as Puppet "issue #17371":http://projects.puppetlabs.com/issues/17371.
38 1 Greg Sutcliffe
39
h1. Conclusions
40
41
There may well be other problems too. Let us know on the bug tracker, IRC, or the dev mailing list if you find any.