Open GoogleCodeExporter opened 9 years ago
I think the only OS X specific component, apart from the setup procedure, is:
http://code.google.com/p/munkireport/source/browse/trunk/munkireport/lib/macosxauth.py
If you're willing to forgo directory service authentication and only use
fileauth, you can simply disable it in:
http://code.google.com/p/munkireport/source/browse/trunk/munkireport/config/middleware.py
The rest should work on Linux.
Original comment by MagerV...@gmail.com
on 16 Jun 2011 at 8:16
> The other part I can't get to work (mostly lack of perl knowledge) is the
"Creating
> etc/production.ini". I've tried tweaking it and running it as a simple perl
script
> with no luck. What's the expected output?
It simply replaces SET SECRET STRING HERE with a random string, currently
generated with /usr/bin/uuidgen.
> "EGG=`ls *.egg | tail -1`" - Is that supposed to be run from within the
virtualenv
> while located at "~/Library/Python" ?
Doesn't matter, it simply tries to find a file named *.egg. The easy_install
command must be executed while the virtualenv is active though, or you'll
clobber your system python library.
> Also what does easy_install have to actually install, is it just "setuptools"
and
> "pip" eggs?
It installs the MunkiReport egg, and its numerous dependencies.
Original comment by MagerV...@gmail.com
on 16 Jun 2011 at 8:25
So far this is going to be a bit challenging. I'm able to get through almost
the entire setup with few modifications but the probem I'm having is all the
references to file locations that only exist in OS X. Like
"/Library/Application Support".
Also what is the best way to built the MunkiReport egg ? So far I've had some
success with "python setup.py bdist_egg".
Also the documentation and setup script says to run "./start" to begin
MunkiReport...without LaunchDaemons, how can it be started?
Thanks
- Trey
Original comment by treyd...@gmail.com
on 25 Jul 2011 at 5:46
Ok new problem...
Creating database...
Traceback (most recent call last):
File "/opt/MunkiReport/Python/MunkiReportEnv/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File "/opt/MunkiReport/Python/MunkiReportEnv/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 73, in run
commands = get_commands()
File "/opt/MunkiReport/Python/MunkiReportEnv/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 115, in get_commands
plugins = pluginlib.resolve_plugins(plugins)
File "/opt/MunkiReport/Python/MunkiReportEnv/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/pluginlib.py", line 81, in resolve_plugins
pkg_resources.require(plugin)
File "/opt/MunkiReport/Python/MunkiReportEnv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 666, in require
File "/opt/MunkiReport/Python/MunkiReportEnv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 565, in resolve
pkg_resources.DistributionNotFound: Not Found: tg.devtools (did you run python
setup.py develop?)
Setup done. The server can be started with ./start.sh.
I ran python setup.py develop, but that didn't seem to resolve this. Is this
because those python modules aren't getting installed into the virtual
environment?
Thanks
- Trey
Original comment by treyd...@gmail.com
on 27 Jul 2011 at 2:34
Has there been any progress on this since last comment?
Original comment by l.fron...@gmail.com
on 17 Nov 2011 at 1:33
Not yet. I may attempt again now that I've discovered mock and won't have to
pollute my system with a test. I'll dig up the code changes I made to get to
that point of last comment.
Original comment by treyd...@gmail.com
on 17 Nov 2011 at 3:49
Original issue reported on code.google.com by
treyd...@gmail.com
on 16 Jun 2011 at 12:33