Re: [Puppet Users] Re: Puppet.agent with path

2018-11-30 Thread Rafael Tomelin
Hi, Thanks! Em qui, 29 de nov de 2018 às 14:29, Ben Ford escreveu: > 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 > =>

Re: [Puppet Users] Re: Puppet.agent with path

2018-11-29 Thread Ben Ford
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:

[Puppet Users] Re: Puppet.agent with path

2018-11-28 Thread Eric Sorenson
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 =