custom types development on stand alone mode: unknown parameter

15 views
Skip to first unread message

ulrich igor ngouagna kouete

unread,
Nov 19, 2013, 6:25:09 AM11/19/13
to puppet...@googlegroups.com
Hi,

I'm trying to develop a custom type, and I'm working on a stand alone mode (using puppet apply to apply my manifest). After modifying the type (adding a new parameter for example), when I try to apply the manifest again, it says that the new param is unknown. I found on the official doc that I need to restart both "master" and "node" before applying my changes. But I'm not working on master/nodes architecture :(. 

What should I do instead??

thanks.

Felix Frank

unread,
Nov 19, 2013, 9:45:06 AM11/19/13
to puppet...@googlegroups.com
Hi,

where does the ruby code of your custom type reside?

Make sure that ruby's include path (`ruby -e 'puts $:`) will read your
working tree first. To be safe, run puppet as

RUBYLIB=/path/to/my/lib puppet apply <test-manifest>.pp

HTH,
Felix
Message has been deleted

ulrich igor ngouagna kouete

unread,
Nov 19, 2013, 11:07:31 AM11/19/13
to puppet...@googlegroups.com
Sorry but I do not understand :( I'm quite a newbee in all these..

Felix Frank

unread,
Nov 19, 2013, 11:09:06 AM11/19/13
to puppet...@googlegroups.com
That's fine.

Can you put your code into PasteBin or gist.github.com? We can work from
there.

Cheers,
Felix

On 11/19/2013 05:06 PM, ulrich igor ngouagna kouete wrote:
> Sorry but I do not understand :( I'm quite a newbee in all these...
Reply all
Reply to author
Forward
0 new messages