This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2015-04-30 | |
resources: | |
my_server: | |
type: my_nova.yaml | |
properties: | |
key_name: my_key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2014-10-16 | |
description: | | |
Nova server | |
resources: | |
linux_server: | |
type: OS::Nova::Server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2014-10-16 | |
description: | | |
Single node linux server with swift signaling. | |
resources: | |
signal_handle: | |
type: "OS::Heat::SwiftSignalHandle" | |
linux_server: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2013-05-23 | |
parameters: | |
count: | |
type: number | |
default: 4 | |
description: number of servers | |
resources: | |
rg: | |
type: OS::Heat::ResourceGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2013-05-23 | |
parameters: | |
count: | |
type: number | |
default: 4 | |
description: number of servers | |
resources: | |
rg: | |
type: OS::Heat::ResourceGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2014-10-16 | |
description: | | |
Single node linux server with swift signaling. | |
resources: | |
signal_handle: | |
type: "OS::Heat::SwiftSignalHandle" | |
linux_server: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// include package name here | |
import ( | |
"bytes" | |
"fmt" | |
"os/exec" | |
"testing" | |
) | |
func TestCodeFormattedCorrectly(t *testing.T) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2014-10-16 | |
description: | | |
Creating Rackspace cloud server with user_data. | |
resources: | |
test_server: | |
type: "OS::Nova::Server" | |
properties: | |
name: test-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
write_files: | |
- path: /root/hello-world.txt | |
content: | | |
#!/bin/bash | |
username=XXXXXX | |
APIkey=XXXXXX | |
dc=hkg | |
container=dn-container | |
file=xyz.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2014-10-16 | |
parameters: | |
flavor: | |
type: string | |
description: Flavor for the server to be created | |
default: 4353 | |
hidden: true | |
resources: | |
test_server: | |
type: "OS::Heat::None" |