class django::server { package { ["httpd", "Django", "mod_python"]: ensure => installed, } service { "httpd": ensure => running, require => Package["httpd"], } file { "/etc/httpd/conf.d/django.conf": ensure => present, owner => "root", group => "root", mode => 0644, source => "puppet:///django/django.conf", require => [Package["httpd"],Package["mod_python"], Exec["Checkout django example"]], notify => Service["httpd"], } exec { "Checkout django example": command => "/usr/bin/git clone git://${repoappliance}/pub/git/code/everest_django /usr/local/everest_django", } }