Skip to content

Commit

Permalink
Update create_infrastructure_with_storage.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
chebroluharika committed Apr 23, 2020
1 parent edc77ac commit 3f20d7a
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions examples/demos/create_infrastructure_with_storage.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# This example works with either resource uri or resource name.

# Create Ethernet Network
# If you already have Ethernet Network, then you can skip this step
oneview_ethernet_network{'Test Puppet Network':
ensure => 'present',
data => {
Expand All @@ -30,6 +31,7 @@
}

# Create another Ethernet Network
# If you already have Ethernet Network, then you can skip this step
oneview_ethernet_network{'Test Puppet Network Create1':
ensure => 'present',
data => {
Expand Down Expand Up @@ -193,7 +195,7 @@
}
}

# Power off the Server Hardware after the Server Profile has been applied
# Powering off the Server Hardware to apply ServerProfile
oneview_server_hardware{'Test Server Hardware Power Off':
ensure => 'set_power_state',
data => {
Expand Down Expand Up @@ -291,16 +293,6 @@
}
}

# Creates ServerProfile
oneview_server_profile{'Test Server Profile Create':
ensure => 'present',
data =>
{
name => 'Test Server Profile Create',
serverHardwareUri => '0000A66102, bay 5',
}
}

# Creates ServerProfile from ServerProfileTemplate created above
oneview_server_profile_template{'Test Server Profile Create from Profile Template':
ensure => 'set_new_profile',
Expand Down

0 comments on commit 3f20d7a

Please sign in to comment.