-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hello. I use mac-defaults to manage several values. I have an entry that tries to reapply that manifest on each puppet run. All the rest of my entries only apply once unless changed. This is the first time I've tried an array.
Non-working example (This will apply on every puppet run)
mac-defaults { "additionalhttpheaders":
domain => '/Library/Preferences/ManagedInstalls',
key => 'AdditionalHttpHeaders',
type => 'array',
value => "Authorization: Basic XXXXXXXXXXXXXXXX",
Working examples (These will only apply once unless changed).
mac-defaults { "softwarerepourl":
domain => '/Library/Preferences/ManagedInstalls',
key => 'SoftwareRepoURL',
type => 'string',
value => "http://munkiserver1.orchard.fruit.com/munki_repo",
mac-defaults { "installapplesoftwareupdates":
domain => '/Library/Preferences/ManagedInstalls',
key => 'InstallAppleSoftwareUpdates',
type => 'bool',
value => "true",