Re: [Puppet Users] shell file but getting copied do destination

2017-09-12 Thread Neil - Puppet List
hi, the source has a typo. it says midules rather than an modules. Neil On 10 Sep 2017 18:29, wrote: Hi, following is my task file which i call from deployment_task.yaml file { '/tmp/filename.sh' path => '/tmp' . . source => puppet:///midules/pluginname/filename.sh, } -> exec {'/tmp/filena

Re: [Puppet Users] shell file but getting copied do destination

2017-09-11 Thread Martin Alfke
> On 09 Sep 2017, at 18:48, viveks8...@gmail.com wrote: > > Hi, > > following is my task file which i call from deployment_task.yaml > > file { '/tmp/filename.sh' > path => '/tmp’ Must must have the complete file name, not only the directory. https://docs.puppet.com/puppet/latest/type.html#fil

[Puppet Users] shell file but getting copied do destination

2017-09-10 Thread viveks8080
Hi, following is my task file which i call from deployment_task.yaml file { '/tmp/filename.sh' path => '/tmp' . . source => puppet:///midules/pluginname/filename.sh, } -> exec {'/tmp/filename.sh' command => '/tmp/filename.sh' path => '/usr/bin:/bin' } my problem is that neither filename.sh is g