Noob question structure and calling a class

16 views
Skip to first unread message

Abel Paz

unread,
Aug 27, 2014, 7:25:52 PM8/27/14
to puppe...@googlegroups.com
in using eclipse with geppetto, i am running into an error

I have a file structure like this..

module_a
      |
      |
      >manifests
              |
              |
              >folder_b
                     | 
                     |
                     >file_c.pp  
                     | 
                     |
                     >file_d.pp

#/module_a/manifests/folder_b/file_d.pp 
    class{'module_a::folder_b::file_c': parama => 'something'}    
    class{'module_a::folder_b::file_c': parama => 'somethingelse'}   
    class{'module_a::folder_b::file_c': parama => 'somethingelsemore'}   

I keep getting the following error:
unknown class: 'module_a::folder_b::file_c'

Felix Frank

unread,
Aug 28, 2014, 4:02:08 AM8/28/14
to puppe...@googlegroups.com
Hi,

this question would be more appropriate on the puppet-users list.

I suspect that the cause for your issue got lost during anonymization.
Does the module/subdirectory/class name contain some unusual character
outside the [a-zA-Z0-9_] range?

David Schmitt

unread,
Aug 28, 2014, 5:59:15 AM8/28/14
to puppe...@googlegroups.com
On 2014-08-28 10:02, Felix Frank wrote:
> Hi,
>
> this question would be more appropriate on the puppet-users list.
>
> I suspect that the cause for your issue got lost during anonymization.
> Does the module/subdirectory/class name contain some unusual character
> outside the [a-zA-Z0-9_] range?

Also, does file_c.pp contain a class "module_a::folder_b::file_c" ?


Regards, David

> On 08/28/2014 01:25 AM, Abel Paz wrote:
>> in using eclipse with geppetto, i am running into an error
>>
>> I have a file structure like this..
>>
>> module_a
>> |
>> |
>> >manifests
>> |
>> |
>> >folder_b
>> |
>> |
>> >file_c.pp
>> |
>> |
>> >file_d.pp
>>
>> #/module_a/manifests/folder_b/file_d.pp
>> class{'module_a::folder_b::file_c': parama => 'something'}
>> class{'module_a::folder_b::file_c': parama => 'somethingelse'}
>> class{'module_a::folder_b::file_c': parama => 'somethingelsemore'}
>>
>> I keep getting the following error:
>> unknown class: 'module_a::folder_b::file_c'
>


--
* Always looking for people I can help with awesome projects *
G+: https://plus.google.com/+DavidSchmitt
Blog: http://club.black.co.at/log/
LinkedIn: http://at.linkedin.com/in/davidschmitt

Henrik Lindberg

unread,
Aug 28, 2014, 12:10:24 PM8/28/14
to puppe...@googlegroups.com
On 2014-28-08 10:02, Felix Frank wrote:
> Hi,
>
> this question would be more appropriate on the puppet-users list.

Or even better in the geppetto list :-)

- henrik

--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

Reply all
Reply to author
Forward
0 new messages