diff options
Diffstat (limited to 'provisioning')
-rw-r--r-- | provisioning/manifests/source.pp | 3 | ||||
-rw-r--r-- | provisioning/modules/pixelated/manifests/cleanup.pp | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/provisioning/manifests/source.pp b/provisioning/manifests/source.pp index 899257c7..c45059f5 100644 --- a/provisioning/manifests/source.pp +++ b/provisioning/manifests/source.pp @@ -1,4 +1,5 @@ class { '::pixelated::apt': } -> class { '::pixelated::common': } -> -class { '::pixelated::source': } +class { '::pixelated::source': } -> +class { '::pixelated::cleanup':} diff --git a/provisioning/modules/pixelated/manifests/cleanup.pp b/provisioning/modules/pixelated/manifests/cleanup.pp new file mode 100644 index 00000000..b5966792 --- /dev/null +++ b/provisioning/modules/pixelated/manifests/cleanup.pp @@ -0,0 +1,6 @@ +# make the vagrant images smaller +class pixelated::cleanup { + exec{'dd_zero': + command => '/bin/dd if=/dev/zero of=/tmp/dd_zero;rm /tmp/dd_zero' + } +} |