--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e66dc07c-90cf-4e48-9bd8-56f3b1f74cdf%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Dear Jeff,Thanks for your guidance.Basically I want to achieve sending files from Windows to unix.I make my local Windows machine as Windows Agent with (puppet enterprise 3.2.4 (Puppet Enterprise 3.0.1).I use Puppetlabs provided machine VM, learn.localdomain which contains -puppet enterprise 3.2.4 (Puppet Enterprise 3.0.1-rc0-35-g3435b04)I followed your steps above as you had guided in the emailstep 1: from unix puppet command line, echo -e "\n[harshita]\npath /root/harshita\nallow *" >> /etc/puppetlabs/puppet/fileserver.confstep 2: service pe-puppet restart (In unix VM)step 3: Added the code file { 'D:\Puppet\Anshita.txt':source => 'puppet:///harshita/Anshita.txt', (But my doubt is that my source is windows location )
mode => '0644',
}Should I not do the other way around like,file { 'puppet:///harshita/Anshita.txt':source => ' D:\Puppet\Anshita.txt', (Specifying Windows is my Source , the location from where I want to send Anshita.txt)
mode => '0644',
}
in site.pp . Am I correct ? I am doubtful here.step 4: From Windows, I initiate Start -> ProgramFiles -> Puppet Enterprise -> Run Puppet Agent.I get the error below attached in the screenshot.
Unix logs - > /var/log/pe-puppet , I checked here for logs , but nothing significant.
Windows logs - > C:\ProgramData\PuppetLabs\puppet\var\log , nothing significant .
Your Guidance will be very much essential for me to proceed,Thanks,Harshita
On Thu, Dec 19, 2013 at 9:10 PM, Jeff Bachtel <jbac...@bericotechnologies.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAP%3D1m3ZLTnfZDzAS-y94%3DyO_xzLXiexU1Wf0eP5t3NjY2bug8Q%40mail.gmail.com.
Dear Jeff,
Thanks for your guidance.Basically I want to achieve sending files from Windows to unix.
Thanks Jeff.
Just to confirm on terminologies, is push different from copy ?
I want to copy file from windows D:/puppet/Anshita.txt to Unix in /root/Harshita.
My basic requirement is to copy the war and tar files from windows to Unix when the build is over in windows. Then when the tar is copied to Unix location I want to untar it.
Since I m new to puppet I was experimenting on file transfer . Once I m successful in my experiment I would explore more for automation.
Kindly suggest.
Many thanks
Harshita
Regards Harshita