Created
February 15, 2012 18:34
-
-
Save jmathai/1838031 to your computer and use it in GitHub Desktop.
OpenPhoto puppet script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class openphoto { | |
exec { "apt-update": | |
command => "/usr/bin/apt-get update", | |
refreshonly => true; | |
} | |
# base | |
package { | |
"exiftran" : | |
ensure => installed, | |
} | |
package { | |
"libpcre3-dev" : | |
ensure => installed, | |
} | |
package { | |
"build-essential" : | |
ensure => installed, | |
} | |
# apache | |
package { "apache2": | |
ensure => present, | |
} | |
service { "apache2": | |
ensure => running, | |
require => Package["apache2"], | |
} | |
# php | |
package { | |
"php5" : | |
ensure => installed, | |
} | |
package { | |
"php5-curl" : | |
ensure => installed, | |
} | |
package { | |
"php5-gd" : | |
ensure => installed, | |
} | |
package { | |
"php5-mcrypt" : | |
ensure => installed, | |
} | |
package { | |
"php-apc" : | |
ensure => installed, | |
} | |
package { | |
"php5-imagick" : | |
ensure => installed, | |
} | |
package { | |
"libapache2-mod-php5" : | |
ensure => installed, | |
require => Package["php5"] | |
} | |
} | |
include openphoto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment