Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ready for testing on vagrant after some cleanup
- Loading branch information
Showing
10 changed files
with
31 additions
and
131 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LAMP Puppet Manifests for CentOS 5/Ubuntu | ||
LAMP Puppet Manifests for Ubuntu/Debian | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
class apache { | ||
|
||
package { httpd: ensure => installed } | ||
package { httpd-devel: ensure => installed } | ||
package { mod_ssl: ensure => installed } | ||
|
||
package { 'apache2' : ensure => installed } | ||
|
||
service { | ||
httpd: | ||
'apache2' : | ||
enable => true, | ||
ensure => running, | ||
subscribe => [Package[httpd], File["/etc/httpd/conf/httpd.conf"], Package[php], File["/etc/php.ini"]] | ||
subscribe => [Package['apache2']] | ||
} | ||
|
||
file { "/etc/httpd/conf/httpd.conf": | ||
owner => root, | ||
group => root, | ||
mode => 660, | ||
source => "/etc/puppet/files/etc/httpd/conf/httpd.conf", | ||
require => [ Package[httpd] ] | ||
} | ||
#file { "/etc/httpd/conf/httpd.conf": | ||
# owner => root, | ||
# group => root, | ||
# mode => 660, | ||
# source => "/etc/puppet/files/etc/httpd/conf/httpd.conf", | ||
# require => [ Package[httpd] ] | ||
#} | ||
|
||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
class lamp { | ||
include build, | ||
ssh, | ||
svn, | ||
git, | ||
include | ||
apache, | ||
mysql, | ||
php, | ||
sudo | ||
} | ||
mysql, | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
class mysql { | ||
|
||
package { mysql: ensure => installed } | ||
package { mysql-server: ensure => installed } | ||
|
||
service { | ||
mysqld: | ||
enable => true, | ||
ensure => running, | ||
subscribe => Package[mysql-server] | ||
package { | ||
mysql-server: ensure => installed , | ||
libapache2-mod-auth-mysql: ensure => installed, | ||
php5-mysql: ensure=>installed, | ||
phpmyadmin: ensure=>installed, | ||
} | ||
|
||
file { "/etc/my.cnf": | ||
owner => root, | ||
group => root, | ||
mode => 660, | ||
source => "/etc/puppet/files/etc/my.cnf", | ||
require => [ Package[mysql-server] ] | ||
} | ||
#service { | ||
# mysqld: | ||
# enable => true, | ||
# ensure => running, | ||
# subscribe => Package[mysql-server] | ||
#} | ||
|
||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
class php { | ||
|
||
package { php: ensure => installed } | ||
package { php-mysql: ensure => installed } | ||
|
||
file { "/etc/php.ini": | ||
owner => root, | ||
group => root, | ||
mode => 660, | ||
source => "/etc/puppet/files/etc/php.ini", | ||
require => [ Package[php] ] | ||
package { | ||
php5 : ensure => installed, | ||
libapache2-mod-php5 : ensure => installed, | ||
} | ||
|
||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.