Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 4.2.1, PUP 4.3.0
-
None
Description
As I've noticed we are finally fixing filebucket I'd love to see the following long-standing bug fixed.
# cat /opt/puppetlabs/puppet/cache/clientbucket/2/c/1/5/a/e/7/2/2c15ae72acdbd8878a6550275bc15fef/paths
|
/etc/puppetlabs/puppet/puppet.conf
|
|
# puppet filebucket get --local 2c15ae72acdbd8878a6550275bc15fef
|
Error: Could not run: File not found
|
The thing is, you can find the file just fine if you manually specify the clientbucket.
[root@client puppet]# puppet filebucket get -b /opt/puppetlabs/puppet/cache/clientbucket 2c15ae72acdbd8878a6550275bc15fef
|
Info: FileBucket read 2c15ae72acdbd8878a6550275bc15fef
|
# This file can be used to override the default puppet settings.
|
# See the following links for more details on what settings are available:
|
Looking at the code with strace, it is trying to read the $bucketdir instead of the $clientbucketdir, which makes no sense when using the --local option.
If there is some use for --local that somehow makes sense, change this to a feature request for --client or some such option?
Attachments
Issue Links
- blocks
-
PUP-5392 Update filebucket manpage with how to manage puppetserver's filebucket
-
- Closed
-