Issue #3772 has been reported by Alan Barrett.

----------------------------------------
Bug #3772: confusing warning related to undocumented change in interpretation 
of "source" paramneter for files
http://projects.puppetlabs.com/issues/3772

Author: Alan Barrett
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


This warning appears in src/lib/puppet/file_serving/configuration.rb:

"DEPRECATION NOTICE: Files found in modules without specifying 'modules' in 
file path will be deprecated in the next major release.  Please fix module '%s' 
when no 0.24.x clients are present"

I think it's trying to say something like: Please change source => 
"puppet:///mymodule/myfile" to source => "puppet:///modules/mymodule/myfile" in 
all file resources.

However, I don't see any documentation that explains this change, and without 
documentation to back it up, I find the warning confusing.  Almost all the 
examples that I can find use the name of the module, not the word "modules", as 
the first component of the path (after the server name) in the "source" 
parameter of file resources.  Even the release notes for puppet 0.25.0 (which I 
think is where the change occurred) don't hint at this.  They say "The module 
name must now be specified in source attributes of the file type" (which I 
thought had already been true in version 0.24), and don't say anything about 
the word "modules".


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to