Sha256: f765aab615ead4f056b7261e879ba514ea7f62cdbe10b6a0800a7043e0f3e8d1
Contents?: true
Size: 631 Bytes
Versions: 6
Compression:
Stored size: 631 Bytes
Contents
# $Id: classing 832 2006-01-17 07:11:50Z luke $ # define the server as a class import "components" class base() { # how do i handle components that don't take arguments? do they still # require a name? sudo { } } class server inherits base { file { "/tmp/puppetfiletest": ensure => file } } class webserver(docroot) inherits server { apache { php => false, docroot => $docroot, user => http, group => http } } class sleepserver(path) inherits server { sleeper { path => $path, mode => 644 } } # see 'nodes' for how to handle nodes
Version data entries
6 entries across 6 versions & 1 rubygems