Maybe this has already been stated or is a feature request or I could be out of my mind. Is there anyway to access a remote mysql database from within let''s say...a puppet function? BC ____________________________________________________________________________________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it''s updated for today''s economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Jul 3, 2007, at 11:33 AM, Brent Clements wrote:> > > Maybe this has already been stated or is a feature request or I > could be out of my mind. > > Is there anyway to access a remote mysql database from within let''s > say...a puppet function?Sure, Puppet functions are plain ruby, you can do whatever you want. Or you could write an external script that returned the value you want and call it via the generate() function. -- Men will wrangle for religion; write for it; fight for it; die for it; anything but live for it. --Charles Caleb Colton --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Brent Clements
2007-Jul-03 17:00 UTC
Re: mysql and/or db access from within puppet recipes?
Thanks what I thought! Thanks!!! ----- Original Message ---- From: Luke Kanies <luke@madstop.com> To: Puppet User Discussion <puppet-users@madstop.com> Sent: Tuesday, July 3, 2007 11:59:31 AM Subject: Re: [Puppet-users] mysql and/or db access from within puppet recipes? On Jul 3, 2007, at 11:33 AM, Brent Clements wrote:> > > Maybe this has already been stated or is a feature request or I > could be out of my mind. > > Is there anyway to access a remote mysql database from within let''s > say...a puppet function?Sure, Puppet functions are plain ruby, you can do whatever you want. Or you could write an external script that returned the value you want and call it via the generate() function. -- Men will wrangle for religion; write for it; fight for it; die for it; anything but live for it. --Charles Caleb Colton --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users