You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,13 @@
2
2
3
3
This module contains functions that are useful in the administration of macOS.
4
4
5
-
## `plist`
5
+
## Functions
6
+
7
+
### `plist`
6
8
7
9
This function accepts a hash and will convert it into a plist. This requires the [CFPropertyList](https://github.com/ckruse/CFPropertyList/) gem to be installed on your Puppet Server (`sudo puppetserver gem install cfpropertylist`).
8
10
9
-
### Example
11
+
####Example
10
12
11
13
```puppet
12
14
$plist = {
@@ -19,10 +21,12 @@ file {'/tmp/a.plist':
19
21
}
20
22
```
21
23
22
-
## `macos_package_installed`
24
+
### `macos_package_installed`
25
+
26
+
Returns true if the version specified, or a higher version is installed of the specified package ID.
0 commit comments