munki/munki-pkg

Option for identifier

erikng opened this issue · 3 comments

As discussed yesterday, it would be nice if a preference file could be written to that added a common identifier or if you could use --identifier when create new projects.

~/Library/Preferences/com.github.munki.munkipkg.plist

<key>identifier</key>
</string>com.test.pkg</string>

./munkipkg --create Test --json

"identifier": "com.test.pkg.Test"

./munkipkg --create Test --json

"identifier": "com.github.munki.pkg.Test"

Desired:
./munkipkg --create Test --json --identifier "com.test.pkg"

"identifier": "com.test.pkg.Test"

Spitballing here, but perhaps a better option is for an admin to create either a plist or json (or multiple!) file that can be referenced. This current enhancement idea doesn't solve other missing/desired elements (signing key).

Sounds like maybe what you really want/need is project templates...

Yes, I didn't explicitly call them "templates" on my last comment, but that's exactly what I mean.