48df1e447d
Now define connect fragment and hostfiles based on arrays
2015-09-27 22:52:07 +02:00
c280a4e706
No more dep on bridge_utils, commented out resource export/collect
2015-09-27 20:45:22 +02:00
mh
57b93c0883
add a missing parameter
2015-01-11 14:42:35 +01:00
mh
4e22ae9781
abstract the tinc host part into its own define
2015-01-11 14:22:18 +01:00
mh
ebf3a00ed1
now part of the official package https://bugzilla.redhat.com/show_bug.cgi?id=1161033
2015-01-06 00:18:35 +01:00
mh
970ca27cee
not anymore needed
2015-01-04 22:02:58 +01:00
mh
7468b8ace6
collect the right exports
2015-01-03 22:32:09 +01:00
mh
b415a8bf43
correct regexp
2015-01-03 22:05:43 +01:00
mh
cdd8320661
remove unnecessary fragment
2015-01-03 21:50:01 +01:00
mh
ad0c61388d
be sure to include tinc so we can reference variable ($use_shorewall)
2015-01-03 21:32:51 +01:00
mh
c1bd9b7616
unify naming
2015-01-03 21:23:07 +01:00
mh
1f8a01acf5
this require is nonsense -> dep cycle
2015-01-03 21:16:44 +01:00
mh
f84d4003a0
this is not called line
2015-01-03 21:09:01 +01:00
mh
bb4c08b12e
correct function
2015-01-03 20:59:19 +01:00
mh
512864bec6
typo
2015-01-03 20:56:11 +01:00
mh
6aa488e815
this registration is only for non systemd systems
2015-01-03 14:31:29 +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
42e2e54fee
copy systemd file from fedora
2015-01-03 14:11:18 +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
bb6f7afc8f
fix calculation if no fact present
2014-12-29 13:27:29 +01:00
mh
1675f73f55
we need to remap the netmask from the fact
2014-12-28 14:08:56 +01:00
mh
23c557c824
fix double require
2014-12-28 13:57:09 +01:00
mh
913e49b0c0
make it el7 ready
2014-12-28 13:55:29 +01:00
mh
a870d1ee71
rather use the universal ip format
2014-12-28 13:30:11 +01:00
mh
54aefdd4bd
fix naming
2014-06-20 14:46:45 +02:00
mh
55f588cd06
don't hardcode the netmask
2014-06-20 14:33:39 +02:00
mh
d053d7241d
linting
2014-04-18 11:40:43 +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
6ee3c97960
use better compression by default
2013-01-21 12:22:24 +01:00
mh
a4d1497763
make it possible to have also interfaces like eth0.1
2013-01-18 17:22:01 +01:00
mh
21765c9212
take hiera out of the params
2012-06-14 10:42:51 -03:00
mh
0965fda26f
refactor things for >2.7
2012-06-08 13:19:37 -03:00
mh
f5761c532a
new style for 2.7
2012-06-05 16:38:41 +02:00
mh
ca4d2a5f04
debian init script does not have a status cmd :/
2012-02-09 18:07:19 +01: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
6eabf6a7f8
use new stdlib function
2011-10-08 20:07:05 +02:00
mh
339f04a89a
it is not anymore necessary to add an empty source to purge directories
2011-07-15 17:38:37 +02:00
mh
c97e9308b1
first comes the private key
2011-01-02 13:44:51 +01:00
mh
df3902505e
fix naming
2010-12-30 14:35:38 +01:00
mh
a7e2e63e23
this is a little helper class for the puppetmaster to be able to self organize the nodes
2010-12-30 14:27:07 +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
e41cf10088
some more magic to lookup the ip address for the bridged interface
2010-12-29 22:53:40 +01:00
mh
3a8a08dd28
remove legacy parameters
2010-12-29 22:47: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
mh
1a70f0ab0c
enable the vpn_net define to generate keys on the master
2010-12-29 21:43:54 +01:00