Hi Steve, Thanks for your suggestion but it doesn't change the behaviour I see. MySQL gets installed nicely, but the db's do not appear nor any error- messages in the logfiles.
I use: node 'puppettest' { include mysql::server include augeas mysql::database {"tsdfsdf": ensure => present,} } On Jul 15, 5:15 am, "steve ." <leftath...@gmail.com> wrote: > If you grab the Augeas module from the same source, that should > satisfy the dependency... > > On Wed, Jul 14, 2010 at 7:11 AM, bowlby <bramenn...@gmail.com> wrote: > > Hi, > > I tried the mysq-module (fromhttp://github.com/camptocamp/puppet-mysql) > > and it will install mysql but it won't create db's or users. > > I had to create /usr/share/augeas/lenses/contrib, because the module > > seems to expect it. Otherwise I get no error-logs, it just won't > > create users or databases... > > > I'm running it on Ubuntu Lucid Lynx, puppet 25.4. > > > Somebody having the same problems? > > > Thanks! > > > btw, this is what I use to test: > > > node 'puppettest' { > > > include mysql::server > > > mysql::rights {"Set rights for puppet database": > > ensure => present, > > database => "puppesdfsdft", > > user => "puppesdfs...@localhost", > > password => "puppsdfsdfdsfet" > > } > > > mysql::database{"mysdfsdfsdfdb": > > ensure => present > > } > > > } > > > On Jun 21, 5:51 pm, David Schmitt <da...@dasz.at> wrote: > >> On 5/19/2010 5:44 PM, Ken wrote: > > >> >> I found a github reference to a package that might do it > >> >> (http://github.com/camptocamp/puppet-mysql) but I can't understand > >> >> what it is, how it works, or even what to do with it. > > >> > Hmm. How familiar are you with puppet modules? Not quite clear how > >> > detailed we need to be here :-). Here is a doc that outlines them: > >> >http://docs.puppetlabs.com/guides/modules.html > > >> > Ordinarily you would drop this code into your 'module path' (by > >> > default this is often /etc/puppet/modules). This would make it > >> > available then for use in other code/manifests. > > >> > Assuming you are already okay with these aspects of puppet - here is > >> > a sample manifest on how to use it for 1 system. I have a fork of > >> > that code (its been around - I'm not even clear who wrote it first - > >> > could have been David Schmidt: > >> >http://git.black.co.at/?p=module-mysql;a=summary) so it may not work > >> > exactly the same :-). > > >> Indeed, the mysql_* types were originially written by me. > > >> Best Regards, David > >> -- > >> dasz.at OG Tel: +43 (0)664 2602670 Web:http://dasz.at > >> Klosterneuburg UID: ATU64260999 > > >> FB-Nr.: FN 309285 g FB-Gericht: LG Korneuburg > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To post to this group, send email to puppet-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.