Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added bootstrap.sh. Still in beta.

I might have to break away from the stand alone model and use the client/server
features.
  • Loading branch information...
commit 8be675446e36054d8784e67f51136610c7ad6c1a 1 parent 7a3c1d0
@uberj authored
View
22 evnet/manifests/install.pp
@@ -2,25 +2,35 @@
# basedir = where to keep the evnet library files.
class evnet::install ( $basedir = "opt" ){
-
+
+ package { "git":
+ ensure => present,
+ before => Git::Clone['evnet'],
+ }
+
package { "python-openssl":
ensure => present,
before => Exec["evnet install"],
}
-
+
+ package { "python-dev":
+ ensure => present,
+ before => Exec["evnet install"],
+ }
+
file { "/${basedir}/evnet/":
ensure => directory,
mode => 0640,
- owner => glaspot,
- require => User["glaspot"],
+ owner => root,
+ group => root,
}
git::clone { "evnet":
+
source => "https://github.com/rep/evnet.git",
localtree => "/${basedir}",
- require => User["glaspot"],
}
-
+
Exec { path => "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" }
exec { "evnet install":
View
7 glaspot/bootstrap.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Bootstrap a VM to be a glaspot honeypot.
+puppet_modules="/vagrant/puppet-modules"
+aptitude -y install puppet
+echo "modulepath = $puppet_modules" >> /etc/puppet/puppet.conf
+puppet apply -e "include glaspot"
View
3  glaspot/manifests/install.pp
@@ -7,9 +7,6 @@
ensure => installed,
}
- package { "python-dev":
- ensure => installed,
- }
package { "python-chardet":
ensure => installed,
}
View
2  php_apd/manifests/install.pp
@@ -13,7 +13,7 @@
ensure => present,
provider => dpkg,
#source => "puppet://puppet/php_apd/files/apd_1.0.1_i386.deb",
- source => "/etc/puppet/modules/php_apd/files/apd_1.0.1_i386.deb",
+ source => "puppet:///modules/php_apd/files/apd_1.0.1_i386.deb",
}
#zend_extension=/usr/lib/php5/20090626+lfs/apd.so
#apd.statement=1
Please sign in to comment.
Something went wrong with that request. Please try again.