Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleaned up spelling and deleted some whitespace.

  • Loading branch information...
commit 9d843c1d5ef2b482c89738a2396cd2a9dfd8b81d 1 parent 9c3b969
@uberj authored
View
4 evnet/manifests/install.pp
@@ -2,7 +2,7 @@
# basedir = where to keep the evnet library files.
class evnet::install ( $basedir = "opt" ){
-
+
package { "git":
ensure => present,
before => Git::Clone['evnet'],
@@ -12,7 +12,7 @@
ensure => present,
before => Exec["evnet install"],
}
-
+
package { "python-dev":
ensure => present,
before => Exec["evnet install"],
View
1  glaspot/bootstrap.sh
@@ -4,5 +4,4 @@
puppet_modules="/vagrant/puppet-modules"
node_definitions="$puppet_modules/nodes/site.pp"
aptitude -y install puppet
-puppet apply --modulepath $puppet_modules -e "include glaspot"
puppet apply --verbose --modulepath $puppet_modules $node_definitions
View
6 glaspot/manifests/init.pp
@@ -6,12 +6,12 @@
# ----------------------------------
# By default everything will be installed into "opt". If you would like to install things
# into a different base dir, pass the basedir option to evnet or glaspot with the dir of your choice.
-# DO NOT PASS FUNKY STUFF TO PHP_APD UNLESS YOU KNOW WHAT YOU ARE DOING. read the code.
-# Let's say you want to install evnet into '/var'. Change the class declaration to
+# DO NOT PASS FUNKY STUFF TO PHP_APD UNLESS YOU KNOW WHAT YOU ARE DOING. Read the code.
+# Let's say you want to install evnet into '/var'. Change the class declaration to:
#
# class { "glaspot::evnet": basedir => 'var' }
#
-# Not the lack of a preceding '/'.
+# Note the lack of a preceding '/'.
class glaspot {
View
36 glaspot/manifests/install.pp
@@ -1,36 +0,0 @@
-# Params
-# basedir = place where glaspot will be installed.
-
-class glaspot::install ( $basedir = "/opt" ){
-
- package { "subversion":
- ensure => installed,
- }
-
- package { "python-chardet":
- ensure => installed,
- }
-
- user { "glaspot":
- ensure => present,
- home => "/bin/false",
- managehome => false,
- }
-
- file { "${basedir}/glaspot/":
- ensure => directory,
- mode => 0640,
- owner => glaspot,
- require => User["glaspot"],
- }
-
- subversion::checkout { "glaspot":
- repopath => "/glaspot",
- workingdir => "${basedir}/glaspot/",
- host => "glastopf.org",
- method => "svn",
- svnuser => "glaspot",
- port => "9090",
- require => File["${basedir}/glaspot/"],
- }
-}
View
8 php_apd/manifests/install.pp
@@ -1,4 +1,4 @@
-# I'm pretty much modeling what this guy did: http://lzone.de/node/4
+# I'm pretty much modeling this after what this guy did: http://lzone.de/node/4
class php_apd::install ( $php_ini = "/etc/php5/cli/php.ini", $trace_dir = "/tmp/apd_traces" ) {
@@ -15,17 +15,17 @@
source => "/vagrant/puppet-modules/php_apd/files/apd_1.0.1_i386.deb",
#source => "puppet:///modules/php_apd/apd_1.0.1_i386.deb",
}
- #zend_extension=/usr/lib/php5/20090626+lfs/apd.so
- #apd.statement=1
- #apd.tracedir=/tmp/apd-traces
+
exec { 'zend_extensions':
unless => "grep zend_extension=/usr/lib/php5/20090626+lfs/apd.so ${php_ini}",
command => "echo 'zend_extension=/usr/lib/php5/20090626+lfs/apd.so' >> ${php_ini}",
}
+
exec { 'apd enable':
unless => "grep apd.statement=1 ${php_ini}",
command => "echo 'apd.statement=1' >> ${php_ini}",
}
+
exec { 'tracedir':
unless => "grep apd.tracedir=${trace_dir} ${php_ini}",
command => "echo 'apd.tracedir=${trace_dir}' >> ${php_ini}",
Please sign in to comment.
Something went wrong with that request. Please try again.