PuppetThreeWorkarounds » History » Version 11
Dominic Cleal, 12/05/2012 01:25 PM
#1994 resolved
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 | 8 | Dominic Cleal | Currently Foreman 1.1 (unreleased) works fairly reliably with Puppet 3. This is available either from the nightly .deb packages or from git (develop branch), with updates to both the Foreman UI and the Smart Proxy. Nightly RPMs aren't up to date enough at the moment. |
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 | 10 | Dominic Cleal | * proxy @:puppet_conf@ setting required (#1983) |
22 | 11 | Dominic Cleal | * @:puppetconfdir@ setting required (#1994) |
23 | * @$vardir@ interpolation problems (#1994) |
||
24 | 4 | Sam Kottler | |
25 | 6 | Dominic Cleal | h2. Remaining issues |
26 | 5 | Sam Kottler | |
27 | 6 | Dominic Cleal | h3. Proxy complains of autosign permissions issues |
28 | 1 | Greg Sutcliffe | |
29 | The current version of Puppet ignores the file permissions settings in puppet.conf. In other words, this doesn't work: |
||
30 | |||
31 | [master] |
||
32 | autosign = /etc/puppet/autosign.conf { mode = 664 } |
||
33 | |||
34 | However, for the moment, it's so broken that puppet will not fix the ownership of the file, so you can run this instead: |
||
35 | |||
36 | chown foreman-proxy:puppet /etc/puppet/autosign.conf |
||
37 | |||
38 | Alternatively, you could try moving it to the [main] section of the puppet.conf, which also seems to fix the problem. |
||
39 | 8 | Dominic Cleal | |
40 | Logged with patch as Puppet "issue #17371":http://projects.puppetlabs.com/issues/17371. |
||
41 | |||
42 | h3. #1997: facts not importing (unconfirmed) |
||
43 | |||
44 | 9 | Dominic Cleal | Issue #1997 reports MySQL errors while importing facts, e.g. |
45 | 8 | Dominic Cleal | |
46 | Started POST "/fact_values/create" for xxxxxxxx at Wed Dec 05 16:01:05 +0800 2012 |
||
47 | Processing by FactValuesController#create as |
||
48 | Parameters: {"facts"=>"[FILTERED]"} |
||
49 | Failed to import facts: Mysql2::Error: Column 'name' cannot be null: ... |
||
50 | 1 | Greg Sutcliffe | |
51 | h1. Conclusions |
||
52 | |||
53 | There may well be other problems too. Let us know on the bug tracker, IRC, or the dev mailing list if you find any. |