Cedric Jeanneret
2010-Jun-28 10:25 UTC
[Puppet Users] deprecation warning for "file" in modules
Hello, Since we upgraded to 0.25.4, we have this kind of warning: DEPRECATION NOTICE: Files found in modules without specifying ''modules'' in file path will be deprecated in the next major release. Please fix module ''<module name>'' when no 0.24.x clients are present The message is easy to understand, but I''m unable to find which "file" instance has an error... Does it come from "source => ''...''" or from "template()" ? we have some files which don''t have any source nor content set - only there to manage permissions. Is it a problem ? Thank you in advance. Best regards, C. Jeanneret -- Cédric Jeanneret | System Administrator 021 619 10 32 | Camptocamp SA cedric.jeanneret@camptocamp.com | PSE-A / EPFL
David Schmitt
2010-Jun-28 11:34 UTC
Re: [Puppet Users] deprecation warning for "file" in modules
On 6/28/2010 12:25 PM, Cedric Jeanneret wrote:> Hello, > > Since we upgraded to 0.25.4, we have this kind of warning: > DEPRECATION NOTICE: Files found in modules without specifying > ''modules'' in file path will be deprecated in the next major release. > Please fix module ''<module name>'' when no 0.24.x clients are present > > The message is easy to understand, but I''m unable to find which > "file" instance has an error... Does it come from "source => ''...''" > or from "template()" ? we have some files which don''t have any source > nor content set - only there to manage permissions. Is it a problem > ?This comes from files that have a source => ''puppet:///modulename/path/'' set. After you have upgraded all 0.24 clients, you can change this to ''puppet:///modules/modulename/path/'' as described in the warning. Best Regards, David -- dasz.at OG Tel: +43 (0)664 2602670 Web: http://dasz.at Klosterneuburg UID: ATU64260999 FB-Nr.: FN 309285 g FB-Gericht: LG Korneuburg -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Cedric Jeanneret
2010-Jun-29 08:29 UTC
Re: [Puppet Users] deprecation warning for "file" in modules
On Mon, 28 Jun 2010 13:34:08 +0200 David Schmitt <david@dasz.at> wrote:> On 6/28/2010 12:25 PM, Cedric Jeanneret wrote: > > Hello, > > > > Since we upgraded to 0.25.4, we have this kind of warning: > > DEPRECATION NOTICE: Files found in modules without specifying > > ''modules'' in file path will be deprecated in the next major release. > > Please fix module ''<module name>'' when no 0.24.x clients are present > > > > The message is easy to understand, but I''m unable to find which > > "file" instance has an error... Does it come from "source => ''...''" > > or from "template()" ? we have some files which don''t have any source > > nor content set - only there to manage permissions. Is it a problem > > ? > > > This comes from files that have a source => ''puppet:///modulename/path/'' > set. After you have upgraded all 0.24 clients, you can change this to > ''puppet:///modules/modulename/path/'' as described in the warning. > > > Best Regards, DavidOh, thank you. wasn''t really clear to me. Best regards, C. -- Cédric Jeanneret | System Administrator 021 619 10 32 | Camptocamp SA cedric.jeanneret@camptocamp.com | PSE-A / EPFL