[clue] Fwd: seeking puppet advice

Mike Bean beandaemon at gmail.com
Thu Sep 17 14:12:52 MDT 2015


Follow-up:
It is!   It's the bloody camel-casing!
I created the exact same module/directory structure and called it atest,
instead of aTest, and it worked fine!
Sheesh.

Sorry for the spam.

Mike B

---------- Forwarded message ----------
From: Mike Bean <beandaemon at gmail.com>
Date: Thu, Sep 17, 2015 at 2:05 PM
Subject: seeking puppet advice
To: CLUE's mailing list <clue at cluedenver.org>



I've been staring at something, looking at google, various books for a
couple days now, I don't know what the heck is going on.  I've got a
prototype puppet server going in a small environment, but I haven't managed
to apply a roll-my-own module yet.

I get
Error: Could not find class aTest for mul-puppet.xxx on node mul-puppet.xxxx

Interestingly enough, physically specifiying the long path in the site.pp
file seems to work

import '/etc/puppet/modules/aTest/manifests/init.pp'

root at mul-puppet:/etc/puppet/manifests# cat
/etc/puppet/modules/aTest/manifests/init.pp
class aTest {}

What I don't understand is why the autoloader can't handle it.  I literally
have other modules I've copied from books the exact same way, there's only
one difference.   The module name is camelCase.    Is it that simple?
does screwing with the case mess with the puppet autoloader?

Mike B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20150917/99bd57d8/attachment.html 


More information about the clue mailing list