Hello
I'm beginning to learn howto puppet but I have stumbled upon a problem
that I can't seem to find a solution to.
We want to use puppet to deploy applications (MySQL and JBOSS
installations) but when I create a manifests like this
class mysql::version559 {
include mysql_user
file { "/path/mysql-5.5.9":
ensure => directory,
recurse => true,
purge => true,
force => true,
owner => "root",
group => "root",
source => "puppet://puppet-server/modules/mysql/mysql-5.5.9",
}
}
it runs very slowly, with about 3-5 seconds per file (even the small
ones!) taking several hours to deploy 300MB which I really don't like
We are running a pretty basic setup with puppet 2.6.4 installed on
Ubuntu 10.04.02 LTS on both clients and server. I tried to make a tar-
ball of the directory, and then it only takes a minute or two
transferring about 3 MB/seconds which is OK.
Will switching to mongrel instead of webrick solve my problem? The
server is not loaded (only servering one client at the moment) but
while running puppetd, the client is 100% cpu loaded.
Any ideas on what the best solution is? It is NOT a solution to simply
setup a manifests that installs the app from the ubuntu repository. Is
there any way of using ie. rsync to deploy the files instead of
puppet?
Thanks
Regards
Thomas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.