Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
2.5.0 Beta 1
Browse files Browse the repository at this point in the history
  • Loading branch information
maximermilov committed Apr 25, 2016
1 parent 9d25c8d commit 70409ec
Show file tree
Hide file tree
Showing 154 changed files with 2,580 additions and 3,731 deletions.
4 changes: 0 additions & 4 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ src/tests/simian/auth/gae_server.zip supplies the App Engine SDK so that all
unit tests may run without requiring the SDK. To update this zip, download and
zip the "google" folder within the latest Linux App Engine SDK.

src/simian/client/gae_client.zip supplies a small portion of the App Engine
SDK so that client functions may run without needing the full SDK on each
client.

However, you will need the full App Engine SDK so that you can upload the
Simian site to your App Engine instance.

Expand Down
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
include src/simian/settings.py
include src/simian/client/gae_client.zip
recursive-exclude src/simian/mac/admin *
recursive-exclude src/simian/mac/common *
include src/simian/mac/common/__init__.py
include src/simian/mac/common/hw.py
recursive-exclude src/simian/mac/cron *
recursive-exclude src/simian/mac/munki/handlers *
recursive-exclude src/simian/mac/api *
exclude src/simian/mac/main.py
exclude src/simian/mac/munki/common.py
exclude src/simian/mac/urls.py
44 changes: 11 additions & 33 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SDIST=${SDIST_TAR}.gz
MUNKI_VERSION=2.5.1.2630
MUNKI=munkitools-${MUNKI_VERSION}
MUNKIFILE=${MUNKI}.pkg
PYTHON_VERSION=2.6
PYTHON_VERSION=2.7
PYTHON=$(shell type -p python${PYTHON_VERSION})
TS=$(shell date '+%s')
BUILD_VERSION=$(shell (git rev-parse HEAD 2>/dev/null || echo ${SIMIAN_VERSION} | tr '.' '-') | cut -c1-12)
Expand All @@ -22,8 +22,9 @@ python_check:
@if [ ! -x "${PYTHON}" ]; then echo Cannot find ${PYTHON} ; exit 1 ; fi

virtualenv: python_check
${PYTHON} -c 'import virtualenv' || \
sudo easy_install-${PYTHON_VERSION} -U virtualenv==1.10.1
${PYTHON} -c 'import virtualenv; exit(virtualenv.__version__ != "13.1.2")' || \
(sudo easy_install-${PYTHON_VERSION} -U virtualenv==13.1.2 && \
sudo easy_install-${PYTHON_VERSION} -U setuptools==18.6.1)

VE: virtualenv python_check
[ -d VE ] || \
Expand Down Expand Up @@ -116,12 +117,9 @@ install_name_tool:

m2crypto:
for egg in \
M2Crypto-0.21.1-py2.6-macosx-10.6-universal.egg \
M2Crypto-0.22.3-py2.6-macosx-10.7-intel.egg \
M2Crypto-0.22.3-py2.6-macosx-10.8-x86_64.egg \
M2Crypto-0.22.3-py2.6-macosx-10.9-x86_64.egg \
M2Crypto-0.22.3-py2.6-macosx-10.10-intel.egg \
M2Crypto-0.22.3-py2.6-macosx-10.11-intel.egg ; do \
M2Crypto-0.22.3-py2.7-macosx-10.9-intel.egg \
M2Crypto-0.22.3-py2.7-macosx-10.10-intel.egg \
M2Crypto-0.22.3-py2.7-macosx-10.11-intel.egg ; do \
[[ -f "simian_$${egg}" ]] || curl -o "simian_$${egg}" "https://storage.googleapis.com/m2crypto_eggs/$${egg}" ; \
done

