Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

marulkan/puppet-module-production-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppet-module-production-status

Classification of a server in what production status it is.

Parameters prodstatus

allowed_cost

An array of allowed server cost locations. To force people to write accroding to a set standard

  • Default: ['Customer1']

allowed_states

An array of allowed states for a server. To force people to write accroding to a set standard

  • Default: allowed_states = { pre_prod ['Installing', 'PoC', 'Sandbox'], prod ['In Production'], decom ['Decomissioned'] }

allowed_server_types

An array of allowed server types. To force people to write accroding to a set standard

  • Default: ['Infrastructure']

cost

The current cost location your server is in.

  • Default: 'Customer1'

state

The current state your server is in.

  • Default: 'Installing'

type

What function does your server fil?

  • Default: 'Infrastructure'

file_path

The location of the prodstatus files. Do not change this location since it will destory the fact generation.

  • Default: '/etc/prodstatus'

cost_extra

An extra way of definnig what the cost fact should be called. This is only for handeling a specific case where i have to be able to call this module something else then production_cost

  • Default: undef

fact_location

Path for pointing out the location for facts. This module don't handle the creating of this path.

  • Default: '/etc/facter/facts.d'

hiera_example

prodstatus::allowed_server_types:

  • 'Infrastructure'
  • 'Customerserver'
  • 'Terminal' prodstatus::allowed_states: pre_prod:
    • 'Installing'
    • 'PoC'
    • 'Sandbox' prod:
    • 'In Production' decom:
    • 'Decomissioned'

About

Classification of a server in what production status it is.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •