Project

General

Profile

PuppetThreeWorkarounds » History » Version 12

Dominic Cleal, 12/11/2012 09:30 AM
1.1 RC released

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 12 Dominic Cleal
Currently Foreman 1.1 (release candidate) works reliably with Puppet 3.  Ensure you update both the Foreman UI and the Smart Proxy.
10 1 Greg Sutcliffe
11 12 Dominic Cleal
* "Foreman 1.1 RC .debs":http://groups.google.com/group/foreman-users/browse_thread/thread/a813711326d89685
12
* "Foreman 1.1 RC RPMs":http://groups.google.com/group/foreman-users/browse_thread/thread/b17e33c701839c28
13
14
If you hit any other issues, please let us know on the bug tracker, IRC, or the mailing lists.
15
16 6 Dominic Cleal
h2. Fixed issues
17 1 Greg Sutcliffe
18 6 Dominic Cleal
The develop branch contains fixes for the following issues:
19 1 Greg Sutcliffe
20 6 Dominic Cleal
* uninitialized constant HostObserver (#1872)
21 7 Dominic Cleal
* could not find value for $confdir (Puppet::Settings::InterpolationError) (#1915)
22
* report processing seems to work but the summaries are all zero (#1872)
23 6 Dominic Cleal
* cannot view certificates that are present on the proxy
24
** ensure sudo rules allow access to @/usr/bin/puppet@ now instead of @/usr/sbin/puppetca@ (foreman-installer has already been updated)
25 7 Dominic Cleal
* cannot import classes, "Attempting to initialize global default settings more than once!" (#1915, #1950)
26 10 Dominic Cleal
* proxy @:puppet_conf@ setting required (#1983)
27 11 Dominic Cleal
* @:puppetconfdir@ setting required (#1994)
28
* @$vardir@ interpolation problems (#1994)
29 4 Sam Kottler
30 6 Dominic Cleal
h2. Remaining issues
31 5 Sam Kottler
32 6 Dominic Cleal
h3. Proxy complains of autosign permissions issues
33 1 Greg Sutcliffe
34
The current version of Puppet ignores the file permissions settings in puppet.conf. In other words, this doesn't work:
35
36
    [master]
37
      autosign       = /etc/puppet/autosign.conf { mode = 664 }
38
39
However, for the moment, it's so broken that puppet will not fix the ownership of the file, so you can run this instead:
40
41
    chown foreman-proxy:puppet /etc/puppet/autosign.conf
42
43
Alternatively, you could try moving it to the [main] section of the puppet.conf, which also seems to fix the problem.
44 8 Dominic Cleal
45
Logged with patch as Puppet "issue #17371":http://projects.puppetlabs.com/issues/17371.
46
47
h3. #1997: facts not importing (unconfirmed)
48
49
Issue #1997 reports MySQL errors while importing facts, e.g.
50
51 1 Greg Sutcliffe
    Started POST "/fact_values/create" for xxxxxxxx at Wed Dec 05 16:01:05 +0800 2012
52
Processing by FactValuesController#create as
53
Parameters: {"facts"=>"[FILTERED]"}
54
Failed to import facts: Mysql2::Error: Column 'name' cannot be null: ...