Skip to content

Instantly share code, notes, and snippets.

@btisdall
Created September 2, 2012 16:01
Show Gist options
  • Save btisdall/3600897 to your computer and use it in GitHub Desktop.
Save btisdall/3600897 to your computer and use it in GitHub Desktop.
# development.pp
stage { 'req-install': before => Stage['rvm-install'] }
class misc {
package {
[
'vim',
]:
ensure => installed,
}
}
class requirements {
group { "puppet": ensure => "present", }
exec { "apt-update":
command => "/usr/bin/apt-get -y update",
}
}
class installrvm {
include rvm
rvm::system_user { vagrant: ; }
}
class installruby {
rvm_system_ruby {
'ruby-1.9.3-p194':
ensure => 'present';
}
}
class { requirements: stage => "req-install" }
class { installrvm: }
class { installruby: require => Class[Installrvm] }
class { misc: }
class { nginx: }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment