--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/673af078-aadf-4c43-8f8a-c451f688a85f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Jon,As you have read, this is part of our work implementing errors to enforce the standards set down in PUP-1434. In particular, your example '$module_path/seed/manifests/init.pp' looks like it is in the init file of module 'seed'. Assuming that is what you meant, anything starting with 'seed' would be OK in that file, e.g. 'seed', 'seed::remote_file', 'seed::foo::remote_file' would all work. Note that as part of point 4. of PUP-1434 (now being implemented in the work of PUP-9020), you will also not be allowed to put things like resources in the top level, but instead should include your resources in a class, define, function, or type declaration.
> <mailto:puppet-users+unsub...@googlegroups.com>.
Hi Jon,In Puppet 6 we're going to start requiring that the names of classes/defines match the name that's implied by their file path[1]. We added that deprecation warning in 5.5.6[2] as part of a push to get upcoming Puppet 6 changes printing warnings whenever possible.
I've resuscitated my JIRA account, so if you wish to attach me to the ticket in some way, my username is 'ltning'.
I presume 5.5.7 should have this one fixed then? :)
/Eirik
> an email to puppet...@googlegroups.com
> <mailto:puppet-users+unsub...@googlegroups.com>.
> <mailto:puppet-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/916271cc-6a49-4374-afe2-d6fe0dff297d%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/916271cc-6a49-4374-afe2-d6fe0dff297d%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/dc9b55e8-f5c3-4622-a223-0d5df43e36db%40googlegroups.com.
#puppet parser validate init.pp
Warning: Unacceptable location. The name 'adhoc::pkg::dan::init' is unacceptable in file '/opt/puppetlabs/puppet/modules/adhoc/pkg/dan/manifests/init.pp' (file: /opt/puppetlabs/puppet/modules/adhoc/pkg/dan/manifests/init.pp, line: 1, column: 1)
class adhoc::pkg::dan {
}
> <mailto:puppet-users+unsub...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/916271cc-6a49-4374-afe2-d6fe0dff297d%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/916271cc-6a49-4374-afe2-d6fe0dff297d%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet...@googlegroups.com.
Thanks Ben.Would you know why this wouldn't work? I have the module manifest folder under adhoc/pakg/dan/manifest/
#puppet parser validate init.pp
Warning: Unacceptable location. The name 'adhoc::pkg::dan::init' is unacceptable in file '/opt/puppetlabs/puppet/modules/adhoc/pkg/dan/manifests/init.pp' (file: /opt/puppetlabs/puppet/modules/adhoc/pkg/dan/manifests/init.pp, line: 1, column: 1)
So I assumed with the init.pp file this would work?
class adhoc::pkg::dan {}
class dan {
}
I also tried just using the module name prior to the manifest folder but that didn't work as well.
On Monday, June 17, 2019 at 9:09:52 AM UTC-5, lhu wrote:
Thanks Ben.Would you know why this wouldn't work? I have the module manifest folder under adhoc/pkg/dan/manifest/