Skip to content

Instantly share code, notes, and snippets.

@bradcypert
Created August 21, 2015 01:41
Show Gist options
  • Save bradcypert/2c33c83058ef862312d5 to your computer and use it in GitHub Desktop.
Save bradcypert/2c33c83058ef862312d5 to your computer and use it in GitHub Desktop.
Dat Puppet doe.
exec { 'update_packages':
command => 'apt-get update',
path => '/usr/bin',
}
# Install Leiningen to run tests and build project
exec { 'get_leiningen':
command => '/usr/bin/wget https://raw.github.com/technomancy/leiningen/stable/bin/lein -O /usr/bin/lein && /bin/chmod a+x /usr/bin/lein',
unless => '/usr/bin/which lein &>/dev/null',
}
class { 'postgresql::server': }
postgresql::server::db { 'hatchery_db':
user => 'hatchery_user',
password => postgresql_password('hatchery_user', 'larva'),
}
postgresql::server::db { 'restful_test':
user => 'restful_test',
password => postgresql_password('hatchery_test', 'larva'),
}
include java7
@dougroyal
Copy link

so what problem are you having exactly? there's nothing inherently wring with the syntax as far as I can tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment