exec {'ls': command => "ls", path => "/usr/bin:/bin", provider => shell, }
So the output of "ls" contains files/directories, these should be stored in a array for suppose "$my_array" and it should be used globally in the module. Can any one help me in this -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/b53e7979-7d5c-40a1-8110-731ab0f45179%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.