Issue #23012 has been reported by Nike Akhnin.

----------------------------------------
Bug #23012: puppet failed to install packages
https://projects.puppetlabs.com/issues/23012

* Author: Nike Akhnin
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
Hi! I'm installed puppet 3.3.1 on clean system FreeBSD 9.1 RELEASE from ports. 
When I'm trying to apply this manifest:

package { 'foo/bar' :
   ensure => installed,
}

by this command locally: 'puppet apply foo.pp' I'm receiving a lot of warnings 
like 

'/usr/local/lib/ruby/site_ruby/1.9/puppet/provider/package/freebsd.rb:84: 
warning: class variable access from toplevel' 

and then I get an error message:

Error: Execution of '/usr/sbin/pkg_add -f 
ftp://ftp.freebsd.org/%2Fpub/FreeBSD/ports/i386/packages-9-stable/All/bar.tbz' 
returned 1: pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/%2Fpub/FreeBSD/ports/i386/packages-9-stable/All/bar.tbz' 
by URL
Error: Unable to get 
ftp://ftp.freebsd.org/%2Fpub/FreeBSD/ports/i386/packages-9-stable/All/bar.tbz: 
File unavailable (e.g., file not found, no access)

When I'm running from console
'pkg_add -v -f 
ftp://ftp.freebsd.org/%2Fpub/FreeBSD/ports/i386/packages-9-stable/All/bar.tbz' 
returned 1: pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/%2Fpub/FreeBSD/ports/i386/packages-9-stable/All/bar.tbz' 
there is another error:

 ...
 CWD %2Fpub/FreeBSD/ports/i386/packages-9-stable/All
 550 %2Fpub/FreeBSD/ports/i386/packages-9-stable/All: No such file of directory.
 CWD %2Fpub
 550 %2Fpub: No such file of directory.
 QUIT
 221 Goodbye.

I think the problem is in "%2F" in package location...


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