2011-01-21 20:42:56 -05:00
|
|
|
# Use so you can run in mock mode from the command line
|
|
|
|
#
|
|
|
|
# FOG_MOCK=true fog
|
|
|
|
|
|
|
|
if ENV["FOG_MOCK"] == "true"
|
|
|
|
Fog.mock!
|
|
|
|
end
|
|
|
|
|
|
|
|
# if in mocked mode, fill in some fake credentials for us
|
|
|
|
if Fog.mock?
|
2011-09-23 17:26:56 -04:00
|
|
|
Fog.credentials = {
|
2011-01-21 20:42:56 -05:00
|
|
|
:aws_access_key_id => 'aws_access_key_id',
|
|
|
|
:aws_secret_access_key => 'aws_secret_access_key',
|
|
|
|
:bluebox_api_key => 'bluebox_api_key',
|
|
|
|
:bluebox_customer_id => 'bluebox_customer_id',
|
|
|
|
:brightbox_client_id => 'brightbox_client_id',
|
|
|
|
:brightbox_secret => 'brightbox_secret',
|
2012-08-16 12:43:07 -04:00
|
|
|
:cloudstack_disk_offering_id => '',
|
2012-05-08 13:01:13 -04:00
|
|
|
:cloudstack_host => 'http://cloudstack.example.org',
|
2012-08-16 12:43:07 -04:00
|
|
|
:cloudstack_network_ids => '',
|
|
|
|
:cloudstack_service_offering_id => '4437ac6c-9fe3-477a-57ec-60a5a45896a4',
|
2012-07-02 07:36:39 -04:00
|
|
|
:cloudstack_template_id => '8a31cf9c-f248-0588-256e-9dbf58785216',
|
|
|
|
:cloudstack_zone_id => 'c554c592-e09c-9df5-7688-4a32754a4305',
|
2011-12-12 15:21:09 -05:00
|
|
|
:clodo_api_key => 'clodo_api_key',
|
|
|
|
:clodo_username => 'clodo_username',
|
2011-05-24 20:31:45 -04:00
|
|
|
:dnsimple_email => 'dnsimple_email',
|
|
|
|
:dnsimple_password => 'dnsimple_password',
|
2011-06-15 14:33:37 -04:00
|
|
|
:dnsmadeeasy_api_key => 'dnsmadeeasy_api_key',
|
|
|
|
:dnsmadeeasy_secret_key => 'dnsmadeeasy_secret_key',
|
2011-05-24 20:31:45 -04:00
|
|
|
:ecloud_username => 'ecloud_username',
|
|
|
|
:ecloud_password => 'ecloud_password',
|
|
|
|
:ecloud_versions_uri => 'http://ecloud.versions.uri',
|
2011-09-08 16:33:32 -04:00
|
|
|
:glesys_username => 'glesys_username',
|
|
|
|
:glesys_api_key => 'glesys_api_key',
|
2011-01-21 20:42:56 -05:00
|
|
|
:go_grid_api_key => 'go_grid_api_key',
|
|
|
|
:go_grid_shared_secret => 'go_grid_shared_secret',
|
|
|
|
:google_storage_access_key_id => 'google_storage_access_key_id',
|
|
|
|
:google_storage_secret_access_key => 'google_storage_secret_access_key',
|
2011-06-15 02:10:54 -04:00
|
|
|
:hp_account_id => 'hp_account_id',
|
|
|
|
:hp_secret_key => 'hp_secret_key',
|
|
|
|
:hp_tenant_id => 'hp_tenant_id',
|
2012-02-28 16:28:45 -05:00
|
|
|
:ibm_username => 'ibm_username',
|
2011-12-02 13:27:44 -05:00
|
|
|
:ibm_password => 'ibm_password',
|
2012-02-17 22:49:58 -05:00
|
|
|
:joyent_username => "joyentuser",
|
|
|
|
:joyent_password => "joyentpass",
|
2011-01-21 20:42:56 -05:00
|
|
|
:linode_api_key => 'linode_api_key',
|
2011-05-24 20:32:27 -04:00
|
|
|
:local_root => '~/.fog',
|
2012-03-01 21:54:49 -05:00
|
|
|
:bare_metal_cloud_password => 'bare_metal_cloud_password',
|
|
|
|
:bare_metal_cloud_username => 'bare_metal_cloud_username',
|
2011-06-15 14:33:37 -04:00
|
|
|
:ninefold_compute_key => 'ninefold_compute_key',
|
|
|
|
:ninefold_compute_secret => 'ninefold_compute_secret',
|
2011-07-20 13:11:10 -04:00
|
|
|
:ninefold_storage_secret => 'ninefold_storage_secret',
|
|
|
|
:ninefold_storage_token => 'ninefold_storage_token',
|
2011-01-21 20:42:56 -05:00
|
|
|
# :public_key_path => '~/.ssh/id_rsa.pub',
|
|
|
|
# :private_key_path => '~/.ssh/id_rsa',
|
2011-09-26 02:41:54 -04:00
|
|
|
:openstack_api_key => 'openstack_api_key',
|
|
|
|
:openstack_username => 'openstack_username',
|
|
|
|
:openstack_tenant => 'openstack_tenant',
|
2012-02-21 11:09:26 -05:00
|
|
|
:openstack_auth_url => 'http://openstack:35357/v2.0/tokens',
|
2012-02-02 07:58:46 -05:00
|
|
|
:ovirt_url => 'http://ovirt:8080/api',
|
|
|
|
:ovirt_username => 'admin@internal',
|
|
|
|
:ovirt_password => '123123',
|
2012-04-05 10:02:45 -04:00
|
|
|
:libvirt_uri => 'qemu://libvirt/system',
|
2011-01-21 20:42:56 -05:00
|
|
|
:rackspace_api_key => 'rackspace_api_key',
|
|
|
|
:rackspace_username => 'rackspace_username',
|
2011-05-24 20:31:45 -04:00
|
|
|
:storm_on_demand_username => 'storm_on_demand_username',
|
|
|
|
:storm_on_demand_password => 'storm_on_demand_password',
|
2011-07-20 13:11:10 -04:00
|
|
|
:vcloud_host => 'vcloud_host',
|
|
|
|
:vcloud_password => 'vcloud_password',
|
|
|
|
:vcloud_username => 'vcloud_username',
|
2011-02-20 14:39:37 -05:00
|
|
|
:voxel_api_key => 'voxel_api_key',
|
|
|
|
:voxel_api_secret => 'voxel_api_secret',
|
2011-01-21 20:42:56 -05:00
|
|
|
:zerigo_email => 'zerigo_email',
|
2011-02-07 22:42:18 -05:00
|
|
|
:zerigo_token => 'zerigo_token',
|
|
|
|
:dynect_customer => 'dynect_customer',
|
|
|
|
:dynect_username => 'dynect_username',
|
2011-08-30 17:55:21 -04:00
|
|
|
:dynect_password => 'dynect_password',
|
|
|
|
:vsphere_server => 'virtualcenter.lan',
|
|
|
|
:vsphere_username => 'apiuser',
|
|
|
|
:vsphere_password => 'apipassword',
|
2012-04-04 11:32:09 -04:00
|
|
|
:vsphere_expected_pubkey_hash => 'abcdef1234567890',
|
|
|
|
:libvirt_uri => 'qemu:///system',
|
|
|
|
:libvirt_username => 'root',
|
|
|
|
:libvirt_password => 'password'
|
2012-05-08 13:01:13 -04:00
|
|
|
}.merge(Fog.credentials)
|
2011-01-21 20:42:56 -05:00
|
|
|
end
|