summaryrefslogtreecommitdiffstats
path: root/fuel/build/f_l23network/puppet/modules/l23network/manifests/hosts_file.pp
diff options
context:
space:
mode:
authorStefan K. Berg <stefan.k.berg@ericsson.com>2015-09-10 14:46:28 +0200
committerStefan K. Berg <stefan.k.berg@ericsson.com>2015-09-14 13:53:11 +0200
commit07f4e6531023cbf742e7d187c6a0ee0800b64e01 (patch)
treea03c4311c4b9ac58d4105b5c3ac4741901146e8a /fuel/build/f_l23network/puppet/modules/l23network/manifests/hosts_file.pp
parent2c06022aa12ec8fc0ac3e50de36b900c92bf9817 (diff)
Refactoring build system to support Fuel 6.1
As Fuel 6.1 has changed both Debian package handling (fetching repositories from Internet) as well as Puppet packaging, the support for patching these has been disabled. The pre-deploy logic of Fuel has been removed together with a number of patches applied on top of a Fuel build, among them fixes for NTP, DNS and /etc/hosts injection. Instead, when changed default behavior is required, this will be introduced as Fuel plugins which more cleanly integrates into the Fuel system, and also decouples additional functionality from the ISO build stage. Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
Diffstat (limited to 'fuel/build/f_l23network/puppet/modules/l23network/manifests/hosts_file.pp')
-rw-r--r--fuel/build/f_l23network/puppet/modules/l23network/manifests/hosts_file.pp18
1 files changed, 0 insertions, 18 deletions
diff --git a/fuel/build/f_l23network/puppet/modules/l23network/manifests/hosts_file.pp b/fuel/build/f_l23network/puppet/modules/l23network/manifests/hosts_file.pp
deleted file mode 100644
index 05cff8d..0000000
--- a/fuel/build/f_l23network/puppet/modules/l23network/manifests/hosts_file.pp
+++ /dev/null
@@ -1,18 +0,0 @@
-class l23network::hosts_file (
- $nodes,
- $extras=[],
- $hosts_file = "/etc/hosts"
-) {
-
- # OPNFV addition: Add additional lines in /etc/hosts through Astute additions
-
- $host_resources = nodes_to_hosts($nodes)
- $extras_host_resources = extras_to_hosts($extras)
- Host {
- ensure => present,
- target => $hosts_file
- }
-
- create_resources(host, $host_resources)
- create_resources(host, $extras_host_resources)
-}