hello list! could someone please offer an opinion as to why the mysql module I am attempting to include is not found? ## error [root@pdb1 ~]# puppetd --test err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class mysql at /etc/puppet/manifests/nodes.pp:25 on node pdb1.acadaca.net warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run ## nodes.pp node ''pclient.acadaca.net'' { include basefiles include baseapps } node ''pclient2.acadaca.net'' { include basefiles include baseapps include mysql } node ''pclient4.acadaca.net'' { include basefiles include baseapps } node ''mclient.acadaca.net''{ include basefiles include baseapps include webserver } node ''pdb1.acadaca.net'' { include basefiles include baseapps include mysql include postfix } node ''kromep1.acadaca.net'' { include basefiles include baseapps include webserver } ## mysql module exists [root@puppet ~]# ls -l /etc/puppet/modules/mysql/manifests/init.pp -rw-r--r-- 1 root root 396 Feb 28 18:03 /etc/puppet/modules/mysql/manifests/init.pp thank you kindly in advance! :) -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
It''s possible that your mysql class inside of that mysql module has broken syntax, generating that error. -Mark On Mar 1, 2011, at 5:28 PM, Tim Dunphy wrote:> hello list! could someone please offer an opinion as to why the mysql > module I am attempting to include is not found? > > ## error > > [root@pdb1 ~]# puppetd --test > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Could not find class mysql at > /etc/puppet/manifests/nodes.pp:25 on node pdb1.acadaca.net > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > > > > ## nodes.pp > > > > node ''pclient.acadaca.net'' { > include basefiles > include baseapps > } > > node ''pclient2.acadaca.net'' { > include basefiles > include baseapps > include mysql > } > > node ''pclient4.acadaca.net'' { > > include basefiles > include baseapps > } > node ''mclient.acadaca.net''{ > include basefiles > include baseapps > include webserver > } > node ''pdb1.acadaca.net'' { > include basefiles > include baseapps > include mysql > include postfix > } > > node ''kromep1.acadaca.net'' { > include basefiles > include baseapps > include webserver > } > > ## mysql module exists > > [root@puppet ~]# ls -l /etc/puppet/modules/mysql/manifests/init.pp > -rw-r--r-- 1 root root 396 Feb 28 18:03 > /etc/puppet/modules/mysql/manifests/init.pp > > thank you kindly in advance! :) > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi Tim, is there a mysql class in your modules/mysql/init.pp manifest? Cheers, Atha On Tuesday, March 1, 2011 at 7:28 PM, Tim Dunphy wrote:> hello list! could someone please offer an opinion as to why the mysql > module I am attempting to include is not found? > > ## error > > [root@pdb1 ~]# puppetd --test > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Could not find class mysql at > /etc/puppet/manifests/nodes.pp:25 on node pdb1.acadaca.net > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > > > > ## nodes.pp > > > > node ''pclient.acadaca.net'' { > include basefiles > include baseapps > } > > node ''pclient2.acadaca.net'' { > include basefiles > include baseapps > include mysql > } > > node ''pclient4.acadaca.net'' { > > include basefiles > include baseapps > } > node ''mclient.acadaca.net''{ > include basefiles > include baseapps > include webserver > } > node ''pdb1.acadaca.net'' { > include basefiles > include baseapps > include mysql > include postfix > } > > node ''kromep1.acadaca.net'' { > include basefiles > include baseapps > include webserver > } > > ## mysql module exists > > [root@puppet ~]# ls -l /etc/puppet/modules/mysql/manifests/init.pp > -rw-r--r-- 1 root root 396 Feb 28 18:03 > /etc/puppet/modules/mysql/manifests/init.pp > > thank you kindly in advance! :) > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi guys, Sorry my fault, I had a problem with the init.pp file but it is looking ok now. I appreciate your time. :) There was an error in the init.pp of the mysql module which I have now fixed and mysql is installing and running splendidly! --- /etc/my.cnf 2010-11-19 21:26:05.000000000 -0500 +++ /tmp/puppet-diffing.1803.0 2011-03-02 12:58:23.000000000 -0500 @@ -6,21 +6,10 @@ # clients (those using the mysqlclient10 compatibility package). old_passwords=1 -# To allow mysqld to connect to a MySQL Cluster management daemon, uncomment -# these lines and adjust the connectstring as needed. -#ndbcluster -#ndb-connectstring="nodeid=4;host=localhost:1186" +# Disabling symbolic-links is recommended to prevent assorted security risks; +# to do so, uncomment this line: +# symbolic-links=0 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid - -[ndbd] -# If you are running a MySQL Cluster storage daemon (ndbd) on this machine, -# adjust its connection to the management daemon here. -# Note: ndbd init script requires this to include nodeid! -connect-string="nodeid=2;host=localhost:1186" - -[ndb_mgm] -# connection string for MySQL Cluster management tool -connect-string="host=localhost:1186" info: Filebucket[/var/lib/puppet/clientbucket]: Adding /etc/my.cnf(d83162f6dee4ca090c7b129026293998) info: //mysql/File[/etc/my.cnf]: Filebucketed /etc/my.cnf to main with sum d83162f6dee4ca090c7b129026293998 notice: //mysql/File[/etc/my.cnf]/content: content changed ''{md5}d83162f6dee4ca090c7b129026293998'' to ''{md5}740258c758e3ef283d2fd5f862bc9e4c'' notice: //mysql/Service[mysqld]/ensure: ensure changed ''stopped'' to ''running'' info: Creating state file /var/lib/puppet/state/state.yaml notice: Finished catalog run in 34.22 seconds Regards, Tim On Tue, Mar 1, 2011 at 5:34 PM, Atha Kouroussis <akouroussis@gmail.com> wrote:> Hi Tim, > is there a mysql class in your modules/mysql/init.pp manifest? > Cheers, > Atha > > On Tuesday, March 1, 2011 at 7:28 PM, Tim Dunphy wrote: > > hello list! could someone please offer an opinion as to why the mysql > module I am attempting to include is not found? > > ## error > > [root@pdb1 ~]# puppetd --test > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Could not find class mysql at > /etc/puppet/manifests/nodes.pp:25 on node pdb1.acadaca.net > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > > > > ## nodes.pp > > > > node ''pclient.acadaca.net'' { > include basefiles > include baseapps > }} > > node ''pclient2.acadaca.net'' { > include basefiles > include baseapps > include mysql > }} > > node ''pclient4.acadaca.net'' { > > include basefiles > include baseapps > }} > node ''mclient.acadaca.net''{ > include basefiles > include baseapps > include webserver } > node ''pdb1.acadaca.net'' { > include basefiles > include baseapps > include mysql > include ppostfix > } > > node ''kromep1.acadaca.net'' { > include basefiles > include bbaseapps > include webserver > }} > > ## mysql module exists > > [root@puppet ~]# ls -l /etc/puppet/modules/mysql/manifests/init.pp > -rw-r--r-- 1 root root 396 Feb 28 18:03 > /etc/puppet/modules/mysql/manifests/init.pp > > thank you kindly in advance! :) > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at > http://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-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.