Issue #16188 has been reported by Jeff McCune.

----------------------------------------
Feature #16188: File content should be retrievable from remote buckets other 
than 'puppet'
https://projects.puppetlabs.com/issues/16188

Author: Jeff McCune
Status: Unreviewed
Priority: Normal
Assignee: 
Category: filebucket
Target version: 
Affected Puppet version: 2.7.0
Keywords: static_compiler static compiler filebucket FileBucket bucket file 
fileserver FileServer
Branch: 


# Overview

Currently, the only way to configure the Puppet agent to use a remote file 
bucket to _retrieve_ content using the static compiler is to declare a 
filebucket resource named `puppet`.

<pre><code>
filebucket { puppet:
    server => $server,
    path => false,
}
</code></pre>

I expected the following to work:


<pre>
filebucket { filetest:
    server => $server,
    path => false,
}
file { foo:
  ensure => file,
  path => "/tmp/foo.txt",
  source => "puppet:///modules/filetest/foo.txt",
  backup => filetest
}
</pre>

The reason I expected this to work is because the backup parameter is the only 
way to associate a file resource to a filebucket resource.  I don't think the 
final solution of this bug should be to make the above example work because 
this is about _retrieving_ content from the file bucket when using the static 
compiler with a static catalog.


-- 
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