Skip to content

Instantly share code, notes, and snippets.

@jerith
Created January 15, 2016 09:23
Show Gist options
  • Select an option

  • Save jerith/c3c12893b438fd136bd7 to your computer and use it in GitHub Desktop.

Select an option

Save jerith/c3c12893b438fd136bd7 to your computer and use it in GitHub Desktop.
diff --git a/puppet/manifests/default.pp b/puppet/manifests/default.pp
index de09c07..badc016 100644
--- a/puppet/manifests/default.pp
+++ b/puppet/manifests/default.pp
@@ -25,19 +25,8 @@ class seed_stack_cluster {
$controller_ip = '192.168.0.2'
$worker_ip = '192.168.0.3'
- class { 'hosts':
- enable_fqdn_entry => false,
- host_entries => {
- 'controller.seed-stack.local' => {
- ip => $controller_ip,
- host_aliases => ['controller']
- },
- 'worker.seed-stack.local' => {
- ip => $worker_ip,
- host_aliases => ['worker']
- }
- }
- }
+ host { 'controller.seed-stack.local': ip => $controller_ip }
+ host { 'worker.seed-stack.local': ip => $worker_ip }
}
node 'controller.seed-stack.local' {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment