munki / munki-pkg

Repo for the munkipkg tool and example projects
Other
345 stars 73 forks source link

Option for identifier #7

Open erikng opened 9 years ago

erikng commented 9 years ago

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.

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

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

./munkipkg --create Test --json

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

2. ./munkipkg --create Test --json

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

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

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

erikng commented 9 years ago

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).

gregneagle commented 9 years ago

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

erikng commented 9 years ago

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