Project

General

Profile

PuppetThreeWorkarounds » History » Version 7

Dominic Cleal, 11/27/2012 04:00 PM
fixed issue numbers, puppet_conf issue

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 7 Dominic Cleal
* could not find value for $confdir (Puppet::Settings::InterpolationError) (#1915)
17
* report processing seems to work but the summaries are all zero (#1872)
18 6 Dominic Cleal
* 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 7 Dominic Cleal
* cannot import classes, "Attempting to initialize global default settings more than once!" (#1915, #1950)
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
37
Logged with patch as Puppet "issue #17371":http://projects.puppetlabs.com/issues/17371.
38 7 Dominic Cleal
39
h3. #1983: proxy @:puppet_conf@ setting required
40
41
In order to initialise Puppet 3, the path to puppet.conf is required in the Smart Proxy's config file, typically @/etc/foreman-proxy/settings.yml@:
42
43
    :puppet_conf: /etc/puppet/puppet.conf
44
45
The following error will be seen otherwise:
46
47
    ERROR -- : Failed to show puppet environment: Error converting value for param 'config': Could not find value for $confdir
48 1 Greg Sutcliffe
49
h1. Conclusions
50
51
There may well be other problems too. Let us know on the bug tracker, IRC, or the dev mailing list if you find any.