Skip to content

hkumarmk/puppet-orchestration_utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intro

Holds helper types and providers for puppet helpers for orchestration.

overview

types

  • consul_kv - Write arbitrary keys into consul

  • consul_kv_blocker - Blocks catalog compilation until certain keys exist in consul

  • dns_blocker - Blocks catalog until an A-record is registered

  • runtime_fail - Type that can be used to partial fail a subgraph from the catalog based on compile time data (like missing data)

functions

  • dns_resolve - performs a forward DNS lookup for a a record, and returns a list of ip addresses
  • easy_host - converts a has of the form hostname => ip into the appropriate /etc/host entries
  • service_discover_consul - returns a hash of name => ip based on a consul lookup using service name and optional tags
  • service_discover_dns - performs an SRV record lookup from DNS, returns either a list of hostnames or ip addresses

About

Repo of ruby code to assist with cross node orchestration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%