> On 09 Sep 2017, at 18:48, [email protected] 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#file-attribute-path > . > . 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 getting copied into /tmp/ folder > nor(and probably that's why) commands is not getting executed > > please help me asap, I have already defaulted on deadline twice. > > thanks, > Vivek > > -- > 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/966fd69f-9e35-4d7e-bff1-0493432757c5%40googlegroups.com. > 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/09C2FE2F-4FE1-41D0-A052-4A79514FF200%40gmail.com. For more options, visit https://groups.google.com/d/optout.
