- HIVE_FILE =
"hive.yml"
- ANSIBLE_HOSTS_FILE =
"ansible.hosts"
- SYSTEM_HOSTS_FILE =
"system.hosts"
- VAGRANT_FILE =
"Vagrantfile"
- BOX_TYPES =
{
:server => { name: "Server", box_id: "napramirez/ubuntu-14.04-server-amd64", is_gui: false },
:kde => { name: "KDE", box_id: "napramirez/kubuntu-14.04-LTS-amd64-lite", is_gui: true },
:unity => { name: "Unity", box_id: "napramirez/ubuntu-14.04-LTS-amd64-desktoplite", is_gui: true },
:unityi386 => { name: "Unity i386", box_id: "napramirez/ubuntu-14.04.2-LTS-i386-desktoplite", is_gui: true }
}
- BOX_SIZES =
{
:extra_small => { name: "Extra Small", short_name: "xs", memory_in_mb: 256 },
:small => { name: "Small", short_name: "s", memory_in_mb: 512 },
:medium => { name: "Medium", short_name: "m", memory_in_mb: 1024 },
:large => { name: "Large", short_name: "l", memory_in_mb: 2048 },
:extra_large => { name: "Extra Large", short_name: "xl", memory_in_mb: 4096 }
}
- CONTROL_HOSTNAME =
"control"
- PRIVATE_NETWORK =
"192.168.50.*"
- PRIVATE_NETWORK_START =
100
- PRIVATE_NETWORK_END =
254
- PRIVATE_NETWORK_IP_ADDRESS_POOL =
(PRIVATE_NETWORK_START..PRIVATE_NETWORK_END).map { |i| PRIVATE_NETWORK.sub('*', "#{i}") }
- SIMPLE_HOSTNAME_REGEX =
/^[A-Za-z0-9]+([\-]{0,1}[A-Za-z0-9]+)*$/
- SIMPLE_HOSTNAME_MAX_LENGTH =
20
- IP_ADDRESS_REGEX =
/^([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])$/
- PORT_PAIR_REGEX =
/^[0-9]{1,5}\:[0-9]{1,5}$/