File server on linux - files with spaces are 404 on server

61 views
Skip to first unread message

James Green

unread,
Jun 26, 2014, 11:17:16 AM6/26/14
to puppet-users
I'm trying to "finish off" some work a colleague began which includes distribution of some files from the puppet master.

I just fired up a new instance and watched as puppet agent -t came up with a whole lot of errors in ensuring certain files were present. Intrigued, it seems those with a space in the path are not found on the server:

Error: Could not set 'file' on ensure: Error 404 on SERVER: Not Found: Could not find file_content svn/project/trunk/SQL/New%20Install/jquery.js
Error: Could not set 'file' on ensure: Error 404 on SERVER: Not Found: Could not find file_content svn/project/trunk/SQL/New%20Install/jquery.js
Wrapped exception:
Error 404 on SERVER: Not Found: Could not find file_content svn/project/trunk/SQL/New%20Install/jquery.js

On the server itself I can find the file, it's just listed within the "New Install" directory as you would expect. This is one of about a dozen or more all with spaces.

Both master and client are Ubuntu. I'm struggling to see why those with spaces are failing.

Any guidance would be appreciated.

Thanks,

James

James Green

unread,
Jun 27, 2014, 5:38:03 AM6/27/14
to puppet-users
Upon further investigation, this is PUP-2700 getting us busted for any new instances. In our case the files are held on the puppet master but we're using passenger I'm told.

So until 3.7 is out I guess we're completely reliant on existing instances..?
Reply all
Reply to author
Forward
0 new messages