Guest User

Untitled

a guest
Mar 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. class test::mergepaths (
  2. $envpath = undef,
  3. ) {
  4.  
  5. $_envpath = $envpath ? {
  6. undef => $::path,
  7. default => join([$envpath, $::path], ':'),
  8. }
  9.  
  10. notify { 'newpath':
  11. message => $_envpath,
  12. }
  13. }
Add Comment
Please, Sign In to add comment