When did we agree to deprecate the /// behaviour? On Jan 23, 2011 12:55 PM, <[email protected]> wrote: > > Issue #4770 has been updated by Nigel Kersten. > > Status changed from Needs design decision to Rejected > > I believe we have more users relying on the 2.6.1/0.25.x behavior than we do relying upon the 2.6.0 behavior. > > If I'm understanding clearly, this bug is a request for the 2.6.0 behavior to be preserved, and I'm rejecting that request. If I've misunderstood, please reopen. > ---------------------------------------- > Bug #4770: Problem file serving standalone > https://projects.puppetlabs.com/issues/4770 > > Author: Markus Roberts > Status: Rejected > Priority: Normal > Assignee: Nigel Kersten > Category: > Target version: Statler > Affected Puppet version: 2.6.1 > Keywords: > Branch: > > > Stig Sandbeck reports that the fix for #4489 seems to introduce another problem: > > I can no longer use puppet:/// URIs, but must add a server name. > > I use the following manifest on the agent, and does "puppet apply" on this manifest: > > file { > "/tmp/foo.withserver.txt": > source => "puppet://puppet/modules/foo/foo.txt"; > "/tmp/foo.withoutserver.txt": > source => "puppet:///modules/foo/foo.txt"; > } > > in 2.6.0, this works fine. > > In 2.6.1 (and in 2.6.0 with this commit cherry-picked), I get the following error message: > > > err: /Stage[main]//File[/tmp/foo.withoutserver.txt]: \ > Could not evaluate: Could not retrieve information from \ > source(s) puppet:///modules/foo/foo.txt at /root/apply-test.pp:6 > > > A trace says: > > > # puppet apply apply-test.pp --trace > /usr/lib/ruby/1.8/puppet/parameter.rb:171:in `fail' > /usr/lib/ruby/1.8/puppet/type/file/source.rb:150:in `init_metadata' > /usr/lib/ruby/1.8/puppet/util/cacher.rb:106:in `send' > /usr/lib/ruby/1.8/puppet/util/cacher.rb:106:in `cached_value' > /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' > /usr/lib/ruby/1.8/puppet/util/cacher.rb:98:in `cached_value' > /usr/lib/ruby/1.8/puppet/util/cacher.rb:48:in `metadata' > /usr/lib/ruby/1.8/puppet/type/file/source.rb:99:in `copy_source_values' > /usr/lib/ruby/1.8/puppet/type/file.rb:632:in `retrieve' > /usr/lib/ruby/1.8/puppet/type.rb:695:in `retrieve_resource' > /usr/lib/ruby/1.8/puppet/transaction/resource_harness.rb:39:in `changes_to_perform' > /usr/lib/ruby/1.8/puppet/transaction/resource_harness.rb:87:in `evaluate' > /usr/lib/ruby/1.8/puppet/transaction.rb:49:in `apply' > /usr/lib/ruby/1.8/puppet/transaction.rb:114:in `eval_children_and_apply_resource' > /usr/lib/ruby/1.8/puppet/transaction.rb:92:in `eval_resource' > /usr/lib/ruby/1.8/puppet/transaction.rb:143:in `evaluate' > /usr/lib/ruby/1.8/puppet/util.rb:414:in `thinmark' > /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' > /usr/lib/ruby/1.8/puppet/util.rb:413:in `thinmark' > /usr/lib/ruby/1.8/puppet/transaction.rb:142:in `evaluate' > /usr/lib/ruby/1.8/puppet/transaction.rb:135:in `each' > /usr/lib/ruby/1.8/puppet/transaction.rb:135:in `evaluate' > /usr/lib/ruby/1.8/puppet/resource/catalog.rb:144:in `apply' > /usr/lib/ruby/1.8/puppet/application/apply.rb:133:in `main' > /usr/lib/ruby/1.8/puppet/application/apply.rb:35:in `run_command' > /usr/lib/ruby/1.8/puppet/application.rb:300:in `run' > /usr/lib/ruby/1.8/puppet/application.rb:397:in `exit_on_fail' > /usr/lib/ruby/1.8/puppet/application.rb:300:in `run' > /usr/lib/ruby/1.8/puppet/util/command_line.rb:55:in `execute' > /usr/bin/puppet:4 > err: /Stage[main]//File[/tmp/foo.withoutserver.txt]: Could not evaluate: Could not retrieve information from source(s) puppet:///modules/foo/foo.txt at /root/apply-test.pp:6 > > > > -- > 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.
