Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

mayconfsbrito commented Feb 20, 2015

Muito obrigado Minetto!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.