--- /dev/null
- checkout = git clone git://git.sarava.org/puppet-apache.git apache
+
+[puppet/modules/apache]
- checkout = git clone git://git.sarava.org/puppet-apcupsd.git apcupsd
++checkout = git clone git://git.fluxo.info/puppet-apache.git apache
+
+[puppet/modules/apcupsd]
- checkout = git clone git://git.sarava.org/puppet-apparmor.git apparmor
++checkout = git clone git://git.fluxo.info/puppet-apcupsd.git apcupsd
+
+[puppet/modules/apparmor]
- checkout = git clone git://git.sarava.org/puppet-apt.git apt
++checkout = git clone git://git.fluxo.info/puppet-apparmor.git apparmor
+
+[puppet/modules/apt]
- checkout = git clone git://git.sarava.org/puppet-autofs.git autofs
++checkout = git clone git://git.fluxo.info/puppet-apt.git apt
+
+[puppet/modules/autofs]
- checkout = git clone git://git.sarava.org/puppet-autossh.git autossh
++checkout = git clone git://git.fluxo.info/puppet-autofs.git autofs
+
+[puppet/modules/autossh]
- checkout = git clone git://git.sarava.org/puppet-avahi.git avahi
++checkout = git clone git://git.fluxo.info/puppet-autossh.git autossh
+
+[puppet/modules/avahi]
- checkout = git clone git://git.sarava.org/puppet-backup.git backup
++checkout = git clone git://git.fluxo.info/puppet-avahi.git avahi
+
+[puppet/modules/backup]
- checkout = git clone git://git.sarava.org/puppet-backupninja.git backupninja
++checkout = git clone git://git.fluxo.info/puppet-backup.git backup
+
+[puppet/modules/backupninja]
- checkout = git clone git://git.sarava.org/puppet-bind.git bind
++checkout = git clone git://git.fluxo.info/puppet-backupninja.git backupninja
+
+[puppet/modules/bind]
- checkout = git clone git://git.sarava.org/puppet-bitcoind.git bitcoind
-
- [puppet/modules/bootstrap]
- checkout = git clone git://git.sarava.org/puppet-bootstrap.git bootstrap
++checkout = git clone git://git.fluxo.info/puppet-bind.git bind
+
+[puppet/modules/bitcoind]
- checkout = git clone git://git.sarava.org/puppet-common.git common
++checkout = git clone git://git.fluxo.info/puppet-bitcoind.git bitcoind
+
+[puppet/modules/common]
- checkout = git clone git://git.sarava.org/puppet-concat.git concat
++checkout = git clone git://git.fluxo.info/puppet-common.git common
+
+[puppet/modules/concat]
- checkout = git clone git://git.sarava.org/puppet-cron.git cron
++checkout = git clone git://git.fluxo.info/puppet-concat.git concat
+
+[puppet/modules/cron]
- checkout = git clone git://git.sarava.org/puppet-daap_server.git daap_server
-
- [puppet/modules/darkice]
- checkout = git clone git://git.sarava.org/puppet-darkice.git darkice
++checkout = git clone git://git.fluxo.info/puppet-cron.git cron
+
+[puppet/modules/daap_server]
- checkout = git clone git://git.sarava.org/puppet-database.git database
++checkout = git clone git://git.fluxo.info/puppet-daap_server.git daap_server
+
+[puppet/modules/database]
- checkout = git clone git://git.sarava.org/puppet-dhcp.git dhcp
++checkout = git clone git://git.fluxo.info/puppet-database.git database
+
+[puppet/modules/dhcp]
- checkout = git clone git://git.sarava.org/puppet-domain_check.git domain_check
++checkout = git clone git://git.fluxo.info/puppet-dhcp.git dhcp
+
+[puppet/modules/domain_check]
- checkout = git clone git://git.sarava.org/puppet-drupal.git drupal
++checkout = git clone git://git.fluxo.info/puppet-domain_check.git domain_check
+
+[puppet/modules/drupal]
- checkout = git clone git://git.sarava.org/puppet-dyndns.git dyndns
++checkout = git clone git://git.fluxo.info/puppet-drupal.git drupal
+
+[puppet/modules/dyndns]
- checkout = git clone git://git.sarava.org/puppet-ejabberd.git ejabberd
++checkout = git clone git://git.fluxo.info/puppet-dyndns.git dyndns
+
+[puppet/modules/ejabberd]
- checkout = git clone git://git.sarava.org/puppet-ekeyd.git ekeyd
++checkout = git clone git://git.fluxo.info/puppet-ejabberd.git ejabberd
+
+[puppet/modules/ekeyd]
- checkout = git clone git://git.sarava.org/puppet-etherpad.git etherpad
++checkout = git clone git://git.fluxo.info/puppet-ekeyd.git ekeyd
+
+[puppet/modules/etherpad]
- checkout = git clone git://git.sarava.org/puppet-exim.git exim
++checkout = git clone git://git.fluxo.info/puppet-etherpad.git etherpad
+
+[puppet/modules/exim]
- checkout = git clone git://git.sarava.org/puppet-firewall.git firewall
++checkout = git clone git://git.fluxo.info/puppet-exim.git exim
+
+[puppet/modules/firewall]
- checkout = git clone git://git.sarava.org/puppet-git.git git
++checkout = git clone git://git.fluxo.info/puppet-firewall.git firewall
+
+[puppet/modules/git]
- checkout = git clone git://git.sarava.org/puppet-hotglue.git hotglue
++checkout = git clone git://git.fluxo.info/puppet-git.git git
+
+[puppet/modules/hotglue]
- checkout = git clone git://git.sarava.org/puppet-hydra.git hydra
++checkout = git clone git://git.fluxo.info/puppet-hotglue.git hotglue
+
+[puppet/modules/hydra]
- checkout = git clone git://git.sarava.org/puppet-icecast.git icecast
++checkout = git clone git://git.fluxo.info/puppet-hydra.git hydra
+
+[puppet/modules/icecast]
- checkout = git clone git://git.sarava.org/puppet-ikiwiki.git ikiwiki
++checkout = git clone git://git.fluxo.info/puppet-icecast.git icecast
+
+[puppet/modules/ikiwiki]
- checkout = git clone git://git.sarava.org/puppet-inetd.git inetd
++checkout = git clone git://git.fluxo.info/puppet-ikiwiki.git ikiwiki
+
+[puppet/modules/inetd]
- checkout = git clone git://git.sarava.org/puppet-infinoted.git infinoted
++checkout = git clone git://git.fluxo.info/puppet-inetd.git inetd
+
+[puppet/modules/infinoted]
- checkout = git clone git://git.sarava.org/puppet-inifile.git inifile
++checkout = git clone git://git.fluxo.info/puppet-infinoted.git infinoted
+
+[puppet/modules/inifile]
- checkout = git clone git://git.sarava.org/puppet-lighttpd.git lighttpd
++checkout = git clone git://git.fluxo.info/puppet-inifile.git inifile
+
+[puppet/modules/lighttpd]
- checkout = git clone git://git.sarava.org/puppet-lsb.git lsb
++checkout = git clone git://git.fluxo.info/puppet-lighttpd.git lighttpd
+
+[puppet/modules/lsb]
- checkout = git clone git://git.sarava.org/puppet-mail.git mail
++checkout = git clone git://git.fluxo.info/puppet-lsb.git lsb
+
+[puppet/modules/mail]
- checkout = git clone git://git.sarava.org/puppet-minidlna.git minidlna
++checkout = git clone git://git.fluxo.info/puppet-mail.git mail
+
+[puppet/modules/minidlna]
- checkout = git clone git://git.sarava.org/puppet-moin.git moin
++checkout = git clone git://git.fluxo.info/puppet-minidlna.git minidlna
+
+[puppet/modules/moin]
- checkout = git clone git://git.sarava.org/puppet-monkeysphere.git monkeysphere
++checkout = git clone git://git.fluxo.info/puppet-moin.git moin
+
+[puppet/modules/monkeysphere]
- checkout = git clone git://git.sarava.org/puppet-motion.git motion
++checkout = git clone git://git.fluxo.info/puppet-monkeysphere.git monkeysphere
+
+[puppet/modules/motion]
- checkout = git clone git://git.sarava.org/puppet-mpd.git mpd
++checkout = git clone git://git.fluxo.info/puppet-motion.git motion
+
+[puppet/modules/mpd]
- checkout = git clone git://git.sarava.org/puppet-mumble.git mumble
++checkout = git clone git://git.fluxo.info/puppet-mpd.git mpd
+
+[puppet/modules/mumble]
- checkout = git clone git://git.sarava.org/puppet-munin.git munin
++checkout = git clone git://git.fluxo.info/puppet-mumble.git mumble
+
+[puppet/modules/munin]
- checkout = git clone git://git.sarava.org/puppet-mysql.git mysql
++checkout = git clone git://git.fluxo.info/puppet-munin.git munin
+
+[puppet/modules/mysql]
- checkout = git clone git://git.sarava.org/puppet-nagios.git nagios
++checkout = git clone git://git.fluxo.info/puppet-mysql.git mysql
+
+[puppet/modules/nagios]
- checkout = git clone git://git.sarava.org/puppet-nfs.git nfs
++checkout = git clone git://git.fluxo.info/puppet-nagios.git nagios
+
+[puppet/modules/nfs]
- checkout = git clone git://git.sarava.org/puppet-nginx.git nginx
++checkout = git clone git://git.fluxo.info/puppet-nfs.git nfs
+
+[puppet/modules/nginx]
- checkout = git clone git://git.sarava.org/puppet-nodo.git nodo
++checkout = git clone git://git.fluxo.info/puppet-nginx.git nginx
+
+[puppet/modules/nodo]
- checkout = git clone git://git.sarava.org/puppet-ntp.git ntp
++checkout = git clone git://git.fluxo.info/puppet-nodo.git nodo
+
+[puppet/modules/ntp]
- checkout = git clone git://git.sarava.org/puppet-onion.git onion
++checkout = git clone git://git.fluxo.info/puppet-ntp.git ntp
+
+[puppet/modules/onion]
- checkout = git clone git://git.sarava.org/puppet-pear.git pear
++checkout = git clone git://git.fluxo.info/puppet-onion.git onion
+
+[puppet/modules/pear]
- checkout = git clone git://git.sarava.org/puppet-php.git php
++checkout = git clone git://git.fluxo.info/puppet-pear.git pear
+
+[puppet/modules/php]
- checkout = git clone git://git.sarava.org/puppet-pmwiki.git pmwiki
++checkout = git clone git://git.fluxo.info/puppet-php.git php
+
+[puppet/modules/pmwiki]
- checkout = git clone git://git.sarava.org/puppet-postfix.git postfix
++checkout = git clone git://git.fluxo.info/puppet-pmwiki.git pmwiki
+
+[puppet/modules/postfix]
- checkout = git clone git://git.sarava.org/puppet-puppet.git puppet
++checkout = git clone git://git.fluxo.info/puppet-postfix.git postfix
+
+[puppet/modules/puppet]
- checkout = git clone git://git.sarava.org/puppet-pureftpd.git pureftpd
++checkout = git clone git://git.fluxo.info/puppet-puppet.git puppet
+
+[puppet/modules/pureftpd]
- checkout = git clone git://git.sarava.org/puppet-pyroscope.git pyroscope
++checkout = git clone git://git.fluxo.info/puppet-pureftpd.git pureftpd
+
+[puppet/modules/pyroscope]
- checkout = git clone git://git.sarava.org/puppet-qwebirc.git qwebirc
++checkout = git clone git://git.fluxo.info/puppet-pyroscope.git pyroscope
+
+[puppet/modules/qwebirc]
- checkout = git clone git://git.sarava.org/puppet-reprepro.git reprepro
++checkout = git clone git://git.fluxo.info/puppet-qwebirc.git qwebirc
+
+[puppet/modules/reprepro]
- checkout = git clone git://git.sarava.org/puppet-resolvconf.git resolvconf
++checkout = git clone git://git.fluxo.info/puppet-reprepro.git reprepro
+
+[puppet/modules/resolvconf]
- checkout = git clone git://git.sarava.org/puppet-rng-tools.git rng-tools
++checkout = git clone git://git.fluxo.info/puppet-resolvconf.git resolvconf
+
+[puppet/modules/rng-tools]
- checkout = git clone git://git.sarava.org/puppet-rsync.git rsync
++checkout = git clone git://git.fluxo.info/puppet-rng-tools.git rng-tools
+
+[puppet/modules/rsync]
- checkout = git clone git://git.sarava.org/puppet-runit.git runit
++checkout = git clone git://git.fluxo.info/puppet-rsync.git rsync
+
+[puppet/modules/runit]
- checkout = git clone git://git.sarava.org/puppet-samba.git samba
++checkout = git clone git://git.fluxo.info/puppet-runit.git runit
+
+[puppet/modules/samba]
- checkout = git clone git://git.sarava.org/puppet-schroot.git schroot
++checkout = git clone git://git.fluxo.info/puppet-samba.git samba
+
+[puppet/modules/schroot]
- checkout = git clone git://git.sarava.org/puppet-shorewall.git shorewall
++checkout = git clone git://git.fluxo.info/puppet-schroot.git schroot
+
+[puppet/modules/shorewall]
- checkout = git clone git://git.sarava.org/puppet-smartmonster.git smartmonster
++checkout = git clone git://git.fluxo.info/puppet-shorewall.git shorewall
+
+[puppet/modules/smartmonster]
- checkout = git clone git://git.sarava.org/puppet-smartmontools.git smartmontools
++checkout = git clone git://git.fluxo.info/puppet-smartmonster.git smartmonster
+
+[puppet/modules/smartmontools]
- checkout = git clone git://git.sarava.org/puppet-sshd.git sshd
++checkout = git clone git://git.fluxo.info/puppet-smartmontools.git smartmontools
+
+[puppet/modules/sshd]
- checkout = git clone git://git.sarava.org/puppet-ssl.git ssl
++checkout = git clone git://git.fluxo.info/puppet-sshd.git sshd
+
+[puppet/modules/ssl]
- checkout = git clone git://git.sarava.org/puppet-supervisor.git supervisor
++checkout = git clone git://git.fluxo.info/puppet-ssl.git ssl
++
++[puppet/modules/stdlib]
++checkout = git clone git://git.fluxo.info/puppet-stdlib.git stdlib
+
+[puppet/modules/supervisor]
- checkout = git clone git://git.sarava.org/puppet-supybot.git supybot
++checkout = git clone git://git.fluxo.info/puppet-supervisor.git supervisor
+
+[puppet/modules/supybot]
- checkout = git clone git://git.sarava.org/puppet-syslog-ng.git syslog-ng
++checkout = git clone git://git.fluxo.info/puppet-supybot.git supybot
+
+[puppet/modules/syslog-ng]
- checkout = git clone git://git.sarava.org/puppet-tftp.git tftp
++checkout = git clone git://git.fluxo.info/puppet-syslog-ng.git syslog-ng
+
+[puppet/modules/tftp]
- checkout = git clone git://git.sarava.org/puppet-tor.git tor
++checkout = git clone git://git.fluxo.info/puppet-tftp.git tftp
+
+[puppet/modules/tor]
- checkout = git clone git://git.sarava.org/puppet-trac.git trac
++checkout = git clone git://git.fluxo.info/puppet-tor.git tor
+
+[puppet/modules/trac]
- checkout = git clone git://git.sarava.org/puppet-tunnel.git tunnel
++checkout = git clone git://git.fluxo.info/puppet-trac.git trac
+
+[puppet/modules/tunnel]
- checkout = git clone git://git.sarava.org/puppet-user.git user
++checkout = git clone git://git.fluxo.info/puppet-tunnel.git tunnel
+
+[puppet/modules/user]
- checkout = git clone git://git.sarava.org/puppet-vcsrepo.git vcsrepo
++checkout = git clone git://git.fluxo.info/puppet-user.git user
+
+[puppet/modules/vcsrepo]
- checkout = git clone git://git.sarava.org/puppet-viewvc.git viewvc
++checkout = git clone git://git.fluxo.info/puppet-vcsrepo.git vcsrepo
+
+[puppet/modules/viewvc]
- checkout = git clone git://git.sarava.org/puppet-virtual.git virtual
++checkout = git clone git://git.fluxo.info/puppet-viewvc.git viewvc
+
+[puppet/modules/virtual]
- checkout = git clone git://git.sarava.org/puppet-websites.git websites
++checkout = git clone git://git.fluxo.info/puppet-virtual.git virtual
+
+[puppet/modules/websites]
- checkout = git clone git://git.sarava.org/puppet-websvn.git websvn
++checkout = git clone git://git.fluxo.info/puppet-websites.git websites
+
+[puppet/modules/websvn]
- checkout = git clone git://git.sarava.org/puppet-wordpress.git wordpress
++checkout = git clone git://git.fluxo.info/puppet-websvn.git websvn
+
+[puppet/modules/wordpress]
++checkout = git clone git://git.fluxo.info/puppet-wordpress.git wordpress
--- /dev/null
- * Minimal manifest for fast provisioning.
- * Update to new nodo style (hiera and nodo::role).
- * Support for recursive clones in `bin/mrconfig`.
- * Test!
+TODO
+====
+
++High priority
++-------------
++
++- puppet: masterless:
++ - keyringer/gpg integration.
++ - https://github.com/compete/hiera_yamlgpg
++ - https://github.com/crayfishx/hiera-gpg
++ - https://github.com/sihil/hiera-eyaml-gpg
++ - https://github.com/StackExchange/blackbox
++ - http://ww.telent.net/2014/2/10/keeping_secrets_in_public_with_puppet
++ - https://docs.puppetlabs.com/hiera/1/custom_backends.html
++ - https://puppetlabs.com/blog/encrypt-your-data-using-hiera-eyaml
++ - https://packages.debian.org/jessie/hiera-eyaml
++ - how to distribute keys outside the repo (i.e, avoiding all nodes to have all keys?):
++ - add a monkeysphere auth subkey to every openpgp key used for backups.
++ - make backupninja wrap around monkeysphere: http://web.monkeysphere.info/doc/user-ssh-advanced/
++ - http://current.workingdirectory.net/posts/2011/puppet-without-masters/
++ - http://andrewbunday.co.uk/2012/12/04/masterless-puppet-wrapper/
++ - http://semicomplete.com/presentations/puppet-at-loggly/puppet-at-loggly.pdf.html
++ - https://github.com/jordansissel/puppet-examples/tree/master/masterless
++- sshd:
++ - https://stribika.github.io/2015/01/04/secure-secure-shell.html
++ - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774711#60
++ - enable ecdsa key.
++ - ecdsa priority: alternatives:
++ - unsupport ecdsa in the server.
++ - export ecdsa pubkeys.
++ - manage client's /root/.ssh/config: `HostKeyAlgorithms ssh-rsa`.
++ - force option via rsync/rdiff handlers.
++- virtual: migrate to kvm/libvirt.
++- loginrecords: deploy module.
++- deploy https://github.com/wido/puppet-module-tcpwrappers
++- nodo:
++ - run stages.
++ - allow more resources to be declared via hiera.
++ - fix hiera default boolean value when true.
++ - easy way to toggle management of subsystems.
++
++Medium priority
++---------------
++
++- apt: raspbian support, including unnatended-upgrades.
++- backup:
++ - support for $dombr and $dobios on backupninja::sys for servers and physical machines.
++ - sync-backups support for rsyncing from kvms / snapshots.
++- nodo:
++ - cleanup and refactor.
++ - uniform variable names.
++ - use prompt.sh from bash-prompt as a submodule.
++- common: autoload.
++- general:
++ - rollback of commits about charset.
++ - switch to conf.d:
++ - php ("refactor" branch), remove E_STRICT from production's error_reporting.
++ - apache2.
++ - sudoers.
++- backup: `sync-media-iterate [volume]`.
++- mail:
++ - use ssl::dhparams, move to 2048 bit and use the standard file names and paths:
++ - [Feature #4012: postfix: ship 2048bit dh parameters - Platform - LEAP Issue Tracker](https://leap.se/code/issues/4012)
++
++Low priority
++------------
++
++- merge, review, pull requests for all modules.
++- bind: nsupdate / dynamic dns:
++ - http://linux.yyz.us/nsupdate/
++ - http://linux.yyz.us/dns/ddns-server.html
++ - http://caunter.ca/nsupdate.txt
++ - http://www.rtfm-sarl.ch/articles/using-nsupdate.html
++ - https://github.com/skx/dhcp.io/
++- munin: lvm monitoring.
++- pyroscope: torrent workflow: torrent-maker, magnet2torrent and torrent-reseed:
++ - http://wiki.rtorrent.org/MagnetUri
++ - http://dan.folkes.me/2012/04/19/converting-a-magnet-link-into-a-torrent/
++ - https://github.com/danfolkes/Magnet2Torrent
++ - http://code.google.com/p/pyroscope/wiki/CommandLineTools
++ - https://trac.transmissionbt.com/ticket/4176
++ - http://wiki.rtorrent.org/MagnetUri
++ - https://github.com/rakshasa/rtorrent/issues/212
++ - saving/restoring `.meta` and `~/rtorrent/.session` files.
++- support for http/https proxy inside web nodes:
++ - encrypted ssl keys: http://support.f5.com/kb/en-us/solutions/public/11000/400/sol11440.html
++ - make all apache sites listen to 8080.
++- git:
++ - gitolite: [monkeysphere integration](http://gitolite.com/gitolite/g2/monkeysphere.html).
++ - gitweb clean urls.
++ - email notifications.
++ - https://packages.debian.org/jessie/git-notifier
++ - https://github.com/mhagger/git-multimail
++ - using OpenPGP?
++- syslog-ng: use conf.d.
++- etherpad: `You need to set a sessionKey value in settings.json`.
++- knock integration via https://github.com/juasiepo/knockd
++- apache:
++ - try libapache2-modsecurity.
++ - deploy https://git.immerda.ch/csp-report/
++ - disable other_vhosts_access.log.
++- onion:
++ - support for existing hidden service key, generated with tools like https://github.com/katmagic/Shallot
++ - load balancing: http://archives.seul.org/tor/relays/Apr-2011/msg00022.html
++- nagios: snmp, nrpe, nsca
++ - http://nagios.sourceforge.net/docs/3_0/addons.html
++ - http://www.math.wisc.edu/~jheim/snmp/
++- ssh access restrictions:
++ - denyhosts, but we don't want to log IPs.
++ - using shorewall: http://www.debian-administration.org/articles/250#comment_16
++ - alowed users / groups.
++- websites: freewvs.
++- puppet: bug report: debian wheezy puppet-common: needs the following patch: http://projects.puppetlabs.com/issues/10963
++- mail:
++ - review dovecot recipient delimiter handling: to which mailbox messages should be sent?
++ - mlmmj:
++ - lists with hyphens are not working when mails are sent directly, but work when sent to an alias.
++ - `mail::mlmmj::domain` needs updating or additional domains should be added into `relay_domains`.
++- drupal/wordpress:
++ - cronjob/cli: switch to site user.
++ - drupal_update: Do you really want to continue with the update process? (y/n):
++ Do you really want to continue with the update process? (y/n): Aborting. [cancel],
++ possibly related to https://www.drupal.org/node/443392
++- php / wordpress / wp-cli: composer installation and dependencies:
++ - http://getcomposer.org/doc/00-intro.md#installation-nix
++ - https://github.com/wp-cli/wp-cli/wiki/Alternative-Install-Methods
++ - suhosin needs `suhosin.executor.include.whitelist = phar` on `/etc/php5/cli/conf.d/suhosin.ini`.
++- nodo: support for prosody:
++ - https://github.com/dgoulet/prosody-otr
++ - http://prosody.im/doc/creating_accounts#importing_from_ejabberd
++ - config with good score at https://xmpp.net/index.php
++- mail:
++ - support for [preventing SPAM connections with bird](http://www.debian-administration.org/article/715/Preventing_SPAM_connections_with_bird.).
++ - schleuder: manage `/etc/schleuder/schleuder.conf`, using `superadminaddr: root` or other recipient, to avoid mails.
++ sent as `root@localhost`.
++ - deploy https://git.autistici.org/ale/smtp-fp/tree/master
++ https://github.com/EFForg/starttls-everywhere
++ - deploy https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration#Configuration_server_at_ISP
++ https://git-ipuppet.immerda.ch/module-apache/commit/?id=058dbb366b96cae1f8fb0def65f73a698f1c375d
++ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577616
++ - support for [preventing SPAM connections with bird](http://www.debian-administration.org/article/715/Preventing_SPAM_connections_with_bird.).
--- /dev/null
- # -*- mode: ruby -*-
- # vi: set ft=ruby :
++# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
++VAGRANTFILE_API_VERSION = "2"
+
- Vagrant::Config.run do |config|
++Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
+ # Every Vagrant virtual environment requires a box to build off of.
- config.vm.box = "wheezy"
++ config.vm.box = "jessie"
++
++ # Hostname
++ config.vm.hostname = "puppet-bootstrap.example.org"
+
+ # Shell provisioner to setup basic environment.
+ config.vm.provision :shell, :inline => "/vagrant/puppet/bin/provision"
+
+ # Enable provisioning with Puppet stand alone.
+ config.vm.provision :puppet do |puppet|
+ puppet.manifest_file = "bootstrap/vagrant.pp"
+ puppet.manifests_path = "puppet/manifests"
+ puppet.module_path = "puppet/modules"
++ puppet.hiera_config_path = "puppet/hiera.yaml"
+ puppet.temp_dir = "/etc/puppet"
+ puppet.working_directory = "/etc/puppet"
+ end
+
- # Define a Host VM
- config.vm.define :host do |host_config|
- db_config.vm.box = "host"
- web_config.vm.network :hostonly, "192.168.50.101"
- end
-
- # Define a Puppetmaster VM
- config.vm.define :master do |master_config|
- master_config.vm.box = "master"
- master_config.vm.forward_port 8139, 8140
- web_config.vm.network :hostonly, "192.168.50.102"
- end
-
- # Define a Proxy VM
- config.vm.define :proxy do |proxy_config|
- proxy_config.vm.box = "proxy"
- proxy_config.vm.forward_port 8139, 8140
- web_config.vm.network :hostonly, "192.168.50.103"
- end
-
- # Define a Web VM
- config.vm.define :web do |web_config|
- web_config.vm.box = "web"
- web_config.vm.forward_port 80, 8080
- web_config.vm.network :hostonly, "192.168.50.104"
- end
-
- # Define a Storage VM
- config.vm.define :storage do |storage_config|
- storage_config.vm.box = "storage"
- storage_config.vm.network :hostonly, "192.168.50.105"
- end
-
- # Define a Test VM
- config.vm.define :test do |test_config|
- test_config.vm.box = "test"
- test_config.vm.network :hostonly, "192.168.50.106"
- end
-
+ # Share hiera configuration.
- config.vm.share_folder "hiera", "/etc/puppet/hiera", "puppet/hiera", create: true
++ config.vm.synced_folder "puppet/hiera", "/etc/puppet/hiera"
++
++ # Forwarded ports
++ #config.vm.network "forwarded_port", guest: 80, host: 8081
+end