Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Basic Puppet Apache manifest
- class apt {
- exec { "/usr/bin/apt-get update --fix-missing":
- path => "/usr/bin"
- }
- }
- class lucid32 {
- package {"puppet":
- ensure => present,
- }
- package { "apache2":
- ensure => present,
- }
- service { "apache2":
- ensure => running,
- require => Package["apache2"],
- }
- }
- # Run Stages
- stage {"pre": before => Stage["main"]}
- class {'apt': stage => 'pre'}
- include lucid32
Add Comment
Please, Sign In to add comment