file { "/opt/hadoop-0.20.0.tar.gz":
source => "puppet:///hadoop020/hadoop-0.20.0.tar.gz"
}
I have another module that does the same things and works, my only guess
is the size of the tarball:
modules/hadoop020/files/hadoop-0.20.0.tar.gz - 41M
modules/zookeeper320/files/zookeeper-3.2.0.tar.gz - 12M
Any ideas or suggestions to speed up file transfers??
If I manually scp the file, it takes only 30seconds (between office and
ec2), why would it take so long and eventually timeout inside the colo (
ec2)?
> Any ideas or suggestions to speed up file transfers??
try 0.25.0beta file serving should be heavily improved.
> If I manually scp the file, it takes only 30seconds (between office and
> ec2), why would it take so long and eventually timeout inside the colo (
> ec2)?
currently puppet uses xmlrpc, even to transfer files, which means that
every file have to be loaded into memory, escaped, sent over the wire,
de-escaped and written down to disc.
with the change to REST with the upcoming 0.25.0 this should have changed.
cheers pete
Fernando Padilla wrote:
> Oh. right. I remember reading about this..
>
> So.. are there any rpm/deb packages for the latest puppet?? From the
> standard apt-repository (for jaunty), it still only has 0.24.5 (not even
> 0.24.8).
http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet
Regards
James Turnbull
- --
Author of:
* Pro Linux Systems Administration
(http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet
(http://tinyurl.com/pupbook)
* Pro Nagios 2.0
(http://tinyurl.com/pronagios)
* Hardening Linux
(http://tinyurl.com/hardeninglinux)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpjvQAACgkQ9hTGvAxC30A9cQCfaj0JaH6AhnxNZNhreXjD6KH+
fAAAn10+2WmN6YT+yJ2mBFymjPZYrbNs
=jngG
-----END PGP SIGNATURE-----
I prefer to set up an rsync server and use an rsync pull command to
only transfer the file changes if the file has changed.
I suppose that storing the files in SVN would work as well, but that
seems like an awful lot of overhead.
Trevor
It's not weird - I didn't create Gems for the beta. Partially because
you can't version a Ruby Gem with a numeric and text - for example
0.25.0beta1. This increases the risk of a 0.25.0 beta gem being
mistaken for production. If Gems allowed proper versioning then I'd
create them.
Regards
James Turnbull
Fernando Padilla wrote:
> Alright, so I have just added an apache2 server onto my puppet master,
> and will host files there. Wow, it's much faster than any other options
> ( within ec2 ). It took just a few seconds to download the 42M file, i
> blinked and it was done. :)
>
> So until I can properly work out a good rpm/deb of 0.25, then this will
> be my solution :) :)
>
Well you could try here:
http://tmz.fedorapeople.org/repo/puppet/
And I am pretty sure someone on the list built .deb files too.
Regards
James Turnbull
- --
Author of:
* Pro Linux Systems Administration
(http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet
(http://tinyurl.com/pupbook)
* Pro Nagios 2.0
(http://tinyurl.com/pronagios)
* Hardening Linux
(http://tinyurl.com/hardeninglinux)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpk/RoACgkQ9hTGvAxC30AHmgCg0Sfouhy1OO7p8fMLpw5tJixo
QGgAoMdOP97xFOSbsWXZwQsY8X9ZysFo
=Idu1
-----END PGP SIGNATURE-----
maybe, because nobody have yet written the rsync part?!
cheers pete