Slide 23
Slide 23 text
2.3 A Module
.
├── manifests
│ └── default.pp
└── modules
└── nginxphp
├── manifests
│ └── init.pp
└── templates
└── vhost.erb
# manifests/default.pp
exec { 'apt-get update':
command => 'apt-get update',
before => Class['nginxphp'],
}
class { 'nginxphp':
doc_root => '/vagrant/web',
}