On Apr 3, 2012, at 6:16 AM, mac01 <smilemukul2...@gmail.com> wrote: > > Hi, > > How to only execute the script from the server instead of first copying the > file & then executing the script from puppet ?
My answer depends on what you're trying accomplish. If you're trying to get some data to fill in a resource, then a function is a good choice. Generate() will likely do what you need. If you're trying to manage something only on the server, I'd still model this as a file and exec resource so it shows up in your reports and configuration catalog. Hope this helps. -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.