Error: The source does not exist:

60 views
Skip to first unread message

Deo Breathnu

unread,
May 5, 2019, 1:31:58 PM5/5/19
to Puppet Users
Sorry I am new to puppet and I am sure this is a simple fix, but I am completely confused.  

I created a module to install .exe files on a windows 2016 server. I put the .exe files in the file directory 

/etc/puppetlabs/code/environments/production/modules/install_visual_c_packages/files

but receive this message.   

Error: The source does not exist: 'puppet:///modules/install_visual_c_packages/vcredist_x86_2010.exe'

Every example that I have seen says to format the source in this way.  The puppet docs https://puppet.com/docs/puppet/6.4/modules_fundamentals.html also shows this.

I have googled this (alot) and don't come up with any answers that seem to work. What am I doing wrong??

james....@gmail.com

unread,
May 6, 2019, 7:30:46 AM5/6/19
to Puppet Users
I am not familiar with windows install but on Linux - in the module make a folder called files. then put any of your files in there and see if it picks up. Keep the same puppet:/// ..... line and see what happens.
Reply all
Reply to author
Forward
0 new messages