Expand All @@ -134,12 +132,7 @@ ${SIMIAN}.dmg: os_check ${SDIST} clean_contents contents.tar.gz m2crypto vep
-version ${SIMIAN_VERSION} \
-pyver ${PYTHON_VERSION} \
-vep install_name_tool \
-R simian_M2Crypto-*-10.6-*.egg \
-R simian_M2Crypto-*-10.7-*.egg \
-R simian_M2Crypto-*-10.8-*.egg \
-R simian_M2Crypto-*-10.9-*.egg \
-R simian_M2Crypto-*-10.10-*.egg \
-R simian_M2Crypto-*-10.11-*.egg \
-R simian_M2Crypto-*-10.*-*.egg \
-R PyYAML-*.egg \
-R WebOb-*.egg \
-R google_apputils-*.egg \
Expand All @@ -164,12 +157,7 @@ ${SIMIAN}.pkg: os_check ${SDIST} clean_contents contents.tar.gz m2crypto vep
-version ${SIMIAN_VERSION} \
-pyver ${PYTHON_VERSION} \
-vep install_name_tool \
-R simian_M2Crypto-*-10.6-*.egg \
-R simian_M2Crypto-*-10.7-*.egg \
-R simian_M2Crypto-*-10.8-*.egg \
-R simian_M2Crypto-*-10.9-*.egg \
-R simian_M2Crypto-*-10.10-*.egg \
-R simian_M2Crypto-*-10.11-*.egg \
-R simian_M2Crypto-*-10.*-*.egg \
-R PyYAML-*.egg \
-R WebOb-*.egg \
-R google_apputils-*.egg \
Expand All @@ -194,12 +182,7 @@ ${SIMIAN}-and-${MUNKI}.pkg: os_check ${SDIST} clean_contents m2crypto add_munkic
-version ${SIMIAN_VERSION}.${MUNKI_VERSION} \
-pyver ${PYTHON_VERSION} \
-vep install_name_tool \
-R simian_M2Crypto-*-10.6-*.egg \
-R simian_M2Crypto-*-10.7-*.egg \
-R simian_M2Crypto-*-10.8-*.egg \
-R simian_M2Crypto-*-10.9-*.egg \
-R simian_M2Crypto-*-10.10-*.egg \
-R simian_M2Crypto-*-10.11-*.egg \
-R simian_M2Crypto-*-10.*-*.egg \
-R PyYAML-*.egg \
-R WebOb-*.egg \
-R google_apputils-*.egg \
Expand All @@ -222,12 +205,7 @@ ${SIMIAN}-and-${MUNKI}.dmg: os_check ${SDIST} clean_contents m2crypto add_munkic
-version ${SIMIAN_VERSION}.${MUNKI_VERSION} \
-pyver ${PYTHON_VERSION} \
-vep install_name_tool \
-R simian_M2Crypto-*-10.6-*.egg \
-R simian_M2Crypto-*-10.7-*.egg \
-R simian_M2Crypto-*-10.8-*.egg \
-R simian_M2Crypto-*-10.9-*.egg \
-R simian_M2Crypto-*-10.10-*.egg \
-R simian_M2Crypto-*-10.11-*.egg \
-R simian_M2Crypto-*-10.*-*.egg \
-R PyYAML-*.egg \
-R WebOb-*.egg \
-R google_apputils-*.egg \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### Overview

**Note 1: OS X 10.6, 10.7, 10.8 support dropped (22 April 2016) **
**Note 2: Simian now supports Munki2 categories!**

Simian is an enterprise-class Mac OS X software deployment solution hosted on Google App Engine (why [App Engine](../../wiki/AppEngineAtAGlance)?). It scales to any enterprise fleet size automatically, and offers a future proof client extended from the active [Munki open-source project](https://github.com/munki/munki).
Expand Down
2 changes: 1 addition & 1 deletion postflight
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ cp ${RESOURCES}/roots.pem ${INSTALL_DIR}/${VE_DIR}/
### update munki configuration

echo Begin section: Harmless "configuration not found" messages may follow
server=`${VE_PYTHON} -c "from simian import settings ; print '%s.%s' % (settings.SUBDOMAIN, settings.DOMAIN)"`
server=`${VE_PYTHON} -c "from simian import settings ; print '%s' % settings.SERVER_HOSTNAME"`
defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "https://${server}"
echo End section

Expand Down
2 changes: 1 addition & 1 deletion postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ cp "$(pwd)/roots.pem" ${INSTALL_DIR}/${VE_DIR}/
### update munki configuration

echo Begin section: Harmless "configuration not found" messages may follow
server=`${VE_PYTHON} -c "from simian import settings ; print '%s.%s' % (settings.SUBDOMAIN, settings.DOMAIN)"`
server=`${VE_PYTHON} -c "from simian import settings ; print '%s' % settings.SERVER_HOSTNAME`

This comment has been minimized.

Copy link
@popsikle

popsikle May 16, 2016

This is missing a " after the SERVER_HOSTNAME. kills deployment of the packages.

This comment has been minimized.

Copy link
@maximermilov

maximermilov May 16, 2016

Author Contributor

Fixed.

defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "https://${server}"
echo End section
Expand Down
Loading

0 comments on commit 70409ec

Please sign in to comment.