Issue #5285 has been updated by Nigel Kersten. Status changed from Needs More Information to Duplicate
---------------------------------------- Bug #5285: Error "Could not evaluate: Got nil value for content" when trying to serve a symlink's content from the server https://projects.puppetlabs.com/issues/5285 Author: Daniel Hahler Status: Duplicate Priority: Normal Assignee: Nigel Kersten Category: Target version: Affected Puppet version: 2.6.2 Keywords: Branch: I want to serve a file using a symlink (but it should serve it's content): <pre> file { "/root/.gitconfig": source => "puppet:///files/gitconfig-root", } </pre> <pre> root@puppetmaster # ls -l /etc/puppet/files/gitconfig-root lrwxrwxrwx 1 root root 16 Nov 13 17:39 /etc/puppet/files/gitconfig-root -> /root/.gitconfig </pre> /root/.gitconfig exists and is a regular file. Here's the trace: <pre> # puppetd --test --trace --verbose /dev/mem: Operation not permitted info: Caching catalog for elfe.thequod.de info: Applying configuration version '1289666799' /usr/lib/ruby/1.8/puppet/type.rb:409:in `[]=' /usr/lib/ruby/1.8/puppet/type/file/source.rb:119:in `copy_source_values' /usr/lib/ruby/1.8/puppet/type/file/source.rb:113:in `each' /usr/lib/ruby/1.8/puppet/type/file/source.rb:113:in `copy_source_values' /usr/lib/ruby/1.8/puppet/type/file.rb:632:in `retrieve' /usr/lib/ruby/1.8/puppet/type.rb:703: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:422:in `thinmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib/ruby/1.8/puppet/util.rb:421: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/configurer.rb:152:in `run' /usr/lib/ruby/1.8/puppet/util.rb:183:in `benchmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib/ruby/1.8/puppet/util.rb:182:in `benchmark' /usr/lib/ruby/1.8/puppet/configurer.rb:151:in `run' /usr/lib/ruby/1.8/puppet/agent.rb:39:in `run' /usr/lib/ruby/1.8/puppet/agent/locker.rb:21:in `lock' /usr/lib/ruby/1.8/puppet/agent.rb:39:in `run' /usr/lib/ruby/1.8/sync.rb:230:in `synchronize' /usr/lib/ruby/1.8/puppet/agent.rb:39:in `run' /usr/lib/ruby/1.8/puppet/agent.rb:103:in `with_client' /usr/lib/ruby/1.8/puppet/agent.rb:37:in `run' /usr/lib/ruby/1.8/puppet/application.rb:171:in `call' /usr/lib/ruby/1.8/puppet/application.rb:171:in `controlled_run' /usr/lib/ruby/1.8/puppet/agent.rb:35:in `run' /usr/lib/ruby/1.8/puppet/application/agent.rb:114:in `onetime' /usr/lib/ruby/1.8/puppet/application/agent.rb:88:in `run_command' /usr/lib/ruby/1.8/puppet/application.rb:287:in `run' /usr/lib/ruby/1.8/puppet/application.rb:393:in `exit_on_fail' /usr/lib/ruby/1.8/puppet/application.rb:287:in `run' /usr/sbin/puppetd:4 err: /Stage[main]/Dotfiles/File[/root/.gitconfig]: Could not evaluate: Got nil value for content notice: /Stage[main]/Cron/Service[puppet]/ensure: ensure changed 'running' to 'stopped' notice: Finished catalog run in 1.73 seconds </pre> -- 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.
