Issue #21733 has been updated by Den Bozhok.

<pre><code class="shell">
node-01 ~ # puppet agent --verbose --onetime --no-daemonize
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/portage.rb
Info: Loading facts in /var/lib/puppet/lib/facter/eselect.rb
Info: Caching catalog for node-01.u2
Info: Applying configuration version '1373630044'
Error: Could not run Puppet configuration client: Puppet::FileServing::Metadata 
does not respond to from_raw; can not intern instances from application/x-raw
</code></pre>

----------------------------------------
Bug #21733: Puppet::FileServing::Metadata does not respond to from_raw
https://projects.puppetlabs.com/issues/21733#change-94456

* Author: Den Bozhok
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: fileserving
* Target version: 3.x
* Affected Puppet version: 3.2.2
* Keywords: nginx, Puppet::FileServing::Metadata, from_raw
* Branch: 
----------------------------------------
Hello!

I`m trying to server static files with nginx but have some problems on client 
side:

node-01 ~ # puppet agent --verbose --onetime --no-daemonize
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/portage.rb
Info: Loading facts in /var/lib/puppet/lib/facter/eselect.rb
Info: Caching catalog for node-01.u2
Info: Applying configuration version '1373630044'
Error: Could not run Puppet configuration client: Puppet::FileServing::Metadata 
does not respond to from_raw; can not intern instances from application/x-raw

Here is the part of nginx config:

location /production/file_metadata/modules {
  default_type application/x-raw;
  root /etc/puppet/modules; 
  location ~* /production/file_metadata/modules/(?<module>[^/]+)/(?<file>.*) {
    try_files /$module/files/$file =404;
  }
}

puppet version is: 3.2.2


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to