Puppet Class: osx::finder::unhide_library

Defined in:
manifests/finder/unhide_library.pp

Overview

Public: Unhide ~/Library in Finder.



2
3
4
5
6
7
8
9
# File 'manifests/finder/unhide_library.pp', line 2

class osx::finder::unhide_library {
  $home = "/Users/${::boxen_user}"

  exec { 'Unhide ~/Library':
    command => "chflags nohidden ${home}/Library",
    onlyif  => "ls -Ol ${home} | grep Library | grep hidden";
  }
}