Skip to content

Instantly share code, notes, and snippets.

@jerith
Created December 23, 2015 12:14
Show Gist options
  • Select an option

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

Select an option

Save jerith/e4a009b098579ca65f7b to your computer and use it in GitHub Desktop.
diff --git a/puppet/manifests/default.pp b/puppet/manifests/default.pp
index 0f2efcf..aff7cd5 100644
--- a/puppet/manifests/default.pp
+++ b/puppet/manifests/default.pp
@@ -28,8 +28,12 @@ node default {
ensure => installed,
}
- include seed_stack::controller
+ class { 'seed_stack::controller':
+ address => $ipaddress_eth0,
+ controller_addresses => [$ipaddress_eth0],
+ }
class { 'seed_stack::worker':
+ address => $ipaddress_eth0,
controller => true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment