Skip to content

jwlademann/puppet-control

 
 

Repository files navigation

puppet-control

Travis Early development Control repository for Land Registry's beta project

Requirements:

  • Ruby >= 1.9.3
  • Puppet >= 3.6.0 (may work with earlier builds but not tested)

Puppet config

puppet.conf

The puppet.conf file needs to be configured with server and environment variables.

/etc/puppet/puppet.conf

...
[agent]
environment = development
server = puppet-master-91.zone1.control.net
...

host.yaml

Puppet is configured to use fact information. The fact should be called host.yaml and stored in /etc/puppetlabs/facter/facts.d/.

  • network_location: The location on the network the server will reside (e.g. zone1, zone2)
  • puppet_role: The hiera profile name that the machine will apply (e.g. migration-app)
  • server_type: Similar to 'puppet_role' but specific to an environment.
  • application_environment: The environment name of the application (e.g. production, pre-production)
  • hosting_platform: The platform the code will be hosted on (e.g. aws, internal, vagrant)
  • puppet_environment: The puppet environment in which the machine sits (e.g.prodcution, development)

/etc/puppetlabs/facter/facts.d/host.yaml

network_location: zone1
puppet_role: digital-register-frontend
server_type: drf-production
application_environment: production
hosting_platform: aws
puppet_environment: production

About

Control repository for LR's beta project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 55.7%
  • Shell 16.4%
  • HTML 14.2%
  • Ruby 7.1%
  • Perl 6.4%
  • Pascal 0.2%