Issue #5362 has been updated by Nigel Kersten.

Status changed from Needs Decision to Accepted
Assignee deleted (Nigel Kersten)

Indeed. Thanks Peter!

Made this one the original because it has more detail.
----------------------------------------
Bug #5362: Remote file bucket won't work under certain situations unless "path 
=> false"
https://projects.puppetlabs.com/issues/5362

Author: Luke Bigum
Status: Accepted
Priority: Normal
Assignee: 
Category: fileserving
Target version: 
Affected Puppet version: 2.6.2
Keywords: 
Branch: 


Following on from the thread 'client won't use remote file bucket', the 
following configuration does not file bucket to the puppet master:

<pre>
filebucket { "main": server => "puppet" }
File { backup => "main" }
node 'default' {
  include test
}

class test {
  file { "/etc/sudoers":
    source => "puppet:///modules/test/sudoers",
    owner => "root",
    group => "root",
    mode => "0440",
    ensure => present,
    backup => "main",
  }
} 
</pre>

The fix is to have "path => false" added to the filebucket declaration. Is it 
possible the path variable has some default value that's stopping such a 
generic filebucket definition from working? If you need more information I'm 
happy to play with the config to test various situations for you.

CentOS release 5.5 (Final)

*** LOCAL GEMS ***

facter (1.5.8)
fastthread (1.0.7)
mysql (2.8.1)
passenger (2.2.9)
puppet (2.6.2)
rack (1.1.0)
rake (0.8.7)

ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770, Ruby 
Enterprise Edition 2010.02



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to