Rafael, if you're trying to execute scripts with a certain path, you'd
provide that at the resource declaration level, like so:

exec { 'tar -xf /Volumes/nfs02/important.tar': cwd => '/var/tmp', creates
=> '/var/tmp/myfile', path => ['/usr/bin', '/usr/sbin',], }

See this for more information:
https://puppet.com/docs/puppet/latest/types/exec.html#exec-attribute-path

On Wed, Nov 28, 2018 at 10:18 AM Eric Sorenson <[email protected]> wrote:

> Sorry Rafael, I don't understand what you're asking. Can you share the
> puppet code that you are trying to use, and the error message you get?
>
> --eric0
>
> On Wednesday, November 28, 2018 at 5:54:34 AM UTC-8, Rafael Tomelin wrote:
>>
>> Hi,
>>
>> How configure path in puppet.agent.
>>
>> I need path = source /etc/profile . , how configuration this path?
>> --
>>
>> Atenciosamente,
>>
>> Rafael Tomelin
>>
>> skype: rafael.tomelin
>>
>> E-mail: [email protected]
>>
>> RHCE      - Red Hat Certified Engineer
>> PPT-205 - Puppet Certified Professional 2017
>> Zabbix    - ZABBIX Certified Specialist
>> LPI3
>> ITIL v3
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/5c0f935e-c0ff-4202-b48c-79a316f69c87%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/5c0f935e-c0ff-4202-b48c-79a316f69c87%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CACkW_L5vqSVtZTkY%2B9HF_7MS7naEbvjSPk8C-wR-BQ98K4cZ9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to