ulrich igor ngouagna kouete
2013-Nov-19 11:25 UTC
[Puppet Users] custom types development on stand alone mode: unknown parameter
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. -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/9caddeab-9117-459d-8fc0-db1f17c2e2f6%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Felix Frank
2013-Nov-19 14:45 UTC
Re: [Puppet Users] custom types development on stand alone mode: unknown parameter
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 On 11/19/2013 12:25 PM, ulrich igor ngouagna kouete wrote:> 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.-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/528B7972.7000008%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.
ulrich igor ngouagna kouete
2013-Nov-19 16:06 UTC
Re: [Puppet Users] custom types development on stand alone mode: unknown parameter
Sorry but I do not understand :( I''m quite a newbee in all these... Le mardi 19 novembre 2013 15:45:06 UTC+1, Felix.Frank a écrit :> > 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 > > On 11/19/2013 12:25 PM, ulrich igor ngouagna kouete wrote: > > 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. >-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/6cc64cfb-fff2-4959-b47b-ef4936918f3f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
ulrich igor ngouagna kouete
2013-Nov-19 16:07 UTC
Re: [Puppet Users] custom types development on stand alone mode: unknown parameter
Sorry but I do not understand :( I''m quite a newbee in all these.. Le mardi 19 novembre 2013 15:45:06 UTC+1, Felix.Frank a écrit :> > 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 > > On 11/19/2013 12:25 PM, ulrich igor ngouagna kouete wrote: > > 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. >-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/391a350a-2228-4ced-9588-d2e3a77f6334%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Felix Frank
2013-Nov-19 16:09 UTC
Re: [Puppet Users] custom types development on stand alone mode: unknown parameter
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...-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/528B8D22.5040701%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.