-
Notifications
You must be signed in to change notification settings - Fork 3
/
Puppet.munki.recipe
56 lines (55 loc) · 1.65 KB
/
Puppet.munki.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Identifier</key>
<string>com.grahamgilbert.munki.Puppet</string>
<key>Input</key>
<dict>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/PuppetLabs/Puppet</string>
<key>NAME</key>
<string>Puppet</string>
<key>VERSION</key>
<string>latest</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>Puppet is a tool designed to manage the configuration of Unix-like and Microsoft Windows systems declaratively.</string>
<key>display_name</key>
<string>%NAME%</string>
<key>name</key>
<string>%NAME%</string>
<key>requires</key>
<array>
<string>Facter</string>
<string>Hiera</string>
</array>
<key>unattended_install</key>
<true/>
<key>preinstall_script</key>
<string>#!/bin/bash
if [ -f /Library/LaunchDaemons/com.reductivelabs.puppet.plist ]
then
/bin/launchctl unload /Library/LaunchDaemons/com.reductivelabs.puppet.plist
fi
</string>
<key>postinstall_script</key>
<string>#!/bin/bash
if [ -f /Library/LaunchDaemons/com.reductivelabs.puppet.plist ]
then
/bin/launchctl load /Library/LaunchDaemons/com.reductivelabs.puppet.plist
fi
</string>
<key>category</key>
<string>System</string>
</dict>
</dict>
<key>ParentRecipe</key>
<string>com.github.autopkg.munki.puppet</string>
</dict>
</plist>