Skip to content

Instantly share code, notes, and snippets.

@caiush
Created March 30, 2015 14:55
Show Gist options
  • Save caiush/eb75d3a4292db5881047 to your computer and use it in GitHub Desktop.
Save caiush/eb75d3a4292db5881047 to your computer and use it in GitHub Desktop.
Test-Laptop
{
"name": "Test-Laptop",
"override_attributes": {
"bcpc": {
"virt_type" : "qemu",
"enabled": {
"logging": false,
"monitoring": false,
"metrics": false,
"dns": false
},
"ceph": {
"pgp_auto_adjust" : true,
"hdd_disks" : [ "sdb", "sdc" ],
"ssd_disks" : [ "sdd", "sde" ],
"chooseleaf" : "host"
},
"nova" : {
"ram_allocation_ratio" : "20.0",
"cpu_allocation_ratio": "20.0"
},
"domain_name" : "bcpc.example.com",
"management": {
"vip" : "10.0.100.5",
"interface" : "eth0",
"netmask" : "255.255.255.0",
"cidr" : "10.0.100.0/24",
"gateway" : "10.0.100.3"
},
"storage": {
"interface" : "eth1",
"netmask" : "255.255.255.0",
"cidr" : "172.16.100.0/24",
"gateway" : "172.16.100.3"
},
"floating": {
"vip" : "192.168.100.5",
"interface" : "eth2",
"netmask" : "255.255.255.0",
"cidr" : "192.168.100.0/24",
"gateway" : "192.168.100.3",
"available_subnet" : "192.168.100.128/25"
},
"bootstrap": {
"interface" : "eth0",
"pxe_interface" : "eth1",
"server" : "10.0.100.3",
"mirror" : "10.0.100.2",
"dhcp_subnet" : "10.0.100.0",
"dhcp_range" : "10.0.100.14 10.0.100.250"
},
"repos": {
"ceph": "http://10.0.100.2/ceph-firefly",
"ceph-extras": "http://10.0.100.2/ceph-extras",
"ceph-apache": "http://10.0.100.2/ceph-apache",
"ceph-fcgi" : "http://10.0.100.2/ceph-fcgi",
"rabbitmq": "http://10.0.100.2/rabbitmq",
"mysql": "http://10.0.100.2/percona",
"haproxy": "http://10.0.100.2/haproxy",
"openstack": "http://10.0.100.2/ubuntu-cloud",
"hwraid": "http://10.0.100.2/hwraid",
"fluentd": "http://10.0.100.2/fluentd"
},
"dns_servers" : [ "8.8.8.8", "8.8.4.4" ]
},
"ntp": {
"servers" : [ "0.pool.ntp.org", "1.pool.ntp.org", "2.pool.ntp.org", "3.pool.ntp.org" ]
},
"ubuntu": {
"archive_url": "http://10.0.100.2/ubuntu",
"security_url": "http://10.0.100.2/ubuntu",
"include_source_packages": false
},
"chef_client": {
"server_url": "http://10.0.100.3:4000",
"cache_path": "/var/chef/cache",
"backup_path": "/var/chef/backup",
"validation_client_name": "chef-validator",
"run_path": "/var/chef"
}
},
"json_class": "Chef::Environment",
"description": "Laptop test environment",
"cookbook_versions": {
},
"chef_type": "environment"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment