Created
April 3, 2012 00:16
-
-
Save eminetto/2288198 to your computer and use it in GitHub Desktop.
base.pp
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 base { | |
group { "puppet": | |
ensure => "present", | |
} | |
exec { "apt_update": | |
command => "apt-get update", | |
path => "/usr/bin" | |
} | |
package { "php5": | |
ensure => present, | |
} | |
package { "php5-cli": | |
ensure => present, | |
} | |
package { "php5-xdebug": | |
ensure => present, | |
} | |
package { "php5-mysql": | |
ensure => present, | |
} | |
package { "phpunit": | |
ensure => present, | |
} | |
package { "php-apc": | |
ensure => present, | |
} | |
package { "php5-imagick": | |
ensure => present, | |
} | |
package { "php5-mcrypt": | |
ensure => present, | |
} | |
package { "php5-memcache": | |
ensure => present, | |
} | |
package { "php5-suhosin": | |
ensure => present, | |
} | |
package { "php-pear": | |
ensure => present, | |
} | |
package { "curl": | |
ensure => present, | |
} | |
package { "imagemagick": | |
ensure => present, | |
} | |
package { "php5-dev": | |
ensure => present, | |
} | |
package { "php5-curl": | |
ensure => present, | |
} | |
package { "php5-sqlite": | |
ensure => present, | |
} | |
package { "phpmyadmin": | |
ensure => present, | |
} | |
package { "mysql-server": | |
ensure => present, | |
} | |
package { "libapache2-mod-php5": | |
ensure => present, | |
} | |
package { "apache2": | |
ensure => present, | |
} | |
package { "memcached": | |
ensure => present, | |
} | |
package { "vim": | |
ensure => present, | |
} | |
package { "git-core": | |
ensure => present, | |
} | |
package { "subversion": | |
ensure => present, | |
} | |
service { "apache2": | |
ensure => running, | |
require => Package["apache2"], | |
} | |
service { "mysql": | |
ensure => running, | |
require => Package["mysql-server"], | |
} | |
service { "memcached": | |
ensure => running, | |
require => Package["memcached"], | |
} | |
} | |
include base |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Muito obrigado Minetto!