Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Test puppet support

  • Loading branch information...
commit 808641ff7cf3c231a09a3d1818deff5e6bae4f13 1 parent 275f77c
@cal cal authored
Showing with 21 additions and 0 deletions.
  1. +3 −0  test/Vagrantfile
  2. +18 −0 test/manifests/default.pp
View
3  test/Vagrantfile
@@ -1,4 +1,7 @@
Vagrant::Config.run do |config|
# Setup the box
config.vm.box = "ubuntu-precise-64"
+
+ # Enable the Puppet provisioner
+ config.vm.provision :puppet
end
View
18 test/manifests/default.pp
@@ -0,0 +1,18 @@
+# Basic Puppet Apache manifest
+
+class apache {
+ exec { 'apt-get update':
+ command => '/usr/bin/apt-get update'
+ }
+
+ package { "apache2":
+ ensure => present,
+ }
+
+ service { "apache2":
+ ensure => running,
+ require => Package["apache2"],
+ }
+}
+
+include apache
Please sign in to comment.
Something went wrong with that request. Please try again.