Issue #16188 has been updated by Erik Dalén.
wouldn't it be acceptable that the static compiler includes this filebucket in the catalog automatically? Similar to how the main stage etc is added automatically by the compiler. ---------------------------------------- Feature #16188: File content should be retrievable from remote buckets other than 'puppet' https://projects.puppetlabs.com/issues/16188#change-89716 * Author: Jeff McCune * Status: Accepted * Priority: Normal * Assignee: * Category: filebucket * Target version: 3.x * 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
