This commit is contained in:
Ranjan Kumar 2013-12-27 14:58:20 +05:30
Родитель 0063f69c89
Коммит e24aec8268
4 изменённых файлов: 12 добавлений и 3 удалений

Просмотреть файл

@ -1,4 +1,6 @@
<%="Listing affinity groups".bold%><%index=1%>
<%="Listing affinity groups".bold%>
<%index=1%>
<%affinity_groups.each do |ag|%>
<%="Affinity Group: #{index}".bold%>
<%="Name".fix(20)%>: <%=ag.name %>

Просмотреть файл

@ -1,4 +1,6 @@
<%="Listing Firewall".bold%><%index=1%>
<%="Listing Firewall".bold%>
<%index=1%>
<%firewalls.each do |firewall|%>
<%="Firewall: #{index}".bold%>
<%="Rule Name".fix(20)%>: <%=firewall[:rule] %>

Просмотреть файл

@ -1,9 +1,12 @@
<%if db_servers.class == Azure::SqlDatabaseManagement::SqlDatabase%>
<%="Server Name".fix(20)%>: <%=db_servers.name %>
<%="Administrator login".fix(20)%>: <%=db_servers.administrator_login%>
<%="Location".fix(20)%>: <%=db_servers.location %>
<%else%>
<%="Listing Servers".bold%><%index=1%>
<%="Listing Servers".bold%>
<%index=1%>
<%db_servers.each do |server|%>
<%="Server: #{index}".bold%>
<%="Server Name".fix(20)%>: <%=server.name %>

Просмотреть файл

@ -1,3 +1,5 @@
# encoding: UTF-8
require 'tilt'
Puppet::Face.define :azure_vnet, '1.0.0' do
action :list do