FAQ

On Mon, Aug 13, 2012 at 11:55:23AM -0700, ZJE wrote:
Is the output of a command called by puppet stored somewhere on the master
or agent?

For example, if have the statement
---
commands :ls => "ls"
---

and then I try something like " ls, '/' "
this does not seem right. The above command method marks the provider as
unsuitable if the ls command is not present and creates a method with
the name ls. So if you want to execute ls you do:

output = ls('-l', '/tmp')
where does the output of "ls /" go?
it is the return value of the method "ls"

-Stefan

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedAug 13, '12 at 6:55p
activeAug 14, '12 at 12:49a
posts3
users3
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase