On Fri, Apr 2, 2010 at 5:23 AM, Marcelo Barbudas <nos...@gmail.com> wrote:
> Hi!
>
> I have a recipe that's supposed to download ree from a master and
> install it. It looks like:
>
>    # Install ree
>    file { "/root/puppet-setup/ruby-
> enterprise_1.8.7-2010.01_amd64.deb":
>      source => "puppet://$servername/files/ruby-
> enterprise_1.8.7-2010.01_amd64.deb",
>      mode   => 0644, owner => root, group => root,
>      notify => Exec[ree-install],
>      ensure => present,
>    }
>
>     exec { ree-install:
>        command     => "/usr/bin/dpkg -i /root/puppet-setup/ruby-
> enterprise_1.8.7-2010.01_amd64.deb",
>        refreshonly => true,
>        require     => [ File["/root/puppet-setup/ruby-
> enterprise_1.8.7-2010.01_amd64.deb"] ],
>     }

Why aren't you putting this in an apt repository?

Puppet isn't the fastest system in the world for sending large files around...


>
>
> When I try to run this I get the error in the subject:
>
> info: Caching catalog at /var/lib/puppet/state/localconfig.yaml
> notice: Starting catalog run
> err: //Node[default]/lenny/default-class/base/File[/root/puppet-setup/
> ruby-enterprise_1.8.7-2010.01_amd64.deb]/ensure: change from absent to
> file failed: Could not retrieve /files/ruby-
> enterprise_1.8.7-2010.01_amd64.deb: Uncaught exception failed to
> allocate memory in method fileserver.retrieve at /etc/puppet/manifests/
> classes/base.pp:36
> notice: //Node[default]/lenny/default-class/base/Exec[ree-install]:
> Dependency file[/root/puppet-setup/ruby-
> enterprise_1.8.7-2010.01_amd64.deb] has 1 failures
> warning: //Node[default]/lenny/default-class/base/Exec[ree-install]:
> Skipping because of failed dependencies
> notice: //Node[default]/lenny/default-class/apt-setup/Exec[apt-update]/
> returns: executed successfully
> notice: //Node[default]/lenny/default-class/base/Exec[debian-backports-
> keyring]/returns: executed successfully
> notice: Finished catalog run in 106.13 seconds
>
> The puppet slave is a vmware Debian with 512MB ram. Ree is 17MB.
> Puppet version is Debian stable 0.24.5-3
>
> --
> M.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>
>



-- 
nigel

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to