diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-21 21:45:18 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-21 21:45:18 +0200 |
commit | 1b7a898c7a336778c0e43ce6e26a36e43cf1080b (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /manifests/setup.pp | |
parent | Reordering. (diff) | |
download | nspawn-1b7a898c7a336778c0e43ce6e26a36e43cf1080b.tar.gz nspawn-1b7a898c7a336778c0e43ce6e26a36e43cf1080b.tar.xz |
Remove everything.
Remove everything in the module, to make room for a new module in its
place (but keeping the history, just in case).
The problem with this module was that it tried way to hard to handle the
machines by itself, while that should be done outside puppet.
The new module will have a much simpler idea of how to provission, not
attempt to build machines from scratch, and especially not do anything
expensive.
Diffstat (limited to 'manifests/setup.pp')
-rw-r--r-- | manifests/setup.pp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/manifests/setup.pp b/manifests/setup.pp deleted file mode 100644 index 01503c8..0000000 --- a/manifests/setup.pp +++ /dev/null @@ -1,21 +0,0 @@ -class nspawn::setup { - - # TODO find better file to use for containers - - file { '/usr/lib/systemd/resolv.conf': - ensure => file, - content => @(EOF) - # File /usr/lib/systemd/resolv.conf managed by puppet - # Local changes will be overwritten - nameserver 10.0.0.40 - search adrift.space - | EOF - } - - service { 'machines.target': - enable => true, - } - - Nspawn::Template <| |> -> Nspawn::Machine <| |> - -} |