33 lines
910 B
Puppet
33 lines
910 B
Puppet
# modify this file to locally try the puppet manifest with vagrant
|
|
node /^lucid32$/ {
|
|
include base
|
|
|
|
# to test Confluence with Vagrant, you need the following manual setup
|
|
# - run ./confluence.deb/build.sh to generate Confluence debian package
|
|
# - once provisioned, run 'make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/snakeoil.crt'
|
|
# from inside the VM to generate a self-signed certificate named 'wiki2.jenkins-ci.org'
|
|
# - add 'wiki2.jenkins-ci.org' to /etc/hosts as 127.0.0.1
|
|
# include confluence
|
|
|
|
|
|
firewall {
|
|
'100 accept inbound HTTP requests' :
|
|
proto => 'tcp',
|
|
port => 80,
|
|
action => 'accept';
|
|
|
|
'101 accept inbound HTTPs requests' :
|
|
proto => 'tcp',
|
|
port => 443,
|
|
action => 'accept';
|
|
}
|
|
}
|
|
|
|
node default {
|
|
include base
|
|
}
|
|
|
|
Exec {
|
|
path => [ '/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/' ]
|
|
}
|