summaryrefslogtreecommitdiffstats
path: root/documentation/rails-puppet-manager.rst
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-17 01:56:04 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-06-17 01:56:04 +0000
commit644fd4e5ff3cf3a31370be48c7d960e74204477d (patch)
tree98619c04b07ac461935505abc95ac2d533e10108 /documentation/rails-puppet-manager.rst
parentf0907607347c26127dd566fbe5b19c8528d25f5d (diff)
downloadpuppet-644fd4e5ff3cf3a31370be48c7d960e74204477d.tar.gz
puppet-644fd4e5ff3cf3a31370be48c7d960e74204477d.tar.xz
puppet-644fd4e5ff3cf3a31370be48c7d960e74204477d.zip
updating docs to work with webgen
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1293 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'documentation/rails-puppet-manager.rst')
-rw-r--r--documentation/rails-puppet-manager.rst64
1 files changed, 0 insertions, 64 deletions
diff --git a/documentation/rails-puppet-manager.rst b/documentation/rails-puppet-manager.rst
deleted file mode 100644
index 6cc0b6b8c..000000000
--- a/documentation/rails-puppet-manager.rst
+++ /dev/null
@@ -1,64 +0,0 @@
-I have begun work on a simplistic web-based Puppet manager based on Rails_,
-called PuppetShow. It's in a very primitive state -- including having no
-authentication, so use at your own risk -- but it's a good proof of concept.
-
-To get it working, first check out the code_. Then set up your apache config
-to serve it. This is what mine looks like::
-
- <VirtualHost 192.168.0.101:80 192.168.0.102:80 192.168.0.3:80>
- ServerAdmin luke@madstop.com
- SetEnv RAILS_ENV development
- ServerName puppet.madstop.com
- ServerAlias puppet
- DocumentRoot /var/lib/puppetshow/public
- ErrorLog /var/lib/puppetshow/log/apache.log
-
- <Directory /var/lib/puppetshow/public/>
- Options ExecCGI FollowSymLinks
- AddHandler cgi-script .cgi
- AllowOverride all
- Order allow,deny
- Allow from all
- </Directory>
- </VirtualHost>
-
-Now we just need to get the puppet internal stuff working. We could use
-either ``rake`` or Puppet to do this, but for whatever reason I decided to use
-Puppet. I've created a ``setup.pp`` file in the root of the tree, so you just
-need to modify that as appropriate (in particular, I have a Facter lib that
-sets ``$home`` for me, so you'll probably need to set that), then run::
-
- sudo puppet -v setup.pp
-
-At that point you should have a functional app. Like I said, there's no
-navigation at all, so you need to know what's out there. The first thing you
-need to do is start a daemon that this app can connect to. Pick your victim,
-create a namespace auth file (defaults to
-``/etc/puppet/namespaceauth.conf``)::
-
- [fileserver]
- allow *.madstop.com
-
- [puppetmaster]
- allow *.madstop.com
-
- [pelementserver]
- allow puppet.madstop.com
-
-Then start your client::
-
- puppetd -v --listen --no-client
-
-Here we're telling it to start the listening daemon but not to run the config.
-You can obviously use whatever options you want, though.
-
-Now you should be able to just go to your app. At this point, you need to
-know the name of the machine you want to connect to and the name of a type to
-look at. Say you're connecting to culain (my workstation's name), and you
-want to look at users; this would be your URL:
-http://puppet.domain.com/remote/culain/user/list
-
-Replace as appropriate for your site.
-
-.. _rails: http://rubyonrails.org
-.. _code: https://reductivelabs.com/svn/puppetshow