Code Monkey home page Code Monkey logo

puppet-phpmyadmin's Introduction

puppet-phpmyadmin

This is the puppet phpMyAdmin module which allows you to install and manage phpMyAdmin. Additionally you can use resources to specify a group of servers to add to a phpMyAdmin server.

The reason to use this to manage your phpMyAdmin rather than simply installing a package is that this module allow you to use stored resources to automatically generate a list of servers to use.

With this you don't need to worry about manually adding server entries to phpmyadmin or similar. Instead you can add a server similar to below:

Usage

node 'phpmyadminserver' {
  class { 'phpmyadmin': }
  phpmyadmin::server{ 'default': }

  phpmyadmin::vhost { 'internal.domain.net':
    vhost_enabled => true,
    priority      => '20',
    docroot       => $phpmyadmin::params::doc_path,
    ssl           => true,
    ssl_cert      => 'puppet:///modules/phpmyadmin/sslkey/internal.domain.net.crt',
    ssl_key       => 'puppet:///modules/phpmyadmin/sslkey/internal.domain.net.private.key',
  }

  phpmyadmin::vhost { 'external.domain.org':
    vhost_enabled => true,
    priority      => '30',
    docroot       => $phpmyadmin::params::doc_path,
    ssl           => true,
    ssl_cert      => 'puppet:///modules/phpmyadmin/sslkey/external.domain.org.crt',
    ssl_key       => 'puppet:///modules/phpmyadmin/sslkey/external.domain.org.private.key',
  }
}

node 'mysqlserver' {
  @@phpmyadmin::servernode { "${::ipaddress}":
    server_group => 'default',
  }
}

License

You are free to fork, modify, burn, break, twist or twine this module. If you do re-use the code, please give me credit for it though.

Contact

Justice London [email protected]

Support

Please log tickets and issues at our Projects site

puppet-phpmyadmin's People

Contributors

justicel avatar abraham1901 avatar damusnet avatar atomaka avatar ghola avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.