Re: [Puppet Users] Re: Issues with installing some modules !!!

2012-08-08 Thread Ryan Coleman
On Tue, Aug 7, 2012 at 10:44 PM, Rakesh K rkath...@gmail.com wrote:

 Actually I have tried fresh install of the module multiple times after
 clearing all traces of the mysql package on the client but still getting the
 same result.

Ok. Have you tried using the released Forge module instead of the
GitHub code in development?
http://forge.puppetlabs.com/puppetlabs/mysql


 I am using the same nodes.pp as above as the password is not set at all,
 I hv not tried using the old_password parameter at all.

If your machine already has a mysql server with a password set, you'll
need to supply that in the config_hash like you mentioned earlier
(config_hash = { 'root_password' = 'mypass' }). You can test that
your password is correct by logging into the mysql server directly
(something like 'mysql -u root -P').

If you're trying to change the mysql password with Puppet, you'll need
to do what Nan suggested for the config_hash paramater.
class { 'mysql::server':
  config_hash = {
root_password = 'mypass',
old_root_password = 'oldpass',
  }
}

If this is still not working after those declarations, could you
include the full output of your agent run in --debug mode (puppet
agent -t --debug)? Any relevant messages from your master would be
useful as well.


 Please suggest.

Let's figure this out before we move onto the Dashboard. :-)

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@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.



Re: [Puppet Users] Re: Issues with installing some modules !!!

2012-08-07 Thread Ryan Coleman
On Mon, Aug 6, 2012 at 2:05 AM, Rakesh K rkath...@gmail.com wrote:
 Any updates ??

Sorry Rakesh, I was waiting for your response to Nan's comments. I've
pasted them below for reference.



Yeah, per Ryan, most likely you already have an existing password, and
you need to set old_root_password before you can set the new password:

...
config_hash = {
  root_password = 'mypass',
  old_root_password = 'oldpass',
}

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-users@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.



Re: [Puppet Users] Re: Issues with installing some modules !!!

2012-08-07 Thread Rakesh K

Actually I have tried fresh install of the module multiple times after 
clearing all traces of the mysql package on the client but still getting 
the same result.

I am using the same nodes.pp as above as the password is not set at 
all, I hv not tried using the old_password parameter at all.

Please suggest.


On Wednesday, August 8, 2012 2:21:43 AM UTC+5:30, Ryan Coleman wrote:

 On Mon, Aug 6, 2012 at 2:05 AM, Rakesh K rkat...@gmail.com javascript: 
 wrote: 
  Any updates ?? 

 Sorry Rakesh, I was waiting for your response to Nan's comments. I've 
 pasted them below for reference. 

  

 Yeah, per Ryan, most likely you already have an existing password, and 
 you need to set old_root_password before you can set the new password: 

 ... 
 config_hash = { 
   root_password = 'mypass', 
   old_root_password = 'oldpass', 
 } 


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/SG8Y3H6hQjgJ.
To post to this group, send email to puppet-users@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.



Re: [Puppet Users] Re: Issues with installing some modules !!!

2012-08-07 Thread Rakesh K

Also can you please guide me as to how can I try this from the dashboard ?

I know I can simply include the mysql class and assign it to my node.. but 
how can I actually pass these parameters and how will dashboard know which 
parameters refers to which class?

On Wednesday, August 8, 2012 11:14:58 AM UTC+5:30, Rakesh K wrote:


 Actually I have tried fresh install of the module multiple times after 
 clearing all traces of the mysql package on the client but still getting 
 the same result.

 I am using the same nodes.pp as above as the password is not set at 
 all, I hv not tried using the old_password parameter at all.

 Please suggest.


 On Wednesday, August 8, 2012 2:21:43 AM UTC+5:30, Ryan Coleman wrote:

 On Mon, Aug 6, 2012 at 2:05 AM, Rakesh K rkat...@gmail.com wrote: 
  Any updates ?? 

 Sorry Rakesh, I was waiting for your response to Nan's comments. I've 
 pasted them below for reference. 

  

 Yeah, per Ryan, most likely you already have an existing password, and 
 you need to set old_root_password before you can set the new password: 

 ... 
 config_hash = { 
   root_password = 'mypass', 
   old_root_password = 'oldpass', 
 } 



-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/1XPnGzLQ2pUJ.
To post to this group, send email to puppet-users@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.