Skip to content
Snippets Groups Projects
database-client.pp 481 B
Newer Older
  • Learn to ignore specific revisions
  • class iaas::profile::database-client(
      $servers = undef,
      $main_address = undef,
      $galera_password = undef,
    
    #  $mysql_host = "localhost",
    
    
    ) {
    
    # Install fake MySQL server
    
    #   class { '::mysql::server':
    #    root_password => $galera_password,
    
    #    host => $mysql_host,
    
    
    
    # Install MySQL client
      class { 'mysql::client':
    
    #    require => Class['::mysql::server'],
    
    #    host => $main_address,
    #    root_password => $galera_password,
      }  -> anchor { 'database-service': }
    
    }