Update init.sls

Extended this to support ubuntu (git-core)
Merge pull request #1 from auser/patch-1

Update init.sls