in network, puppet, ruby

Puppet: Files found in modules without specifying ‘modules’ in file path will be deprecated in the next major release

DEPRECATION NOTICE: Files found in modules without specifying ‘modules’ in file path will be deprecated in the next major release.

If you get this warning in your puppet logs, you should take action (only if you don’t have any Puppet agent with a version <= 0.24) and modify all you references to file resources. For example, if you have a module named 'ssh', normally, up to puppet 0.25 you would reference a file to it as:

source => [“puppet:///ssh/authorized_keys”,]

But now, you need to insert a ‘module’ identifier in between like this:

source => ["puppet:///modules/ssh/authorized_keys",]

Just a small note: It seems that the templates do not need any modification.