Hi There, This is the type of task that is best serviced using the packaging framework of your operating system (ie, RPM, Deb, etc).
In this case, I'd roll the software into RPMs and have them installed via the package {} type on all your nodes from a central YUM repo, followed by the deployment of the profile file from a central location using the file {} type. You could then manage the service using the service type to ensure the applications are running as required. The benefit of this is that it is very repeatable, as well as being able to use the packaging framework to assist with upgrade to other versions more seamlessly. There are some good examples at: http://puppetcookbook.com/ you could use as a reference. Cheers, K On Thursday, December 20, 2012 7:12:51 AM UTC, Sivaraman Viswanathan wrote: > > Lets take the example, I am having a jboss-4.2.3 installers as a .tar > file. In general to install jboss, i ll > 1. untar the jboss-4.2.3 into a prefefined folder (opt/server/jbossas/) > into multiple servers > 2. untar the openjdk into a preferined path (/opt/software/java)set the > path in the bash.profile > 3. Create server profile in the place where jboss is installed > 4. Start the server. > > Lets say that I have to do this in 16 nodes (servers). > Now, I should store the jboss and openjdk installers at a central location > and it should be transferred to the nodes before the 1st step can begin. > > I wrote the manifest to perform the requirements form 1 to 4. But not sure > how can I automate the transfer of the installers from a central repo. I am > not worried about the type of central repo. It can be a ftp or puppet or > anything else. > > Please help me. I was going through filebucket. Will this help or should i > write a manifest to get this file from a ftp server? > > How to create a file repo which can be referred in puppet manifests? > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/EsvW-gsiV7YJ. To post to this group, send email to puppet-users@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.