Satish Katuru
2014-Jun-26 12:44 UTC
[Puppet Users] how to copy jar and ESB files from Master to agent machines
Hi,
I tried to copy jar files and ESB files from master to Agent.
This is how my init.pp looks like:
class httpd
{
file {
"/home/katusa02/soa/jboss-soa-p-5/jboss-as/server/default/deploy/ParserService-1.0.esb":
ensure => present,
owner => "katusa02",
group => "katusa02",
mode => "0777",
source =>
"puppet://$puppetserver/modules/httpd/ParserService-1.0.esb",
}
}
I tried with ensure => file and ensure => "present" but it
didn't work.When
I tired with normal files it worked well.
I am getting an error message like this :
Error:
/Stage[main]/Httpd/File[/home/katusa02/soa/jboss-soa-p-5/jboss-as/server/default/deploy/ParserService]:
Could not evaluate: Could not retrieve information from environment
production source(s)
puppet://dayrhetamp076.enterprisenet.org/modules/httpd/ParserService
Can any one guide me how to do this?
Regards,
Sathish.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/206719bb-7f6b-4d7a-b17c-a342231bffe6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.