Code Review
/
groupbasedpolicy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
added demos to the repo
[groupbasedpolicy.git]
/
demos
/
gbp-devstack
/
puppet
/
templates
/
hosts.erb
diff --git a/demos/gbp-devstack/puppet/templates/hosts.erb
b/demos/gbp-devstack/puppet/templates/hosts.erb
new file mode 100644
(file)
index 0000000..
c23f40f
--- /dev/null
+++ b/
demos/gbp-devstack/puppet/templates/hosts.erb
@@ -0,0
+1,8
@@
+## Do Not Edit. Created by Puppet ##
+127.0.0.1 localhost
+255.255.255.255 broadcasthost
+::1 localhost
+fe80::1%lo0 localhost
+<% @hosts.values.each do |h| %>
+<%= h["ipaddress"] %> <%= h["name"] %>
+<% end %>