search for: apache_sit

Displaying 2 results from an estimated 2 matches for "apache_sit".

Did you mean: apache_site
2007 Feb 20
5
Recipe for Apache2 on Debian (Etch)
...make things happen and a good example for others. One little thing though caught my notice because I''m currently making the same naughty thing on Simple Text Recipes. There is no ensure attribute. Since you already have done all the hard work, here a simple implementation: {{{ define apache_site($ensure = ''present'', $require => ''apache2'') { case $ensure { ''present'' : { apache_enable_site { "enable_$name": require => $require } } ''absent'' : { apache_disable_site { "disable_$name"...
2007 Apr 17
3
Managing a user''s groups
I''m looking for a way to conditionally add a user to a group, and can''t figure out a clean way to do it in Puppet. I have the following recipe: ###### BEGIN RECIPE class "apache-server" { group { "apache": gid => 100, } user { "apache": uid => 100, gid => 100, } ... } class "site-a"