Puppet Class: display::env

Defined in:
manifests/env.pp

Overview

Class: display::env

Exports DISPLAY variable.

Authors

Alex Rodionov <p0deje@gmail.com>

Copyright 2013 Alex Rodionov.



13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'manifests/env.pp', line 13

class display::env {
  $file = '/etc/profile.d/vagrant_display.sh'

  concat { $file:
    owner => root,
    group => root,
    mode  => '0644',
  }

  concat::fragment { 'DISPLAY':
    target  => $file,
    content => "export DISPLAY=:${display::display}",
  }
}