Commit graph

26 commits

Author SHA1 Message Date
mh
4e80b272f6 make it possible to pass a hash of options for further configuration 2016-03-04 11:27:38 +01:00
mh
4e22ae9781 abstract the tinc host part into its own define 2015-01-11 14:22:18 +01:00
mh
06aa8b9c4e refactor module to a more modern approach
- use concat instead of file_line, which makes cleaning up files
  much easier resp. automagically.
- don't use the puppetmaster as an intermediate registry to
  get the set of hosts to connect to. This way we have one
  dependency less on the puppetmaster and don't need to depend on
  an additional puppet run on the master to include a new client.
- make the setup more modular and choose a better naming so that
  it actually fits more what it does and also it will allow us
  to add more type of networks much easier in the future.
2015-01-03 14:13:05 +01:00
mh
b3980bd9a4 also ensure that the bridge is up 2014-12-29 14:22:32 +01:00
mh
f345bca811 fixing ip tools 2014-12-29 14:01:41 +01:00
mh
a870d1ee71 rather use the universal ip format 2014-12-28 13:30:11 +01:00
mh
55f588cd06 don't hardcode the netmask 2014-06-20 14:33:39 +02:00
mh
b1db2cacbe fix another deprecation warning 2014-04-18 11:29:41 +02:00
mh
12814b8e9d address puppet 3.x deprecation warnings 2014-04-18 11:09:58 +02:00
mh
902429773e proper alignment 2013-08-10 15:05:19 +02:00
mh
2b4ab84dd7 make it possible to manage mtu of the tinc interface 2013-08-10 14:58:21 +02:00
mh
a4d1497763 make it possible to have also interfaces like eth0.1 2013-01-18 17:22:01 +01:00
mh
0965fda26f refactor things for >2.7 2012-06-08 13:19:37 -03:00
mh
f55cfe6187 update tinc module to new stuff
* proper scoped var lookup
* use file_line instead of line
* use hiera instead of global $use_shorewall
* cleanup template
2012-02-09 16:13:23 +01:00
mh
8095174d59 automagically register tinc nodes
Now, tinc nodes automagically organize themself within their network,
so you shouldn't have to do anything anymore.
2010-12-30 14:25:28 +01:00
mh
02b3222295 some cleanup 2010-12-29 22:57:06 +01:00
mh
1ee9a13f11 move vpn_net to a more automagic version
Now, we export our configuration to other hosts in our vpn_net
setup. Also we completely rely on keys that are generated on the
master. This reduces any hands on for the vpn setup.
2010-12-29 22:44:26 +01:00
Andreas
d25dbc22b7 correction in tinc-up; add tinc-down 2010-10-23 00:01:14 -05:00
Andreas
61c89e36d4 set variables in puppet 2010-10-22 18:48:21 -05:00
Andreas
b0bb6e6ba2 tinc needs names to me alphas 2010-10-22 18:29:49 -05:00
Andreas
4ee8a73114 rewrite of mh 2010-10-22 16:15:28 -05:00
Andreas
814f79877b disable tinc-up for the moment 2010-10-21 22:23:05 -05:00
Andreas
3e9e878ef6 wrong variable 2010-10-21 19:38:59 -05:00
mh
9210670776 rename variable to avoid collision with facts 2010-09-01 11:21:59 +02:00
mh
c4e969365e fix variable in templates
puppet variables aren't variables in templates. Therefore
has_variable? is not working as expected.
2010-09-01 10:52:35 +02:00
Andreas
32bee6cf5a further dev 2010-08-31 17:54:24 +02:00