Hi!

          I intsalled mysql through puppet using 'mysql-server' as package 
name , but when i want to remove mysql from my centos6.3 system, i get some 
problems.
          first i change the package attribute ensure => 'absent', then i 
run command 'puppet agent -t' on puppet agent, and puppet run successful. 
          but when i run command 'rpm -qa| grep mysql' , i find that  mysql 
still in my system.

mysql-connector-java-5.1.17-6.el6.noarch
mysql-community-release-el6-5.noarch
mysql-community-client-5.6.22-2.el6.x86_64
mysql-community-common-5.6.22-2.el6.x86_64
mysql-community-libs-5.6.22-2.el6.x86_64

          
          so i run 'puppet agent -t --debug' command to find out what 
happened. i get some debug messages:

Debug: Prefetching yum resources for package
Debug: Executing '/bin/rpm --version'
Debug: Executing '/bin/rpm -qa --nosignature --nodigest --qf '%{NAME} 
%|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n''
Debug: Executing '/bin/rpm -q mysql --nosignature --nodigest --qf %{NAME} 
%|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'
Debug: /Stage[main]/Main/Node[oncecloud.agent2]/Package[mysql-server]: 
Nothing to manage: no ensure and the resource doesn't exist

          
          i want to know how to set yum provider or package attribute to 
make package using yum command to remove mysql not rpm command.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/50662559-cba0-45d7-8128-5aa5249f0022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to