Issue #4088 has been updated by R.I. Pienaar aka Volcane.

<pre>You can use the characters A-Z, a-z, 0-9 and underscores in variables, 
resources and class names. In Puppet releases prior to 0.24.6, you cannot start 
a class name with a number.</pre>

from 
http://docs.puppetlabs.com/guides/more_language.html#reserved_words__acceptable_characters

it's not enforced anywhere, but I'd avoid dashes in module names.
----------------------------------------
Bug #4088: dependency parsing issue with modules that have a dash in the name
http://projects.puppetlabs.com/issues/4088

Author: Garrett Honeycutt
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 


Modulefile has a dependency with a dash in the name and the release page does 
not list the dependency.

Please see the Modulefile at 
http://github.com/ghoneycutt/puppet-generic/blob/master/Modulefile for the 
ghoneycutt-generic module. It is presented at 
http://forge.puppetlabs.com/users/ghoneycutt/modules/generic/releases/1.0.0 
with the following. Notice that syslog-ng is missing.

"
Dependencies

    * ghoneycutt/backup (>= 1.0.0)
    * ghoneycutt/certs (>= 1.0.0)
    * ghoneycutt/dnsclient (>= 1.0.0)
    * ghoneycutt/facter (>= 1.0.0)
    * ghoneycutt/hosts (>= 1.0.0)
    * ghoneycutt/logrotate (>= 1.0.0)
    * ghoneycutt/logwatch (>= 1.0.0)
    * ghoneycutt/postfix (>= 1.0.0)
    * ghoneycutt/puppet (>= 1.0.0)
    * ghoneycutt/rsync (>= 1.0.0)
    * ghoneycutt/snmp (>= 1.0.0)
    * ghoneycutt/ssh (>= 1.0.0)
    * ghoneycutt/sudo (>= 1.0.0)
    * (>= 1.0.0)
    * ghoneycutt/utils (>= 1.0.0)
    * ghoneycutt/vim (>= 1.0.0)
"

To reproduce, add a dependency with a dash in the module name.


-- 
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