Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-05-02 Thread Joshua Cooper (JIRA)
Title: Message Title










 

 Joshua Cooper updated an issue











 






 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 










Change By:

 Joshua Cooper




Assignee:

 Joshua Cooper












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-05-01 Thread Joshua Cooper (JIRA)
Title: Message Title










 

 Joshua Cooper commented on an issue











 






  Re: PR (2420) Puppet remote fileserver facility for file resources. 










On agent, created an entry in /etc/hosts for fileserver.solar.lan that happens to point to the same puppetmaster IP.


172.16.138.51  puppetmaster puppetmaster.solar.lan fileserver.solar.lan



On master, created a manifest to source file from a module.


file { '/tmp/newfile':
  ensure => file,
  source => 'puppet://fileserver.solar.lan/modules/stdlib/newfile.txt',
}



On master, installed stdlib and added a file to it:


# puppet module install puppetlabs/stdlib
# mkdir /etc/puppet/modules/stdlib/files
# ls > /etc/puppet/modules/stdlib/files/newfile.txt



Added some debugging to puppet to show which requests are being made, ran the agent, and it is correctly using the fileserver for both file_metadata and file_content requests:


$ bundle exec puppet agent -td  | grep 'newfile.txt'
Debug: connecting to https://fileserver.solar.lan:8140/production/file_metadata/modules/stdlib/newfile.txt?links=manage&source_permissions=use
Debug: connecting to https://fileserver.solar.lan:8140/production/file_content/modules/stdlib/newfile.txt















   

 Add Comment











 













 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 
 

Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-05-01 Thread Adrien Thebo (JIRA)
Title: Message Title










 

 Adrien Thebo assigned an issue to Joshua Cooper











 






 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 










Change By:

 Adrien Thebo




Assignee:

 Adrien Thebo Joshua Cooper












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-05-01 Thread Adrien Thebo (JIRA)
Title: Message Title










 

 Adrien Thebo assigned an issue to Adrien Thebo











 






 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 










Change By:

 Adrien Thebo




Assignee:

 Adrien Thebo












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-04-16 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker commented on an issue











 






  Re: PR (2420) Puppet remote fileserver facility for file resources. 










As a side note, the regression occurred from the work to get puppet to honor SRV records in the change that was made to the content handling of the file resource.












   

 Add Comment











 













 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 







 As of current release, due to the use of source_or_content.full_path, the hostname is stripped from attempts to handle file_content calls in type/file.rb. Because of this, it correctly calls file_metadata from the proper server, but then calls the puppetmaster instead of the remote fileserver for content retrieval, which fails.   This resolution might st...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, v

Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-04-16 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker commented on an issue











 






  Re: PR (2420) Puppet remote fileserver facility for file resources. 










Merged into master in eaa4877. I made a few changes to the PR that was submitted. Most of these were cosmetic, but one was a functional difference. The code had done if source.nil? where I could find no instance where source could ever be nil. The unit tests didn't show a nil source and experiments with puppet also didn't cause it to be nil.












   

 Add Comment











 













 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 







 As of current release, due to the use of source_or_content.full_path, the hostname is stripped from attempts to handle file_content calls in type/file.rb. Because of this, it correctly calls file_metadata from the proper server, but then calls the puppetmaster instead of the remote fileserver for content retrieval, which fails.   This resolution might st...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs

Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-04-16 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker updated an issue











 






 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 










Change By:

 Andy Parker




Story Points:

 1












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-04-16 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker assigned an issue to Andy Parker











 






 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 










Change By:

 Andy Parker




Assignee:

 Andy Parker












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-04-16 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker updated an issue











 






 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 










Change By:

 Andy Parker




Sprint:

 Week 2014-4-16 to 2014-4-23












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-04-16 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker assigned an issue to Andy Parker











 






 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 










Change By:

 Andy Parker




Assignee:

 Kylo Ginsberg Andy Parker












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-03-24 Thread Tristan Smith (JIRA)
Title: Message Title










 

 Tristan Smith commented on an issue











 






  Re: PR (2420) Puppet remote fileserver facility for file resources. 










I've unscrewed travis for this pull; the code appears to behave properlike now, though I'm not sure it's properly idiomatic, per se. 












   

 Add Comment











 













 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 







 As of current release, due to the use of source_or_content.full_path, the hostname is stripped from attempts to handle file_content calls in type/file.rb. Because of this, it correctly calls file_metadata from the proper server, but then calls the puppetmaster instead of the remote fileserver for content retrieval, which fails.   This resolution might st...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.

Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-03-18 Thread Roger Spencer (JIRA)
Title: Message Title










 

 Roger Spencer commented on an issue











 






  Re: PR (2420) Puppet remote fileserver facility for file resources. 










I've been banging my head on this bug for a few days until I realized the file_content was going to the wrong master.
If I downgrade the client to 2.7.22 the remote master file source works. Apparently anything 3.x doesn't work.












   

 Add Comment











 













 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 







 As of current release, due to the use of source_or_content.full_path, the hostname is stripped from attempts to handle file_content calls in type/file.rb. Because of this, it correctly calls file_metadata from the proper server, but then calls the puppetmaster instead of the remote fileserver for content retrieval, which fails.   This resolution might st...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to p

Jira (PUP-1892) PR (2420) Puppet remote fileserver facility for file resources.

2014-03-07 Thread Tristan Smith (JIRA)
Title: Message Title










 

 Tristan Smith created an issue











 






 Puppet /  PUP-1892



  PR (2420) Puppet remote fileserver facility for file resources. 










Issue Type:

  Bug




Affects Versions:


 3.4.3




Assignee:

 Kylo Ginsberg




Components:


 Types and Providers




Created:


 07/Mar/14 1:25 PM




Priority:

  Normal




Reporter:

 Tristan Smith










As of current release, due to the use of source_or_content.full_path, the hostname is stripped from attempts to handle file_content calls in type/file.rb. Because of this, it correctly calls file_metadata from the proper server, but then calls the puppetmaster instead of the remote fileserver for content retrieval, which fails.
This resolution might still be a bit naive, but it mitigates the issue pretty neatly.












   

 Add Comment