Puppet Class: weave::expose_docker_host_to_weave
- Defined in:
- manifests/expose_docker_host_to_weave.pp
Overview
2 3 4 5 6 7 8 9 10 |
# File 'manifests/expose_docker_host_to_weave.pp', line 2
class weave::expose_docker_host_to_weave {
$weave_expose_ip = hiera( 'weave::expose_ip', undef )
exec { "weave expose $weave_expose_ip":
command => "/usr/local/bin/weave expose $weave_expose_ip",
unless => "/bin/echo $weave_expose_ip | /bin/grep -q $::ipaddress_weave",
}
}
|