----- Original Message ----- > From: "Axel Bock" <[email protected]> > To: [email protected] > Sent: Monday, July 30, 2012 5:50:41 AM > Subject: Re: [Puppet Users] Integrating Ruby methods into Puppet classes > > thanks, that works just fine :) . I am writing some methods right > now. > > a last question maybe: how can I ouptut text on the command line from > within a function? > > crit(...) and function_crit(...) don't seem to work, even when I > include the puppet functions using "... loadall" like said in the > docs.
functions are run on the master so you wont see them on the client side unless you are using 'apply', Puppet.notice() should do it. -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
