Hello, This is the way we currently define nodes using modules/classes. Unsure if this is the best method but as dashboard does not do parameterized class variables seems the right way. We apparent zen_ to everything thats making up our servers. I am having problems with the MySQL module as I need to include mysql:: several times to get the features - https://github.com/puppetlabs/puppetlabs-mysql err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Class[Mysql] is already declared; cannot redeclare at /etc/puppet/modules/zen_puppet01opslab/manifests/puppetdashboard_mysql.pp:2 I question if we are using the right approach with puppet and if this is the right way to define types of servers. Module: - zen_puppet01opslab root@puppet01:/etc/puppet/modules/zen_puppet01opslab/manifests# cat init.pp class zen_puppet01opslab { class { ''zen_puppet01opslab::puppetdashboard'': } class { ''zen_puppet01opslab::puppetdashboard_mysql'': } } root@puppet01:/etc/puppet/modules/zen_puppet01opslab/manifests# cat puppetdashboard.pp class zen_puppet01opslab::puppetdashboard { class { ''dashboard'': dashboard_ensure => ''present'', dashboard_user => ''puppet-dashboard'', dashboard_group => ''puppet-dashboard'', dashboard_password => ''XXXXX'', dashboard_db => ''dashboard_prod'', dashboard_charset => ''utf8'', dashboard_site => $fqdn, dashboard_port => ''8141'', mysql_root_pw => ''XXXXXX'', # passenger => true, } } root@puppet01:/etc/puppet/modules/zen_puppet01opslab/manifests# cat puppetdashboard_mysql.pp class zen_puppet01opslab::puppetdashboard_mysql { class { ''mysql'': } # ''mysql::ruby'': # ''mysql::server'': mysql::ruby { ''bleh'': } mysql::server { ''bleh'': config_hash => { ''root_password'' => ''secretmysqlpassword'' } } } -- 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/-/KZ-cLZeN2dYJ. 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.