Skip to content

Instantly share code, notes, and snippets.

@eminetto
Created April 3, 2012 00:16
Show Gist options
  • Save eminetto/2288198 to your computer and use it in GitHub Desktop.
Save eminetto/2288198 to your computer and use it in GitHub Desktop.
base.pp
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
@mayconfsbrito
Copy link

Muito obrigado Minetto!

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