hello puppet, i am not sure why I am getting this error.. puppetd
--test is complaining about unbalanced brackets but they looked
balanced to me

[root@VIRTCENT16:~] #puppetd --test
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not parse for environment production: Syntax error at
'mysqld'; expected '}' at
/etc/puppet/manifests/classes/dbservices.pp:20
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

class postgres {

    package { postgresql: ensure  => installed }

    service { postgresql:
     name  => postgresql,
     enable => true,
     ensure => running
}

}

class mysql {

          $mysql_packages = ["mysqlclient15","mysql-server","php-mysql"]

          package { $mysql_packages: ensure => installed }

          service { mysqld:
                    name "mysqld",
                    enable => true,
                    ensure => running,
          }
}

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to