Proposed modulepath and directory structure

asked 2013-12-16 10:47:29 -0500

josh gravatar image

We are currently working to re-factor our moduleset to align with the roles/profile concept. Our Puppet infrastructure supports multiple customers, each of whom has multiple environments. This is the first attempt at coming up with a modulepath/directory structure to support this type of multi-tenant infrastructure.

/customer1
/customer1_common [common modules amongst all customer1 environments]
/customer1_dev
  /hieradata
  /modules
    /profiles
      /manifests
        apache_www.pp
    /apache

/customer1_qa
  /hieradata
  /modules
    /profiles
      /manifests
        apache_www.pp
    /apache

/customer1_prod
  /hieradata
  /modules
    /profiles
      /manifests
        apache_www.pp
    /apache

A few notes:

  • There will be multiple customers. Each will have multiple environments (dev/qa/prod)
  • Each customer has their own ...
(more)
edit retag flag offensive close merge delete