[Pkg-puppet-devel] Bug#869183: puppet: Fix "No supported formats are acceptable (Accept: s, pson)" while bucketing from Puppet Agent v3
Mathieu Parent
math.parent at gmail.com
Fri Jul 21 10:18:54 UTC 2017
Package: puppet
Version: 4.10.4-2
Severity: important
Dear Maintainer,
With the following code in site.pp or similar:
filebucket { 'main':
path => false, # Remote filebucket
}
File {
backup => 'main',
}
Bucketing fails from puppet3 agent to puppet master 4 (stretch/sid) with:
Error: Could not back up /etc/puppet/auth.conf: Error 406 on SERVER:
{"message":"Not Acceptable: No supported formats are acceptable
(Accept: s, pson)","issue_kind":"UNSUPPORTED_FORMAT"}
The attached patch fixes this and matches the behavior of:
https://github.com/puppetlabs/puppetserver/blob/ff0e5e84860ea9b035839e77e9b27d4c3a923e36/src/clj/puppetlabs/services/legacy_routes/legacy_routes_core.clj#L27-L42
NB: I think this should also go in stretch-pu.
Regards
Mathieu Parent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-No-supported-formats-are-acceptable-Accept-s-pso.patch
Type: text/x-patch
Size: 11507 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20170721/19a9b640/attachment.bin>
More information about the Pkg-puppet-devel
mailing list