GithubHelp home page GithubHelp logo

tbridge / munki-in-a-cloud Goto Github PK

View Code? Open in Web Editor NEW
53.0 53.0 8.0 39 KB

A bash script designed to setup a Munki repository, download items, and then prepare and sync an Amazon S3 + CloudFront distribution method.

License: Other

Shell 87.78% HCL 12.22%
bash macadmins macos munki

munki-in-a-cloud's Introduction

Hello and Welcome πŸ‘‹

πŸ˜„ Pronouns: he/him/his
πŸ’¬ Ask me about: Munki, MDM, JumpCloud, 🎸🎢 The Strokes, and the Nationals ⚾️
πŸ“š Read more: Cannonball
🎧 Listen more: Mac Admins Podcast

munki-in-a-cloud's People

Contributors

dials-mavis avatar mschwieger avatar rtrouton avatar tbridge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

munki-in-a-cloud's Issues

chmod vs chown

On line 453 of miac.sh, "chmod" should be "chown"

chmod -R "$ADMINUSERNAME" a+rX,g+w "$REPODIR"

S3 Bucket creation

The bucket creation with this script only works in AWS Region "us-east-1". All other AWS regions need the option --create-bucket-configuration LocationConstraint="$AWSREGIONID".

So it would have to be:
"$AWS" s3api create-bucket --acl private --bucket "$BUCKET" --region "$AWSREGIONID" --create-bucket-configuration LocationConstraint="$AWSREGIONID" --profile munki-in-a-cloud

However this does not seem to work with the "us-east-1" region.

AWS - s3api - create-bucket

License?

Could you please add an open source license to the project? Apache 2 would be a nice choice...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.