Malintha Adikari
2014-Jun-24 09:16 UTC
[Puppet Users] How to unzip archive to a master's location
Hi, I keep archive files in my puppet master side. I want to unzip the archive to master's location and do some file replacements and again zip it and then copy it to the agent side. I use following code snippet to unzip it. How can I give an own location (master side location) here ? exec { "unzip": command => 'unzip wso2esb-4.8.1.zip', cwd => "/home/malintha/", path => $command_path, logoutput => true, timeout => 3600, require => File['/home/agent2/adikari11/wso2esb-4.8.1.zip'], } here "*cwd*" means the destination. But this is the agent side destination.I want to set it to master side location Regards, Malintha Adikari -- 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/fa17081c-1b25-4a0d-8b3d-236208caba9f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.