Skip to content

Instantly share code, notes, and snippets.

@proffalken
Created June 12, 2011 09:24
Show Gist options
  • Save proffalken/1021374 to your computer and use it in GitHub Desktop.
Save proffalken/1021374 to your computer and use it in GitHub Desktop.
Source of Truth
node {
node_id: "1", // The UID of the node from the Source of Truth
hostname: "FQDN OF HOST", // FQDN is preferable to import into other tools
primary_ip {
address: "192.168.0.1", // secondary IP addresses could be added if needed as an array
gateway: "192.168.0.254", // Default Gateway
}
location: "Amazon AWS", // could be a datacentre or cloud provider etc.
region: "45", // could be a physical room or cloud region
sub_region: "12", // Rack or similar
services: ["webserver","database"], // An array of services provided by the node
mgmt_classes: ["nginx","php-fpm"], // An array of Management Classes for Puppet/Chef etc.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment