├── .gitignore
├── LICENSE
├── README.md
├── Vagrantfile
├── data
├── AMS_hourly_airboxdata_total.csv
├── ECN_airbox_rapport.pdf
├── README.calibration
├── final_presentation_20161019.pdf
├── sensormeasures.csv.zip
└── urbanairq_no2_final.csv
├── doTestAll.sh
├── doTestSensors.sh
├── puphpet
├── config-aws.yaml
├── config.yaml
├── files
│ ├── EXEC-README.txt
│ ├── dot
│ │ ├── .bash_aliases
│ │ ├── .bash_git
│ │ ├── .bash_profile
│ │ ├── .bashrc
│ │ ├── .git-completion.bash
│ │ ├── .git-prompt.sh
│ │ ├── .vimrc
│ │ └── README.txt
│ ├── exec-always-unprivileged
│ │ ├── 010_installApp.sh
│ │ ├── 010_installCitySDKAmsSource.sh
│ │ ├── 010_installCitySDKServSource.sh
│ │ ├── 010_installMakingSensorSource.sh
│ │ ├── 020_setUpDB.sh
│ │ ├── 050_installConf.sh
│ │ ├── 100_installCitySDKDaemon.sh
│ │ ├── 120_installMQTTServer.sh
│ │ ├── 121_installMQTTAgent.sh
│ │ ├── 130_installNDWCronTab.sh
│ │ ├── 131_installRIVMCronTab.sh
│ │ └── empty
│ ├── exec-always
│ │ └── empty
│ ├── exec-once-unprivileged
│ │ └── empty
│ ├── exec-once
│ │ ├── empty
│ │ └── installMQTT.sh
│ ├── exec-preprovision
│ │ └── empty
│ ├── startup-always-unprivileged
│ │ └── empty
│ ├── startup-always
│ │ └── empty
│ ├── startup-once-unprivileged
│ │ └── empty
│ └── startup-once
│ │ └── empty
├── puppet
│ ├── Puppetfile
│ ├── Puppetfile.lock
│ ├── hiera.yaml
│ ├── manifests
│ │ ├── Apache.pp
│ │ ├── Beanstalkd.pp
│ │ ├── Blackfire.pp
│ │ ├── Cron.pp
│ │ ├── Drush.pp
│ │ ├── ElasticSearch.pp
│ │ ├── Firewall.pp
│ │ ├── Hhvm.pp
│ │ ├── Locale.pp
│ │ ├── MailHog.pp
│ │ ├── MariaDb.pp
│ │ ├── MongoDb.pp
│ │ ├── Mysql.pp
│ │ ├── Nginx.pp
│ │ ├── NodeJs.pp
│ │ ├── Php.pp
│ │ ├── Postgresql.pp
│ │ ├── Python.pp
│ │ ├── RabbitMQ.pp
│ │ ├── Redis.pp
│ │ ├── Ruby.pp
│ │ ├── Server.pp
│ │ ├── Solr.pp
│ │ ├── Sqlite.pp
│ │ ├── UsersGroups.pp
│ │ ├── WPCli.pp
│ │ ├── Xdebug.pp
│ │ ├── Xhprof.pp
│ │ └── site.pp
│ └── modules
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── apache
│ │ ├── .fixtures.yml
│ │ ├── .geppetto-rc.json
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .puppet-lint.rc
│ │ ├── .sync.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── README.passenger.md
│ │ ├── Rakefile
│ │ ├── examples
│ │ │ ├── apache.pp
│ │ │ ├── dev.pp
│ │ │ ├── init.pp
│ │ │ ├── mod_load_params.pp
│ │ │ ├── mods.pp
│ │ │ ├── mods_custom.pp
│ │ │ ├── php.pp
│ │ │ ├── vhost.pp
│ │ │ ├── vhost_directories.pp
│ │ │ ├── vhost_filter.pp
│ │ │ ├── vhost_ip_based.pp
│ │ │ ├── vhost_proxypass.pp
│ │ │ ├── vhost_ssl.pp
│ │ │ └── vhosts_without_listen.pp
│ │ ├── files
│ │ │ └── httpd
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ ├── bool2httpd.rb
│ │ │ │ │ └── validate_apache_log_level.rb
│ │ │ │ ├── provider
│ │ │ │ ├── a2mod.rb
│ │ │ │ └── a2mod
│ │ │ │ │ ├── a2mod.rb
│ │ │ │ │ ├── gentoo.rb
│ │ │ │ │ ├── modfix.rb
│ │ │ │ │ └── redhat.rb
│ │ │ │ └── type
│ │ │ │ └── a2mod.rb
│ │ ├── manifests
│ │ │ ├── balancer.pp
│ │ │ ├── balancermember.pp
│ │ │ ├── confd
│ │ │ │ └── no_accf.pp
│ │ │ ├── custom_config.pp
│ │ │ ├── default_confd_files.pp
│ │ │ ├── default_mods.pp
│ │ │ ├── default_mods
│ │ │ │ └── load.pp
│ │ │ ├── dev.pp
│ │ │ ├── fastcgi
│ │ │ │ └── server.pp
│ │ │ ├── init.pp
│ │ │ ├── listen.pp
│ │ │ ├── mod.pp
│ │ │ ├── mod
│ │ │ │ ├── actions.pp
│ │ │ │ ├── alias.pp
│ │ │ │ ├── auth_basic.pp
│ │ │ │ ├── auth_cas.pp
│ │ │ │ ├── auth_kerb.pp
│ │ │ │ ├── auth_mellon.pp
│ │ │ │ ├── authn_core.pp
│ │ │ │ ├── authn_file.pp
│ │ │ │ ├── authnz_ldap.pp
│ │ │ │ ├── authz_default.pp
│ │ │ │ ├── authz_user.pp
│ │ │ │ ├── autoindex.pp
│ │ │ │ ├── cache.pp
│ │ │ │ ├── cgi.pp
│ │ │ │ ├── cgid.pp
│ │ │ │ ├── dav.pp
│ │ │ │ ├── dav_fs.pp
│ │ │ │ ├── dav_svn.pp
│ │ │ │ ├── deflate.pp
│ │ │ │ ├── dev.pp
│ │ │ │ ├── dir.pp
│ │ │ │ ├── disk_cache.pp
│ │ │ │ ├── event.pp
│ │ │ │ ├── expires.pp
│ │ │ │ ├── ext_filter.pp
│ │ │ │ ├── fastcgi.pp
│ │ │ │ ├── fcgid.pp
│ │ │ │ ├── filter.pp
│ │ │ │ ├── geoip.pp
│ │ │ │ ├── headers.pp
│ │ │ │ ├── include.pp
│ │ │ │ ├── info.pp
│ │ │ │ ├── itk.pp
│ │ │ │ ├── ldap.pp
│ │ │ │ ├── mime.pp
│ │ │ │ ├── mime_magic.pp
│ │ │ │ ├── negotiation.pp
│ │ │ │ ├── nss.pp
│ │ │ │ ├── pagespeed.pp
│ │ │ │ ├── passenger.pp
│ │ │ │ ├── perl.pp
│ │ │ │ ├── peruser.pp
│ │ │ │ ├── php.pp
│ │ │ │ ├── prefork.pp
│ │ │ │ ├── proxy.pp
│ │ │ │ ├── proxy_ajp.pp
│ │ │ │ ├── proxy_balancer.pp
│ │ │ │ ├── proxy_connect.pp
│ │ │ │ ├── proxy_html.pp
│ │ │ │ ├── proxy_http.pp
│ │ │ │ ├── python.pp
│ │ │ │ ├── remoteip.pp
│ │ │ │ ├── reqtimeout.pp
│ │ │ │ ├── rewrite.pp
│ │ │ │ ├── rpaf.pp
│ │ │ │ ├── security.pp
│ │ │ │ ├── setenvif.pp
│ │ │ │ ├── shib.pp
│ │ │ │ ├── speling.pp
│ │ │ │ ├── ssl.pp
│ │ │ │ ├── status.pp
│ │ │ │ ├── suexec.pp
│ │ │ │ ├── suphp.pp
│ │ │ │ ├── userdir.pp
│ │ │ │ ├── version.pp
│ │ │ │ ├── vhost_alias.pp
│ │ │ │ ├── worker.pp
│ │ │ │ ├── wsgi.pp
│ │ │ │ └── xsendfile.pp
│ │ │ ├── mpm.pp
│ │ │ ├── namevirtualhost.pp
│ │ │ ├── package.pp
│ │ │ ├── params.pp
│ │ │ ├── peruser
│ │ │ │ ├── multiplexer.pp
│ │ │ │ └── processor.pp
│ │ │ ├── php.pp
│ │ │ ├── proxy.pp
│ │ │ ├── python.pp
│ │ │ ├── security
│ │ │ │ └── rule_link.pp
│ │ │ ├── service.pp
│ │ │ ├── ssl.pp
│ │ │ ├── version.pp
│ │ │ └── vhost.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── apache_parameters_spec.rb
│ │ │ │ ├── apache_ssl_spec.rb
│ │ │ │ ├── class_spec.rb
│ │ │ │ ├── custom_config_spec.rb
│ │ │ │ ├── default_mods_spec.rb
│ │ │ │ ├── itk_spec.rb
│ │ │ │ ├── mod_dav_svn_spec.rb
│ │ │ │ ├── mod_deflate_spec.rb
│ │ │ │ ├── mod_fcgid_spec.rb
│ │ │ │ ├── mod_mime_spec.rb
│ │ │ │ ├── mod_negotiation_spec.rb
│ │ │ │ ├── mod_pagespeed_spec.rb
│ │ │ │ ├── mod_passenger_spec.rb
│ │ │ │ ├── mod_php_spec.rb
│ │ │ │ ├── mod_proxy_html_spec.rb
│ │ │ │ ├── mod_security_spec.rb
│ │ │ │ ├── mod_suphp_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-70-x64.yml
│ │ │ │ │ ├── debian-607-x64.yml
│ │ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ │ ├── debian-73-i386.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ ├── ubuntu-server-1310-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ ├── prefork_worker_spec.rb
│ │ │ │ ├── service_spec.rb
│ │ │ │ ├── unsupported_spec.rb
│ │ │ │ ├── version.rb
│ │ │ │ └── vhost_spec.rb
│ │ │ ├── classes
│ │ │ │ ├── apache_spec.rb
│ │ │ │ ├── dev_spec.rb
│ │ │ │ ├── mod
│ │ │ │ │ ├── alias_spec.rb
│ │ │ │ │ ├── auth_cas_spec.rb
│ │ │ │ │ ├── auth_kerb_spec.rb
│ │ │ │ │ ├── auth_mellon_spec.rb
│ │ │ │ │ ├── authnz_ldap_spec.rb
│ │ │ │ │ ├── dav_svn_spec.rb
│ │ │ │ │ ├── deflate_spec.rb
│ │ │ │ │ ├── dev_spec.rb
│ │ │ │ │ ├── dir_spec.rb
│ │ │ │ │ ├── disk_cache.rb
│ │ │ │ │ ├── event_spec.rb
│ │ │ │ │ ├── expires_spec.rb
│ │ │ │ │ ├── ext_filter_spec.rb
│ │ │ │ │ ├── fastcgi_spec.rb
│ │ │ │ │ ├── fcgid_spec.rb
│ │ │ │ │ ├── info_spec.rb
│ │ │ │ │ ├── itk_spec.rb
│ │ │ │ │ ├── mime_magic_spec.rb
│ │ │ │ │ ├── mime_spec.rb
│ │ │ │ │ ├── negotiation_spec.rb
│ │ │ │ │ ├── pagespeed_spec.rb
│ │ │ │ │ ├── passenger_spec.rb
│ │ │ │ │ ├── perl_spec.rb
│ │ │ │ │ ├── peruser_spec.rb
│ │ │ │ │ ├── php_spec.rb
│ │ │ │ │ ├── prefork_spec.rb
│ │ │ │ │ ├── proxy_connect_spec.rb
│ │ │ │ │ ├── proxy_html_spec.rb
│ │ │ │ │ ├── python_spec.rb
│ │ │ │ │ ├── remoteip_spec.rb
│ │ │ │ │ ├── reqtimeout_spec.rb
│ │ │ │ │ ├── rpaf_spec.rb
│ │ │ │ │ ├── security_spec.rb
│ │ │ │ │ ├── shib_spec.rb
│ │ │ │ │ ├── speling_spec.rb
│ │ │ │ │ ├── ssl_spec.rb
│ │ │ │ │ ├── status_spec.rb
│ │ │ │ │ ├── suphp_spec.rb
│ │ │ │ │ ├── worker_spec.rb
│ │ │ │ │ └── wsgi_spec.rb
│ │ │ │ ├── params_spec.rb
│ │ │ │ └── service_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── balancermember_spec.rb
│ │ │ │ ├── custom_config_spec.rb
│ │ │ │ ├── fastcgi_server_spec.rb
│ │ │ │ ├── mod_spec.rb
│ │ │ │ ├── modsec_link_spec.rb
│ │ │ │ └── vhost_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ ├── provider
│ │ │ │ └── a2mod
│ │ │ │ │ └── gentoo_spec.rb
│ │ │ │ └── puppet
│ │ │ │ └── parser
│ │ │ │ └── functions
│ │ │ │ ├── bool2httpd_spec.rb
│ │ │ │ └── validate_apache_log_level.rb
│ │ └── templates
│ │ │ ├── confd
│ │ │ └── no-accf.conf.erb
│ │ │ ├── fastcgi
│ │ │ └── server.erb
│ │ │ ├── httpd.conf.erb
│ │ │ ├── listen.erb
│ │ │ ├── mod
│ │ │ ├── alias.conf.erb
│ │ │ ├── auth_cas.conf.erb
│ │ │ ├── auth_mellon.conf.erb
│ │ │ ├── authnz_ldap.conf.erb
│ │ │ ├── autoindex.conf.erb
│ │ │ ├── cgid.conf.erb
│ │ │ ├── dav_fs.conf.erb
│ │ │ ├── deflate.conf.erb
│ │ │ ├── dir.conf.erb
│ │ │ ├── disk_cache.conf.erb
│ │ │ ├── event.conf.erb
│ │ │ ├── expires.conf.erb
│ │ │ ├── ext_filter.conf.erb
│ │ │ ├── fastcgi.conf.erb
│ │ │ ├── geoip.conf.erb
│ │ │ ├── info.conf.erb
│ │ │ ├── itk.conf.erb
│ │ │ ├── ldap.conf.erb
│ │ │ ├── load.erb
│ │ │ ├── mime.conf.erb
│ │ │ ├── mime_magic.conf.erb
│ │ │ ├── mpm_event.conf.erb
│ │ │ ├── negotiation.conf.erb
│ │ │ ├── nss.conf.erb
│ │ │ ├── pagespeed.conf.erb
│ │ │ ├── passenger.conf.erb
│ │ │ ├── peruser.conf.erb
│ │ │ ├── php5.conf.erb
│ │ │ ├── prefork.conf.erb
│ │ │ ├── proxy.conf.erb
│ │ │ ├── proxy_html.conf.erb
│ │ │ ├── remoteip.conf.erb
│ │ │ ├── reqtimeout.conf.erb
│ │ │ ├── rpaf.conf.erb
│ │ │ ├── security.conf.erb
│ │ │ ├── security_crs.conf.erb
│ │ │ ├── setenvif.conf.erb
│ │ │ ├── ssl.conf.erb
│ │ │ ├── status.conf.erb
│ │ │ ├── suphp.conf.erb
│ │ │ ├── unixd_fcgid.conf.erb
│ │ │ ├── userdir.conf.erb
│ │ │ ├── worker.conf.erb
│ │ │ └── wsgi.conf.erb
│ │ │ ├── namevirtualhost.erb
│ │ │ ├── ports_header.erb
│ │ │ └── vhost
│ │ │ ├── _access_log.erb
│ │ │ ├── _action.erb
│ │ │ ├── _additional_includes.erb
│ │ │ ├── _aliases.erb
│ │ │ ├── _allow_encoded_slashes.erb
│ │ │ ├── _auth_kerb.erb
│ │ │ ├── _block.erb
│ │ │ ├── _charsets.erb
│ │ │ ├── _custom_fragment.erb
│ │ │ ├── _directories.erb
│ │ │ ├── _docroot.erb
│ │ │ ├── _error_document.erb
│ │ │ ├── _fallbackresource.erb
│ │ │ ├── _fastcgi.erb
│ │ │ ├── _file_footer.erb
│ │ │ ├── _file_header.erb
│ │ │ ├── _filters.erb
│ │ │ ├── _header.erb
│ │ │ ├── _itk.erb
│ │ │ ├── _limits.erb
│ │ │ ├── _logging.erb
│ │ │ ├── _passenger.erb
│ │ │ ├── _passenger_base_uris.erb
│ │ │ ├── _php.erb
│ │ │ ├── _php_admin.erb
│ │ │ ├── _proxy.erb
│ │ │ ├── _rack.erb
│ │ │ ├── _redirect.erb
│ │ │ ├── _requestheader.erb
│ │ │ ├── _rewrite.erb
│ │ │ ├── _scriptalias.erb
│ │ │ ├── _security.erb
│ │ │ ├── _serveralias.erb
│ │ │ ├── _serversignature.erb
│ │ │ ├── _setenv.erb
│ │ │ ├── _ssl.erb
│ │ │ ├── _suexec.erb
│ │ │ ├── _suphp.erb
│ │ │ └── _wsgi.erb
│ │ ├── apt
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .puppet-lint.rc
│ │ ├── .sync.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── examples
│ │ │ ├── backports.pp
│ │ │ ├── builddep.pp
│ │ │ ├── debian_testing.pp
│ │ │ ├── debian_unstable.pp
│ │ │ ├── disable_keys.pp
│ │ │ ├── fancy_progress.pp
│ │ │ ├── force.pp
│ │ │ ├── hold.pp
│ │ │ ├── key.pp
│ │ │ ├── pin.pp
│ │ │ ├── ppa.pp
│ │ │ ├── release.pp
│ │ │ ├── source.pp
│ │ │ └── unattended_upgrades.pp
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── apt_reboot_required.rb
│ │ │ │ ├── apt_update_last_success.rb
│ │ │ │ └── apt_updates.rb
│ │ │ ├── puppet
│ │ │ │ ├── provider
│ │ │ │ │ └── apt_key
│ │ │ │ │ │ └── apt_key.rb
│ │ │ │ └── type
│ │ │ │ │ └── apt_key.rb
│ │ │ └── puppet_x
│ │ │ │ └── apt_key
│ │ │ │ └── patch_openuri.rb
│ │ ├── manifests
│ │ │ ├── backports.pp
│ │ │ ├── conf.pp
│ │ │ ├── init.pp
│ │ │ ├── key.pp
│ │ │ ├── params.pp
│ │ │ ├── pin.pp
│ │ │ ├── ppa.pp
│ │ │ ├── setting.pp
│ │ │ ├── source.pp
│ │ │ └── update.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── apt_key_provider_spec.rb
│ │ │ │ ├── apt_spec.rb
│ │ │ │ ├── class_spec.rb
│ │ │ │ └── nodesets
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ ├── classes
│ │ │ │ ├── apt_backports_spec.rb
│ │ │ │ ├── apt_spec.rb
│ │ │ │ ├── apt_update_spec.rb
│ │ │ │ └── params_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── conf_spec.rb
│ │ │ │ ├── key_compat_spec.rb
│ │ │ │ ├── key_spec.rb
│ │ │ │ ├── pin_spec.rb
│ │ │ │ ├── ppa_spec.rb
│ │ │ │ ├── setting_spec.rb
│ │ │ │ ├── source_compat_spec.rb
│ │ │ │ └── source_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ ├── facter
│ │ │ │ ├── apt_has_updates_spec.rb
│ │ │ │ ├── apt_package_updates_spec.rb
│ │ │ │ ├── apt_reboot_required_spec.rb
│ │ │ │ ├── apt_security_updates_spec.rb
│ │ │ │ ├── apt_update_last_success_spec.rb
│ │ │ │ └── apt_updates_spec.rb
│ │ │ │ └── puppet
│ │ │ │ └── type
│ │ │ │ └── apt_key_spec.rb
│ │ └── templates
│ │ │ ├── 15update-stamp.erb
│ │ │ ├── _conf_header.erb
│ │ │ ├── _header.erb
│ │ │ ├── conf.erb
│ │ │ ├── pin.pref.erb
│ │ │ ├── proxy.erb
│ │ │ └── source.list.erb
│ │ ├── beanstalkd
│ │ ├── .travis.yml
│ │ ├── Gemfile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ └── init.pp
│ │ ├── run-tests.sh
│ │ ├── spec
│ │ │ ├── defines
│ │ │ │ └── config_spec.rb
│ │ │ ├── fixtures
│ │ │ │ ├── manifests
│ │ │ │ │ └── site.pp
│ │ │ │ └── modules
│ │ │ │ │ └── beanstalkd
│ │ │ │ │ ├── manifests
│ │ │ │ │ └── init.pp
│ │ │ │ │ └── templates
│ │ │ │ │ ├── debian
│ │ │ │ │ └── beanstalkd.erb
│ │ │ │ │ └── redhat
│ │ │ │ │ └── beanstalkd_sysconfig.erb
│ │ │ └── spec_helper.rb
│ │ └── templates
│ │ │ ├── debian
│ │ │ └── beanstalkd.erb
│ │ │ └── redhat
│ │ │ └── beanstalkd_sysconfig.erb
│ │ ├── blackfire
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .pmtignore
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── agent.pp
│ │ │ ├── agent
│ │ │ │ ├── config.pp
│ │ │ │ ├── install.pp
│ │ │ │ └── service.pp
│ │ │ ├── init.pp
│ │ │ ├── params.pp
│ │ │ ├── php.pp
│ │ │ ├── php
│ │ │ │ ├── config.pp
│ │ │ │ └── install.pp
│ │ │ └── repo.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── agent_spec.rb
│ │ │ │ └── nodesets
│ │ │ │ │ ├── centos-66-x64.yml
│ │ │ │ │ ├── centos-70-x64.yml
│ │ │ │ │ ├── debian-60-x64.yml
│ │ │ │ │ ├── debian-78-x64.yml
│ │ │ │ │ ├── debian-80-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── ubuntu-server-1004-x64.yml
│ │ │ │ │ ├── ubuntu-server-1204-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ ├── classes
│ │ │ │ └── init_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ └── spec_helper_acceptance.rb
│ │ └── tests
│ │ │ └── init.pp
│ │ ├── composer
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── Vagrantfile
│ │ ├── lib
│ │ │ └── facter
│ │ │ │ └── composer_home.rb
│ │ ├── manifests
│ │ │ ├── exec.pp
│ │ │ ├── init.pp
│ │ │ ├── params.pp
│ │ │ ├── project.pp
│ │ │ ├── project_factory.pp
│ │ │ └── selfupdate.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── composer_project_spec.rb
│ │ │ │ └── nodesets
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ ├── classes
│ │ │ │ ├── composer_params_spec.rb
│ │ │ │ └── composer_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── composer_exec_spec.rb
│ │ │ │ ├── composer_project_spec.rb
│ │ │ │ └── composer_selfupdate_spec.rb
│ │ │ ├── fixtures
│ │ │ │ ├── manifests
│ │ │ │ │ ├── site.pp
│ │ │ │ │ └── vagrant.pp
│ │ │ │ └── puppet
│ │ │ │ │ └── hiera.yaml
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ └── spec_helper_acceptance.rb
│ │ ├── templates
│ │ │ ├── install.erb
│ │ │ ├── require.erb
│ │ │ └── update.erb
│ │ └── tests
│ │ │ ├── init.pp
│ │ │ └── project.pp
│ │ ├── concat
│ │ ├── .fixtures.yml
│ │ ├── .gitattributes
│ │ ├── .gitignore
│ │ ├── .sync.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── files
│ │ │ ├── concatfragments.rb
│ │ │ └── concatfragments.sh
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ └── concat_basedir.rb
│ │ │ └── puppet
│ │ │ │ └── parser
│ │ │ │ └── functions
│ │ │ │ ├── concat_getparam.rb
│ │ │ │ └── concat_is_bool.rb
│ │ ├── manifests
│ │ │ ├── fragment.pp
│ │ │ ├── init.pp
│ │ │ └── setup.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── backup_spec.rb
│ │ │ │ ├── concat_spec.rb
│ │ │ │ ├── deprecation_warnings_spec.rb
│ │ │ │ ├── empty_spec.rb
│ │ │ │ ├── fragment_source_spec.rb
│ │ │ │ ├── fragments_are_always_replaced_spec.rb
│ │ │ │ ├── newline_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── aix-71-vcloud.yml
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── debian-607-x64.yml
│ │ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ │ ├── sles-11-x64.yml
│ │ │ │ │ ├── sles-11sp1-x64.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ ├── order_spec.rb
│ │ │ │ ├── quoted_paths_spec.rb
│ │ │ │ ├── replace_spec.rb
│ │ │ │ ├── symbolic_name_spec.rb
│ │ │ │ └── warn_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ ├── classes
│ │ │ │ └── concat_setup_spec.rb
│ │ │ │ ├── defines
│ │ │ │ ├── concat_fragment_spec.rb
│ │ │ │ └── concat_spec.rb
│ │ │ │ └── facts
│ │ │ │ └── concat_basedir_spec.rb
│ │ └── tests
│ │ │ ├── fragment.pp
│ │ │ └── init.pp
│ │ ├── datacat
│ │ ├── Changes
│ │ ├── Gemfile
│ │ ├── NOTES.md
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── TODO.md
│ │ ├── checksums.json
│ │ ├── lib
│ │ │ ├── puppet
│ │ │ │ ├── parser
│ │ │ │ │ └── functions
│ │ │ │ │ │ └── template_body.rb
│ │ │ │ ├── provider
│ │ │ │ │ ├── datacat_collector
│ │ │ │ │ │ └── datacat_collector.rb
│ │ │ │ │ └── datacat_fragment
│ │ │ │ │ │ └── datacat_fragment.rb
│ │ │ │ └── type
│ │ │ │ │ ├── datacat_collector.rb
│ │ │ │ │ └── datacat_fragment.rb
│ │ │ └── puppet_x
│ │ │ │ └── richardc
│ │ │ │ └── datacat.rb
│ │ ├── manifests
│ │ │ └── init.pp
│ │ ├── metadata.json
│ │ └── spec
│ │ │ ├── classes
│ │ │ └── demo1_spec.rb
│ │ │ ├── defines
│ │ │ └── datacat_spec.rb
│ │ │ ├── fixtures
│ │ │ └── modules
│ │ │ │ ├── demo1
│ │ │ │ ├── manifests
│ │ │ │ │ └── init.pp
│ │ │ │ └── templates
│ │ │ │ │ └── sheeps.erb
│ │ │ │ ├── demo2
│ │ │ │ ├── manifests
│ │ │ │ │ └── init.pp
│ │ │ │ └── templates
│ │ │ │ │ └── merging.erb
│ │ │ │ ├── demo3
│ │ │ │ ├── manifests
│ │ │ │ │ └── init.pp
│ │ │ │ └── templates
│ │ │ │ │ └── hostgroups.cfg.erb
│ │ │ │ ├── issue1
│ │ │ │ ├── manifests
│ │ │ │ │ └── init.pp
│ │ │ │ └── templates
│ │ │ │ │ └── refers_to_scope.erb
│ │ │ │ └── template_body
│ │ │ │ └── templates
│ │ │ │ └── test1.erb
│ │ │ ├── functions
│ │ │ └── template_body_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_system.rb
│ │ │ ├── system
│ │ │ └── basic_spec.rb
│ │ │ └── unit
│ │ │ └── type
│ │ │ └── datacat_collector_spec.rb
│ │ ├── elasticsearch
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .pmtignore
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── CONTRIBUTORS
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ └── es_facts.rb
│ │ │ └── puppet
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ ├── array_suffix.rb
│ │ │ │ │ └── plugin_dir.rb
│ │ │ │ ├── provider
│ │ │ │ ├── elasticsearch_plugin
│ │ │ │ │ └── plugin.rb
│ │ │ │ └── es_instance_conn_validator
│ │ │ │ │ └── tcp_port.rb
│ │ │ │ ├── type
│ │ │ │ ├── elasticsearch_plugin.rb
│ │ │ │ └── es_instance_conn_validator.rb
│ │ │ │ └── util
│ │ │ │ └── es_instance_validator.rb
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── init.pp
│ │ │ ├── instance.pp
│ │ │ ├── package.pp
│ │ │ ├── params.pp
│ │ │ ├── plugin.pp
│ │ │ ├── python.pp
│ │ │ ├── repo.pp
│ │ │ ├── ruby.pp
│ │ │ ├── script.pp
│ │ │ ├── service.pp
│ │ │ ├── service
│ │ │ │ ├── init.pp
│ │ │ │ └── systemd.pp
│ │ │ └── template.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── 001_basic_spec.rb
│ │ │ │ ├── 002_class_spec.rb
│ │ │ │ ├── 003_template_spec.rb
│ │ │ │ ├── 004_plugin_spec.rb
│ │ │ │ ├── 009_datapath_spec.rb
│ │ │ │ ├── 010_pkg_url_spec.rb
│ │ │ │ ├── 011_service_spec.rb
│ │ │ │ ├── 012_instances_spec.rb
│ │ │ │ ├── 013_config_spec.rb
│ │ │ │ ├── 014_hiera_spec.rb
│ │ │ │ ├── 015_staged_removal.rb
│ │ │ │ ├── 016_package_pin_spec.rb
│ │ │ │ ├── 017_restart_on_change_spec.rb
│ │ │ │ ├── 020_usergroup_spec.rb
│ │ │ │ ├── 021_es2x_spec.rb
│ │ │ │ ├── integration001.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-6-x64.yml
│ │ │ │ │ ├── centos-7-x64.yml
│ │ │ │ │ ├── debian-6-x64.yml
│ │ │ │ │ ├── debian-7-x64.yml
│ │ │ │ │ ├── debian-8-x64.yml
│ │ │ │ │ ├── opensuse-121-x64.yml
│ │ │ │ │ ├── opensuse-131-x64.yml
│ │ │ │ │ ├── sles-11sp3-x64.yml
│ │ │ │ │ ├── ubuntu-server-1204-x64.yml
│ │ │ │ │ ├── ubuntu-server-1210-x64.yml
│ │ │ │ │ ├── ubuntu-server-1304-x64.yml
│ │ │ │ │ ├── ubuntu-server-1310-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ └── xplugins001.rb
│ │ │ ├── classes
│ │ │ │ ├── 000_elasticsearch_init_spec.rb
│ │ │ │ ├── 001_hiera_spec.rb
│ │ │ │ ├── 005_elasticsearch_repo_spec.rb
│ │ │ │ ├── 010_elasticsearch_init_unkown_spec.rb
│ │ │ │ └── 099_coverage_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── 001_elasticsearch_python_spec.rb
│ │ │ │ ├── 002_elasticsearch_ruby_spec.rb
│ │ │ │ ├── 003_elasticsearch_template_spec.rb
│ │ │ │ ├── 004_elasticsearch_plugin_spec.rb
│ │ │ │ ├── 005_elasticsearch_instance_spec.rb
│ │ │ │ ├── 006_elasticsearch_script_spec.rb
│ │ │ │ ├── 010_elasticsearch_service_init_spec.rb
│ │ │ │ └── 011_elasticsearch_service_system_spec.rb
│ │ │ ├── fixtures
│ │ │ │ ├── facts
│ │ │ │ │ ├── facts_url1.json
│ │ │ │ │ └── facts_url2.json
│ │ │ │ └── hiera
│ │ │ │ │ ├── hiera.yaml
│ │ │ │ │ └── hieradata
│ │ │ │ │ ├── envs
│ │ │ │ │ └── defaultinstance.yaml
│ │ │ │ │ ├── multipleinstances.yaml
│ │ │ │ │ ├── singleinstance.yaml
│ │ │ │ │ └── singleplugin.yaml
│ │ │ ├── functions
│ │ │ │ ├── es_facts_spec.rb
│ │ │ │ └── plugin_dir_spec.rb
│ │ │ ├── spec_acceptance_common.rb
│ │ │ ├── spec_acceptance_integration.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ ├── provider
│ │ │ │ └── plugin_spec.rb
│ │ │ │ └── type
│ │ │ │ └── plugin_spec.rb
│ │ └── templates
│ │ │ ├── etc
│ │ │ ├── elasticsearch
│ │ │ │ ├── elasticsearch.yml.erb
│ │ │ │ └── logging.yml.erb
│ │ │ ├── init.d
│ │ │ │ ├── elasticsearch.Debian.erb
│ │ │ │ ├── elasticsearch.RedHat.erb
│ │ │ │ └── elasticsearch.systemd.erb
│ │ │ └── sysconfig
│ │ │ │ └── defaults.erb
│ │ │ └── usr
│ │ │ └── lib
│ │ │ └── tmpfiles.d
│ │ │ └── elasticsearch.conf.erb
│ │ ├── epel
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── files
│ │ │ ├── RPM-GPG-KEY-EPEL-5
│ │ │ ├── RPM-GPG-KEY-EPEL-6
│ │ │ └── RPM-GPG-KEY-EPEL-7
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── params.pp
│ │ │ └── rpm_gpg_key.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ ├── epel_spec.rb
│ │ │ │ ├── shared_base.rb
│ │ │ │ ├── shared_debuginfo.rb
│ │ │ │ ├── shared_gpgkey.rb
│ │ │ │ ├── shared_source.rb
│ │ │ │ ├── shared_testing.rb
│ │ │ │ ├── shared_testing_debuginfo.rb
│ │ │ │ └── shared_testing_source.rb
│ │ │ ├── defines
│ │ │ │ └── rpm_gpg_key_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_system.rb
│ │ │ └── system
│ │ │ │ ├── basic_spec.rb
│ │ │ │ └── usage_spec.rb
│ │ └── tests
│ │ │ └── init.pp
│ │ ├── erlang
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .rspec
│ │ ├── .travis.yml
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── params.pp
│ │ │ └── repo
│ │ │ │ ├── apt.pp
│ │ │ │ └── yum.pp
│ │ ├── metadata.json
│ │ └── spec
│ │ │ ├── classes
│ │ │ └── erlang_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_system.rb
│ │ │ └── system
│ │ │ └── erlang_spec.rb
│ │ ├── firewall
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── ip6tables_version.rb
│ │ │ │ ├── iptables_persistent_version.rb
│ │ │ │ └── iptables_version.rb
│ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ ├── firewall.rb
│ │ │ │ ├── firewall
│ │ │ │ │ ├── ip6tables.rb
│ │ │ │ │ └── iptables.rb
│ │ │ │ └── firewallchain
│ │ │ │ │ └── iptables_chain.rb
│ │ │ │ ├── type
│ │ │ │ ├── firewall.rb
│ │ │ │ └── firewallchain.rb
│ │ │ │ └── util
│ │ │ │ ├── firewall.rb
│ │ │ │ └── ipcidr.rb
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── linux.pp
│ │ │ └── linux
│ │ │ │ ├── archlinux.pp
│ │ │ │ ├── debian.pp
│ │ │ │ └── redhat.pp
│ │ ├── metadata.json
│ │ └── spec
│ │ │ ├── acceptance
│ │ │ ├── change_source_spec.rb
│ │ │ ├── class_spec.rb
│ │ │ ├── connlimit_spec.rb
│ │ │ ├── connmark_spec.rb
│ │ │ ├── firewall_spec.rb
│ │ │ ├── firewallchain_spec.rb
│ │ │ ├── ip6_fragment_spec.rb
│ │ │ ├── isfragment_spec.rb
│ │ │ ├── nodesets
│ │ │ │ ├── centos-59-x64-pe.yml
│ │ │ │ ├── centos-59-x64.yml
│ │ │ │ ├── centos-64-x64-fusion.yml
│ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ ├── centos-64-x64.yml
│ │ │ │ ├── debian-607-x64.yml
│ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ ├── default.yml
│ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ ├── sles-11sp1-x64.yml
│ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ ├── params_spec.rb
│ │ │ ├── purge_spec.rb
│ │ │ ├── resource_cmd_spec.rb
│ │ │ ├── rules_spec.rb
│ │ │ ├── socket_spec.rb
│ │ │ └── standard_usage_spec.rb
│ │ │ ├── fixtures
│ │ │ ├── ip6tables
│ │ │ │ └── conversion_hash.rb
│ │ │ └── iptables
│ │ │ │ └── conversion_hash.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ ├── classes
│ │ │ ├── firewall_linux_archlinux_spec.rb
│ │ │ ├── firewall_linux_debian_spec.rb
│ │ │ ├── firewall_linux_redhat_spec.rb
│ │ │ ├── firewall_linux_spec.rb
│ │ │ └── firewall_spec.rb
│ │ │ ├── facter
│ │ │ ├── iptables_persistent_version_spec.rb
│ │ │ └── iptables_spec.rb
│ │ │ └── puppet
│ │ │ ├── provider
│ │ │ ├── iptables_chain_spec.rb
│ │ │ └── iptables_spec.rb
│ │ │ ├── type
│ │ │ ├── firewall_spec.rb
│ │ │ └── firewallchain_spec.rb
│ │ │ └── util
│ │ │ ├── firewall_spec.rb
│ │ │ └── ipcidr_spec.rb
│ │ ├── git
│ │ ├── .fixtures.yml
│ │ ├── CHANGELOG
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── files
│ │ │ └── subtree
│ │ │ │ └── bash_completion.sh
│ │ ├── lib
│ │ │ └── facter
│ │ │ │ ├── git_exec_path.rb
│ │ │ │ └── git_version.rb
│ │ ├── manifests
│ │ │ ├── gitosis.pp
│ │ │ ├── init.pp
│ │ │ └── subtree.pp
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── git_subtree_spec.rb
│ │ │ └── spec_helper.rb
│ │ └── tests
│ │ │ ├── gitosis.pp
│ │ │ └── init.pp
│ │ ├── gnupg
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── files
│ │ │ ├── broken.public.key
│ │ │ ├── random.key
│ │ │ ├── random.private.key
│ │ │ └── random.public.key
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── gnupg_command.rb
│ │ │ │ └── gnupg_installed.rb
│ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ └── gnupg_key
│ │ │ │ │ └── gnupg.rb
│ │ │ │ └── type
│ │ │ │ └── gnupg_key.rb
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ ├── install.pp
│ │ │ └── params.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── class_spec.rb
│ │ │ │ ├── gnupg_key_install_spec.rb
│ │ │ │ └── nodesets
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── debian-607-x64.yml
│ │ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ │ ├── debian-73-i386.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ ├── ubuntu-server-1310-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ ├── classes
│ │ │ │ └── gnupg_init_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ ├── spec_helper_system.rb
│ │ │ ├── system
│ │ │ │ ├── gnupg_key_install_spec.rb
│ │ │ │ └── install_spec.rb
│ │ │ └── unit
│ │ │ │ └── puppet
│ │ │ │ └── type
│ │ │ │ └── gnupg_key_spec.rb
│ │ └── tests
│ │ │ ├── gnupg_key.pp
│ │ │ └── init.pp
│ │ ├── inifile
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .sync.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ ├── ini_setting
│ │ │ │ │ └── ruby.rb
│ │ │ │ └── ini_subsetting
│ │ │ │ │ └── ruby.rb
│ │ │ │ ├── type
│ │ │ │ ├── ini_setting.rb
│ │ │ │ └── ini_subsetting.rb
│ │ │ │ └── util
│ │ │ │ ├── external_iterator.rb
│ │ │ │ ├── ini_file.rb
│ │ │ │ ├── ini_file
│ │ │ │ └── section.rb
│ │ │ │ └── setting_value.rb
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── ini_setting_spec.rb
│ │ │ │ ├── ini_subsetting_spec.rb
│ │ │ │ └── nodesets
│ │ │ │ │ ├── centos-510-x64.yml
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── debian-607-x64.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ │ ├── sles-11sp1-x64.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ ├── ubuntu-server-1404-x64.yml
│ │ │ │ │ ├── windows-2003-i386.yml
│ │ │ │ │ ├── windows-2003r2-x86_64.yml
│ │ │ │ │ ├── windows-2008-x86_64.yml
│ │ │ │ │ ├── windows-2008r2-x86_64.yml
│ │ │ │ │ ├── windows-2012-x86_64.yml
│ │ │ │ │ └── windows-2012r2-x86_64.yml
│ │ │ ├── classes
│ │ │ │ └── inherit_test1_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ ├── ini_setting
│ │ │ │ │ ├── inheritance_spec.rb
│ │ │ │ │ └── ruby_spec.rb
│ │ │ │ └── ini_subsetting
│ │ │ │ │ └── ruby_spec.rb
│ │ │ │ └── util
│ │ │ │ ├── external_iterator_spec.rb
│ │ │ │ ├── ini_file_spec.rb
│ │ │ │ └── setting_value_spec.rb
│ │ └── tests
│ │ │ ├── ini_setting.pp
│ │ │ └── ini_subsetting.pp
│ │ ├── java
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── lib
│ │ │ └── facter
│ │ │ │ ├── java_major_version.rb
│ │ │ │ ├── java_patch_level.rb
│ │ │ │ └── java_version.rb
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── init.pp
│ │ │ └── params.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── install_spec.rb
│ │ │ │ └── nodesets
│ │ │ │ │ ├── centos-5-vcloud.yml
│ │ │ │ │ ├── centos-59-x64-pe.yml
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-6-vcloud.yml
│ │ │ │ │ ├── centos-64-x64-fusion.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── centos-7-vcloud.yml
│ │ │ │ │ ├── debian-6-vcloud.yml
│ │ │ │ │ ├── debian-607-x64.yml
│ │ │ │ │ ├── debian-7-vcloud.yml
│ │ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ │ ├── redhat-7-vcloud.yml
│ │ │ │ │ ├── sles-11-vcloud.yml
│ │ │ │ │ ├── sles-11sp1-x64.yml
│ │ │ │ │ ├── solaris-11-vcloud.yml
│ │ │ │ │ ├── ubuntu-1004-vcloud.yml
│ │ │ │ │ ├── ubuntu-1404-vcloud.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ ├── classes
│ │ │ │ └── java_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ └── facter
│ │ │ │ ├── java_major_version_spec.rb
│ │ │ │ ├── java_patch_level_spec.rb
│ │ │ │ └── java_version_spec.rb
│ │ └── tests
│ │ │ ├── alternative.pp
│ │ │ └── init.pp
│ │ ├── locales
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ └── params.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── spec.opts
│ │ │ └── spec_helper.rb
│ │ ├── templates
│ │ │ ├── locale.erb
│ │ │ └── locale.gen.erb
│ │ └── tests
│ │ │ └── init.pp
│ │ ├── mongodb
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .sync.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ └── mongodb_password.rb
│ │ │ │ ├── provider
│ │ │ │ ├── mongodb.rb
│ │ │ │ ├── mongodb_conn_validator
│ │ │ │ │ └── tcp_port.rb
│ │ │ │ ├── mongodb_database
│ │ │ │ │ └── mongodb.rb
│ │ │ │ ├── mongodb_replset
│ │ │ │ │ └── mongo.rb
│ │ │ │ ├── mongodb_shard
│ │ │ │ │ └── mongo.rb
│ │ │ │ └── mongodb_user
│ │ │ │ │ └── mongodb.rb
│ │ │ │ ├── type
│ │ │ │ ├── mongodb_conn_validator.rb
│ │ │ │ ├── mongodb_database.rb
│ │ │ │ ├── mongodb_replset.rb
│ │ │ │ ├── mongodb_shard.rb
│ │ │ │ └── mongodb_user.rb
│ │ │ │ └── util
│ │ │ │ └── mongodb_validator.rb
│ │ ├── manifests
│ │ │ ├── client.pp
│ │ │ ├── client
│ │ │ │ └── install.pp
│ │ │ ├── db.pp
│ │ │ ├── globals.pp
│ │ │ ├── init.pp
│ │ │ ├── mongos.pp
│ │ │ ├── mongos
│ │ │ │ ├── config.pp
│ │ │ │ ├── install.pp
│ │ │ │ └── service.pp
│ │ │ ├── params.pp
│ │ │ ├── replset.pp
│ │ │ ├── repo.pp
│ │ │ ├── repo
│ │ │ │ ├── apt.pp
│ │ │ │ └── yum.pp
│ │ │ ├── server.pp
│ │ │ ├── server
│ │ │ │ ├── config.pp
│ │ │ │ ├── install.pp
│ │ │ │ └── service.pp
│ │ │ └── shardsvr.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── database_spec.rb
│ │ │ │ ├── mongos_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-6-vcloud.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── centos-7-vcloud.yml
│ │ │ │ │ ├── centos-7-x64.yml
│ │ │ │ │ ├── debian-607-x64.yml
│ │ │ │ │ ├── debian-70rc1-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ │ ├── multi-centos-6-vcloud.yml
│ │ │ │ │ ├── multi-centos-64-x64.yml
│ │ │ │ │ ├── multi-centos-7-vcloud.yml
│ │ │ │ │ ├── multi-centos-7-x64.yml
│ │ │ │ │ ├── sles-11-x64.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ ├── replset_spec.rb
│ │ │ │ ├── server_spec.rb
│ │ │ │ ├── sharding_spec.rb
│ │ │ │ └── user_spec.rb
│ │ │ ├── classes
│ │ │ │ ├── client_install_spec.rb
│ │ │ │ ├── mongos_config_spec.rb
│ │ │ │ ├── mongos_install_spec.rb
│ │ │ │ ├── mongos_service_spec.rb
│ │ │ │ ├── mongos_spec.rb
│ │ │ │ ├── repo_spec.rb
│ │ │ │ ├── server_config_spec.rb
│ │ │ │ ├── server_install_spec.rb
│ │ │ │ └── server_spec.rb
│ │ │ ├── defines
│ │ │ │ └── db_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ ├── spec_helper_system.rb
│ │ │ └── unit
│ │ │ │ ├── mongodb_password_spec.rb
│ │ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ ├── mongodb_database
│ │ │ │ │ └── mongodb_spec.rb
│ │ │ │ ├── mongodb_replset
│ │ │ │ │ └── mongodb_spec.rb
│ │ │ │ ├── mongodb_shard
│ │ │ │ │ └── mongodb_spec.rb
│ │ │ │ └── mongodb_user
│ │ │ │ │ └── mongodb_spec.rb
│ │ │ │ └── type
│ │ │ │ ├── mongodb_database_spec.rb
│ │ │ │ ├── mongodb_replset_spec.rb
│ │ │ │ ├── mongodb_shard_spec.rb
│ │ │ │ └── mongodb_user_spec.rb
│ │ ├── templates
│ │ │ ├── mongodb-shard.conf.erb
│ │ │ ├── mongodb.conf.2.6.erb
│ │ │ ├── mongodb.conf.erb
│ │ │ ├── mongorc.js.erb
│ │ │ └── mongos
│ │ │ │ ├── Debian
│ │ │ │ └── mongos.erb
│ │ │ │ └── RedHat
│ │ │ │ └── mongos.erb
│ │ └── tests
│ │ │ ├── client.pp
│ │ │ ├── globals.pp
│ │ │ ├── init.pp
│ │ │ ├── replicaset.pp
│ │ │ ├── server.pp
│ │ │ └── sharding.pp
│ │ ├── monitor
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── manifests
│ │ │ ├── mount.pp
│ │ │ ├── plugin.pp
│ │ │ ├── port.pp
│ │ │ ├── process.pp
│ │ │ └── url.pp
│ │ └── metadata.json
│ │ ├── mysql
│ │ ├── .fixtures.yml
│ │ ├── .geppetto-rc.json
│ │ ├── .gitattributes
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .rspec
│ │ ├── .sync.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── NOTICE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── TODO
│ │ ├── examples
│ │ │ ├── backup.pp
│ │ │ ├── bindings.pp
│ │ │ ├── java.pp
│ │ │ ├── mysql_database.pp
│ │ │ ├── mysql_db.pp
│ │ │ ├── mysql_grant.pp
│ │ │ ├── mysql_plugin.pp
│ │ │ ├── mysql_user.pp
│ │ │ ├── perl.pp
│ │ │ ├── python.pp
│ │ │ ├── ruby.pp
│ │ │ ├── server.pp
│ │ │ └── server
│ │ │ │ ├── account_security.pp
│ │ │ │ └── config.pp
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── mysql_server_id.rb
│ │ │ │ └── mysql_version.rb
│ │ │ └── puppet
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ ├── mysql_deepmerge.rb
│ │ │ │ │ ├── mysql_dirname.rb
│ │ │ │ │ ├── mysql_password.rb
│ │ │ │ │ ├── mysql_strip_hash.rb
│ │ │ │ │ └── mysql_table_exists.rb
│ │ │ │ ├── provider
│ │ │ │ ├── mysql.rb
│ │ │ │ ├── mysql_database
│ │ │ │ │ └── mysql.rb
│ │ │ │ ├── mysql_datadir
│ │ │ │ │ └── mysql.rb
│ │ │ │ ├── mysql_grant
│ │ │ │ │ └── mysql.rb
│ │ │ │ ├── mysql_plugin
│ │ │ │ │ └── mysql.rb
│ │ │ │ └── mysql_user
│ │ │ │ │ └── mysql.rb
│ │ │ │ └── type
│ │ │ │ ├── mysql_database.rb
│ │ │ │ ├── mysql_datadir.rb
│ │ │ │ ├── mysql_grant.rb
│ │ │ │ ├── mysql_plugin.rb
│ │ │ │ └── mysql_user.rb
│ │ ├── manifests
│ │ │ ├── backup
│ │ │ │ ├── mysqlbackup.pp
│ │ │ │ ├── mysqldump.pp
│ │ │ │ └── xtrabackup.pp
│ │ │ ├── bindings.pp
│ │ │ ├── bindings
│ │ │ │ ├── client_dev.pp
│ │ │ │ ├── daemon_dev.pp
│ │ │ │ ├── java.pp
│ │ │ │ ├── perl.pp
│ │ │ │ ├── php.pp
│ │ │ │ ├── python.pp
│ │ │ │ └── ruby.pp
│ │ │ ├── client.pp
│ │ │ ├── client
│ │ │ │ └── install.pp
│ │ │ ├── db.pp
│ │ │ ├── params.pp
│ │ │ ├── server.pp
│ │ │ └── server
│ │ │ │ ├── account_security.pp
│ │ │ │ ├── backup.pp
│ │ │ │ ├── config.pp
│ │ │ │ ├── install.pp
│ │ │ │ ├── installdb.pp
│ │ │ │ ├── monitor.pp
│ │ │ │ ├── mysqltuner.pp
│ │ │ │ ├── providers.pp
│ │ │ │ ├── root_password.pp
│ │ │ │ └── service.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── mysql_backup_spec.rb
│ │ │ │ ├── mysql_db_spec.rb
│ │ │ │ ├── mysql_server_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-510-x64.yml
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ │ ├── sles-11-x64.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ └── types
│ │ │ │ │ ├── mysql_database_spec.rb
│ │ │ │ │ ├── mysql_grant_spec.rb
│ │ │ │ │ ├── mysql_plugin_spec.rb
│ │ │ │ │ └── mysql_user_spec.rb
│ │ │ ├── classes
│ │ │ │ ├── graceful_failures_spec.rb
│ │ │ │ ├── mycnf_template_spec.rb
│ │ │ │ ├── mysql_bindings_spec.rb
│ │ │ │ ├── mysql_client_spec.rb
│ │ │ │ ├── mysql_server_account_security_spec.rb
│ │ │ │ ├── mysql_server_backup_spec.rb
│ │ │ │ ├── mysql_server_monitor_spec.rb
│ │ │ │ ├── mysql_server_mysqltuner_spec.rb
│ │ │ │ └── mysql_server_spec.rb
│ │ │ ├── defines
│ │ │ │ └── mysql_db_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ ├── spec_helper_local.rb
│ │ │ └── unit
│ │ │ │ ├── facter
│ │ │ │ ├── mysql_server_id_spec.rb
│ │ │ │ └── mysql_version_spec.rb
│ │ │ │ └── puppet
│ │ │ │ ├── functions
│ │ │ │ ├── mysql_deepmerge_spec.rb
│ │ │ │ ├── mysql_password_spec.rb
│ │ │ │ └── mysql_table_exists_spec.rb
│ │ │ │ ├── provider
│ │ │ │ ├── mysql_database
│ │ │ │ │ └── mysql_spec.rb
│ │ │ │ ├── mysql_plugin
│ │ │ │ │ └── mysql_spec.rb
│ │ │ │ └── mysql_user
│ │ │ │ │ └── mysql_spec.rb
│ │ │ │ └── type
│ │ │ │ ├── mysql_database_spec.rb
│ │ │ │ ├── mysql_grant_spec.rb
│ │ │ │ ├── mysql_plugin_spec.rb
│ │ │ │ └── mysql_user_spec.rb
│ │ └── templates
│ │ │ ├── meb.cnf.erb
│ │ │ ├── my.cnf.erb
│ │ │ ├── my.cnf.pass.erb
│ │ │ ├── mysqlbackup.sh.erb
│ │ │ └── xtrabackup.sh.erb
│ │ ├── nginx
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .travis.yml
│ │ ├── .travis
│ │ │ ├── Gemfile
│ │ │ └── Rakefile
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── composer.json
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── init.pp
│ │ │ ├── package.pp
│ │ │ ├── package
│ │ │ │ ├── archlinux.pp
│ │ │ │ ├── debian.pp
│ │ │ │ ├── freebsd.pp
│ │ │ │ ├── redhat.pp
│ │ │ │ ├── solaris.pp
│ │ │ │ └── suse.pp
│ │ │ ├── params.pp
│ │ │ ├── resource
│ │ │ │ ├── geo.pp
│ │ │ │ ├── location.pp
│ │ │ │ ├── mailhost.pp
│ │ │ │ ├── map.pp
│ │ │ │ ├── upstream.pp
│ │ │ │ ├── upstream
│ │ │ │ │ └── member.pp
│ │ │ │ └── vhost.pp
│ │ │ └── service.pp
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ ├── config_spec.rb
│ │ │ │ ├── nginx_spec.rb
│ │ │ │ ├── package_spec.rb
│ │ │ │ ├── params_spec.rb
│ │ │ │ └── service_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── resource_geo_spec.rb
│ │ │ │ ├── resource_location_spec.rb
│ │ │ │ ├── resource_mailhost_spec.rb
│ │ │ │ ├── resource_map_spec.rb
│ │ │ │ ├── resource_upstream_spec.rb
│ │ │ │ └── resource_vhost_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_system.rb
│ │ │ └── system
│ │ │ │ ├── basic_spec.rb
│ │ │ │ ├── class_spec.rb
│ │ │ │ ├── nginx_mail_spec.rb
│ │ │ │ ├── nginx_proxy_spec.rb
│ │ │ │ └── nginx_vhost_spec.rb
│ │ ├── templates
│ │ │ ├── conf.d
│ │ │ │ ├── geo.erb
│ │ │ │ ├── map.erb
│ │ │ │ ├── nginx.conf.erb
│ │ │ │ ├── proxy.conf.erb
│ │ │ │ ├── upstream_header.erb
│ │ │ │ ├── upstream_member.erb
│ │ │ │ └── upstream_members.erb
│ │ │ ├── mailhost
│ │ │ │ ├── mailhost.erb
│ │ │ │ └── mailhost_ssl.erb
│ │ │ └── vhost
│ │ │ │ ├── fastcgi_params.erb
│ │ │ │ ├── location_footer.erb
│ │ │ │ ├── location_header.erb
│ │ │ │ ├── locations
│ │ │ │ ├── alias.erb
│ │ │ │ ├── directory.erb
│ │ │ │ ├── empty.erb
│ │ │ │ ├── fastcgi.erb
│ │ │ │ ├── proxy.erb
│ │ │ │ ├── set.erb
│ │ │ │ └── stub_status.erb
│ │ │ │ ├── vhost_footer.erb
│ │ │ │ ├── vhost_header.erb
│ │ │ │ ├── vhost_ssl_footer.erb
│ │ │ │ └── vhost_ssl_header.erb
│ │ └── tests
│ │ │ ├── init.pp
│ │ │ ├── location_alias.pp
│ │ │ ├── upstream.pp
│ │ │ ├── vhost.pp
│ │ │ └── vhost_ssl.pp
│ │ ├── ntp
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .sync.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ └── parser
│ │ │ │ └── functions
│ │ │ │ └── ntp_dirname.rb
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── init.pp
│ │ │ ├── install.pp
│ │ │ ├── params.pp
│ │ │ └── service.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── class_spec.rb
│ │ │ │ ├── disable_monitoring_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ │ ├── fedora-21-x64.yml
│ │ │ │ │ ├── sles-11-x64.yml
│ │ │ │ │ ├── sles-12-64.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ ├── ubuntu-server-1404-x64.yml
│ │ │ │ │ └── ubuntu-server-14042-x64.yml
│ │ │ │ ├── ntp_config_spec.rb
│ │ │ │ ├── ntp_install_spec.rb
│ │ │ │ ├── ntp_parameters_spec.rb
│ │ │ │ ├── ntp_service_spec.rb
│ │ │ │ ├── preferred_servers_spec.rb
│ │ │ │ ├── restrict_spec.rb
│ │ │ │ └── unsupported_spec.rb
│ │ │ ├── classes
│ │ │ │ └── ntp_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ └── README.markdown
│ │ │ │ └── type
│ │ │ │ └── README.markdown
│ │ ├── templates
│ │ │ └── ntp.conf.erb
│ │ └── tests
│ │ │ └── init.pp
│ │ ├── php
│ │ ├── .fixtures.yml
│ │ ├── .gemfile
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── lib
│ │ │ └── facter
│ │ │ │ ├── php_fact_extension_dir.rb
│ │ │ │ └── php_fact_version.rb
│ │ ├── manifests
│ │ │ ├── augeas.pp
│ │ │ ├── conf.pp
│ │ │ ├── devel.pp
│ │ │ ├── ini.pp
│ │ │ ├── init.pp
│ │ │ ├── mod.pp
│ │ │ ├── module.pp
│ │ │ ├── params.pp
│ │ │ ├── pear.pp
│ │ │ ├── pear
│ │ │ │ ├── config.pp
│ │ │ │ └── module.pp
│ │ │ ├── pecl
│ │ │ │ ├── config.pp
│ │ │ │ └── module.pp
│ │ │ └── spec.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── php_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── php_module_spec.rb
│ │ │ │ └── php_pear_module_spec.rb
│ │ │ └── spec_helper.rb
│ │ └── templates
│ │ │ ├── extra-ini.erb
│ │ │ └── spec.erb
│ │ ├── postgis
│ │ ├── CHANGELOG.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── manifests
│ │ │ └── init.pp
│ │ ├── metadata.json
│ │ └── spec
│ │ │ ├── acceptance
│ │ │ └── nodesets
│ │ │ │ ├── centos-5-x86_64-docker.yml
│ │ │ │ ├── centos-6-x86_64-docker.yml
│ │ │ │ ├── centos-6-x86_64-openstack.yml
│ │ │ │ ├── centos-6-x86_64-vagrant.yml
│ │ │ │ ├── centos-7-x86_64-docker.yml
│ │ │ │ ├── centos-7-x86_64-openstack.yml
│ │ │ │ ├── centos-7-x86_64-vagrant.yml
│ │ │ │ ├── debian-6-x86_64-docker.yml
│ │ │ │ ├── debian-6-x86_64-openstack.yml
│ │ │ │ ├── debian-6-x86_64-vagrant.yml
│ │ │ │ ├── debian-7-x86_64-docker.yml
│ │ │ │ ├── debian-7-x86_64-openstack.yml
│ │ │ │ ├── debian-7-x86_64-vagrant.yml
│ │ │ │ ├── debian-8-x86_64-docker.yml
│ │ │ │ ├── debian-8-x86_64-openstack.yml
│ │ │ │ ├── debian-8-x86_64-vagrant.yml
│ │ │ │ ├── ubuntu-10.04-x86_64-docker.yml
│ │ │ │ ├── ubuntu-12.04-x86_64-docker.yml
│ │ │ │ ├── ubuntu-12.04-x86_64-openstack.yml
│ │ │ │ ├── ubuntu-14.04-x86_64-docker.yml
│ │ │ │ ├── ubuntu-14.04-x86_64-openstack.yml
│ │ │ │ ├── ubuntu-14.04-x86_64-vagrant.yml
│ │ │ │ ├── ubuntu-14.10-x86_64-docker.yml
│ │ │ │ ├── ubuntu-14.10-x86_64-openstack.yml
│ │ │ │ ├── ubuntu-15.04-x86_64-docker.yml
│ │ │ │ └── ubuntu-15.04-x86_64-openstack.yml
│ │ │ ├── classes
│ │ │ └── postgis_spec.rb
│ │ │ ├── spec.opts
│ │ │ └── spec_helper.rb
│ │ ├── postgresql
│ │ ├── .fixtures.yml
│ │ ├── .geppetto-rc.json
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .sync.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── NOTICE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── files
│ │ │ ├── RPM-GPG-KEY-PGDG
│ │ │ └── validate_postgresql_connection.sh
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ ├── postgresql_acls_to_resources_hash.rb
│ │ │ │ │ ├── postgresql_escape.rb
│ │ │ │ │ └── postgresql_password.rb
│ │ │ │ ├── provider
│ │ │ │ ├── postgresql_conf
│ │ │ │ │ └── parsed.rb
│ │ │ │ ├── postgresql_psql
│ │ │ │ │ └── ruby.rb
│ │ │ │ └── postgresql_replication_slot
│ │ │ │ │ └── ruby.rb
│ │ │ │ └── type
│ │ │ │ ├── postgresql_conf.rb
│ │ │ │ ├── postgresql_psql.rb
│ │ │ │ └── postgresql_replication_slot.rb
│ │ ├── manifests
│ │ │ ├── client.pp
│ │ │ ├── globals.pp
│ │ │ ├── lib
│ │ │ │ ├── devel.pp
│ │ │ │ ├── docs.pp
│ │ │ │ ├── java.pp
│ │ │ │ ├── perl.pp
│ │ │ │ └── python.pp
│ │ │ ├── params.pp
│ │ │ ├── repo.pp
│ │ │ ├── repo
│ │ │ │ ├── apt_postgresql_org.pp
│ │ │ │ └── yum_postgresql_org.pp
│ │ │ ├── server.pp
│ │ │ ├── server
│ │ │ │ ├── config.pp
│ │ │ │ ├── config_entry.pp
│ │ │ │ ├── contrib.pp
│ │ │ │ ├── database.pp
│ │ │ │ ├── database_grant.pp
│ │ │ │ ├── db.pp
│ │ │ │ ├── extension.pp
│ │ │ │ ├── grant.pp
│ │ │ │ ├── initdb.pp
│ │ │ │ ├── install.pp
│ │ │ │ ├── passwd.pp
│ │ │ │ ├── pg_hba_rule.pp
│ │ │ │ ├── pg_ident_rule.pp
│ │ │ │ ├── plperl.pp
│ │ │ │ ├── plpython.pp
│ │ │ │ ├── postgis.pp
│ │ │ │ ├── recovery.pp
│ │ │ │ ├── reload.pp
│ │ │ │ ├── role.pp
│ │ │ │ ├── schema.pp
│ │ │ │ ├── service.pp
│ │ │ │ ├── table_grant.pp
│ │ │ │ └── tablespace.pp
│ │ │ └── validate_db_connection.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── 00-utf8_encoding_spec.rb
│ │ │ │ ├── alternative_port_spec.rb
│ │ │ │ ├── db_spec.rb
│ │ │ │ ├── default_parameters_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-510-x64.yml
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── debian-607-x64.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ ├── postgresql_psql_spec.rb
│ │ │ │ ├── server
│ │ │ │ │ ├── recovery_spec.rb
│ │ │ │ │ └── schema_spec.rb
│ │ │ │ └── z_alternative_pgdata_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ ├── classes
│ │ │ │ ├── client_spec.rb
│ │ │ │ ├── globals_spec.rb
│ │ │ │ ├── lib
│ │ │ │ │ ├── devel_spec.rb
│ │ │ │ │ ├── java_spec.rb
│ │ │ │ │ ├── perl_spec.rb
│ │ │ │ │ ├── pgdocs_spec.rb
│ │ │ │ │ └── python_spec.rb
│ │ │ │ ├── params_spec.rb
│ │ │ │ ├── repo_spec.rb
│ │ │ │ ├── server
│ │ │ │ │ ├── config_spec.rb
│ │ │ │ │ ├── contrib_spec.rb
│ │ │ │ │ ├── initdb_spec.rb
│ │ │ │ │ ├── plperl_spec.rb
│ │ │ │ │ ├── plpython_spec.rb
│ │ │ │ │ └── postgis_spec.rb
│ │ │ │ └── server_spec.rb
│ │ │ │ ├── defines
│ │ │ │ ├── server
│ │ │ │ │ ├── config_entry_spec.rb
│ │ │ │ │ ├── database_grant_spec.rb
│ │ │ │ │ ├── database_spec.rb
│ │ │ │ │ ├── db_spec.rb
│ │ │ │ │ ├── extension_spec.rb
│ │ │ │ │ ├── grant_spec.rb
│ │ │ │ │ ├── pg_hba_rule_spec.rb
│ │ │ │ │ ├── pg_ident_rule_spec.rb
│ │ │ │ │ ├── recovery_spec.rb
│ │ │ │ │ ├── role_spec.rb
│ │ │ │ │ ├── schema_spec.rb
│ │ │ │ │ ├── table_grant_spec.rb
│ │ │ │ │ └── tablespace_spec.rb
│ │ │ │ └── validate_db_connection_spec.rb
│ │ │ │ ├── functions
│ │ │ │ ├── postgresql_acls_to_resources_hash_spec.rb
│ │ │ │ ├── postgresql_escape_spec.rb
│ │ │ │ └── postgresql_password_spec.rb
│ │ │ │ ├── provider
│ │ │ │ └── postgresql_conf
│ │ │ │ │ └── parsed_spec.rb
│ │ │ │ ├── puppet
│ │ │ │ ├── provider
│ │ │ │ │ ├── postgresql_psql
│ │ │ │ │ │ └── ruby_spec.rb
│ │ │ │ │ └── postgresql_replication_slot
│ │ │ │ │ │ └── ruby_spec.rb
│ │ │ │ └── type
│ │ │ │ │ ├── postgresql_psql_spec.rb
│ │ │ │ │ └── postgresql_replication_slot_spec.rb
│ │ │ │ └── type
│ │ │ │ └── postgresql_conf_spec.rb
│ │ └── templates
│ │ │ ├── pg_hba_rule.conf
│ │ │ ├── pg_ident_rule.conf
│ │ │ ├── recovery.conf
│ │ │ └── systemd-override.erb
│ │ ├── puphpet
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── files
│ │ │ ├── php7
│ │ │ │ ├── php-fpm.conf
│ │ │ │ ├── php7-fpm
│ │ │ │ ├── php7-fpm-checkconf
│ │ │ │ └── www.conf
│ │ │ ├── webserver_landing.html
│ │ │ └── xdebug_cli_alias.erb
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ ├── access.rb
│ │ │ │ │ ├── array_true.rb
│ │ │ │ │ ├── deep_merge.rb
│ │ │ │ │ ├── hash_eval.rb
│ │ │ │ │ ├── hash_key_equals.rb
│ │ │ │ │ ├── is_dir.rb
│ │ │ │ │ ├── merge_yaml.rb
│ │ │ │ │ ├── to_bool.rb
│ │ │ │ │ ├── to_string.rb
│ │ │ │ │ ├── value_true.rb
│ │ │ │ │ └── values_no_error.rb
│ │ │ │ └── provider
│ │ │ │ └── package
│ │ │ │ └── npm.rb
│ │ ├── manifests
│ │ │ ├── adminer.pp
│ │ │ ├── apache
│ │ │ │ ├── mod.pp
│ │ │ │ ├── modpagespeed.pp
│ │ │ │ ├── params.pp
│ │ │ │ ├── proxy_fcgi.pp
│ │ │ │ ├── repo.pp
│ │ │ │ └── repo
│ │ │ │ │ ├── centos.pp
│ │ │ │ │ ├── debian.pp
│ │ │ │ │ └── ubuntu.pp
│ │ │ ├── beanstalkd
│ │ │ │ └── console.pp
│ │ │ ├── debian
│ │ │ │ └── non_free.pp
│ │ │ ├── firewall
│ │ │ │ ├── port.pp
│ │ │ │ ├── post.pp
│ │ │ │ └── pre.pp
│ │ │ ├── hhvm.pp
│ │ │ ├── ini.pp
│ │ │ ├── init.pp
│ │ │ ├── mariadb.pp
│ │ │ ├── mongodb
│ │ │ │ └── db.pp
│ │ │ ├── mysql
│ │ │ │ ├── db.pp
│ │ │ │ ├── params.pp
│ │ │ │ └── repo.pp
│ │ │ ├── nginx.pp
│ │ │ ├── nginx
│ │ │ │ ├── host.pp
│ │ │ │ └── upstream.pp
│ │ │ ├── nodejs.pp
│ │ │ ├── params.pp
│ │ │ ├── php
│ │ │ │ ├── beta.pp
│ │ │ │ ├── composer.pp
│ │ │ │ ├── drush.pp
│ │ │ │ ├── extra_repos.pp
│ │ │ │ ├── fpm
│ │ │ │ │ ├── ini.pp
│ │ │ │ │ └── pool_ini.pp
│ │ │ │ ├── ini.pp
│ │ │ │ ├── module.pp
│ │ │ │ ├── pear.pp
│ │ │ │ ├── pecl.pp
│ │ │ │ ├── repos.pp
│ │ │ │ ├── settings.pp
│ │ │ │ ├── wordpress
│ │ │ │ │ └── wpcli.pp
│ │ │ │ ├── xdebug.pp
│ │ │ │ └── xhprof.pp
│ │ │ ├── phpmyadmin.pp
│ │ │ ├── postgresql
│ │ │ │ └── db.pp
│ │ │ ├── python
│ │ │ │ ├── install.pp
│ │ │ │ ├── pip.pp
│ │ │ │ └── preinstall.pp
│ │ │ ├── ruby
│ │ │ │ ├── dotfile.pp
│ │ │ │ └── install.pp
│ │ │ ├── server
│ │ │ │ ├── centos_ius.pp
│ │ │ │ └── link_dotfiles.pp
│ │ │ ├── sqlite
│ │ │ │ ├── db.pp
│ │ │ │ └── install.pp
│ │ │ ├── ssl_cert.pp
│ │ │ ├── supervisord.pp
│ │ │ ├── xdebug.pp
│ │ │ └── xhprof.pp
│ │ ├── metadata.json
│ │ └── templates
│ │ │ ├── apache
│ │ │ ├── custom_fragment.erb
│ │ │ ├── files_match.erb
│ │ │ ├── hhvm-httpd.conf.erb
│ │ │ └── mod
│ │ │ │ └── spdy
│ │ │ │ ├── php-wrapper.erb
│ │ │ │ └── spdy_conf.erb
│ │ │ ├── nginx
│ │ │ └── default_conf.erb
│ │ │ └── nodejs
│ │ │ └── install.erb
│ │ ├── puppi
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── README_check.md
│ │ ├── README_deploy.md
│ │ ├── README_info.md
│ │ ├── README_log.md
│ │ ├── Rakefile
│ │ ├── composer.json
│ │ ├── files
│ │ │ ├── info
│ │ │ │ └── readme
│ │ │ │ │ ├── readme
│ │ │ │ │ └── readme-default
│ │ │ ├── mailpuppicheck
│ │ │ ├── mcollective
│ │ │ │ ├── mc-puppi
│ │ │ │ ├── puppi.ddl
│ │ │ │ ├── puppi.rb
│ │ │ │ ├── puppicheck
│ │ │ │ └── puppideploy
│ │ │ └── scripts
│ │ │ │ ├── archive.sh
│ │ │ │ ├── check_project.sh
│ │ │ │ ├── checkwardir.sh
│ │ │ │ ├── clean_filelist.sh
│ │ │ │ ├── database.sh
│ │ │ │ ├── delete.sh
│ │ │ │ ├── deploy.sh
│ │ │ │ ├── deploy_files.sh
│ │ │ │ ├── execute.sh
│ │ │ │ ├── firewall.sh
│ │ │ │ ├── functions
│ │ │ │ ├── get_file.sh
│ │ │ │ ├── get_filesfromlist.sh
│ │ │ │ ├── get_maven_files.sh
│ │ │ │ ├── get_metadata.sh
│ │ │ │ ├── git.sh
│ │ │ │ ├── header
│ │ │ │ ├── hg.sh
│ │ │ │ ├── predeploy.sh
│ │ │ │ ├── predeploy_tar.sh
│ │ │ │ ├── report_mail.sh
│ │ │ │ ├── report_mongo.sh
│ │ │ │ ├── service.sh
│ │ │ │ ├── svn.sh
│ │ │ │ ├── wait.sh
│ │ │ │ ├── yant.sh
│ │ │ │ └── yum.sh
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── last_run.rb
│ │ │ │ ├── puppi_projects.rb
│ │ │ │ └── windows_common_appdata.rb
│ │ │ └── puppet
│ │ │ │ ├── functions
│ │ │ │ └── params_lookup.rb
│ │ │ │ └── parser
│ │ │ │ └── functions
│ │ │ │ ├── any2bool.rb
│ │ │ │ ├── bool2ensure.rb
│ │ │ │ ├── get_class_args.rb
│ │ │ │ ├── get_magicvar.rb
│ │ │ │ ├── get_module_path.rb
│ │ │ │ ├── nslookup.rb
│ │ │ │ ├── options_lookup.rb
│ │ │ │ ├── params_lookup.rb
│ │ │ │ └── url_parse.rb
│ │ ├── manifests
│ │ │ ├── check.pp
│ │ │ ├── configure.pp
│ │ │ ├── dependencies.pp
│ │ │ ├── deploy.pp
│ │ │ ├── extras.pp
│ │ │ ├── helper.pp
│ │ │ ├── helpers.pp
│ │ │ ├── info.pp
│ │ │ ├── info
│ │ │ │ ├── instance.pp
│ │ │ │ ├── module.pp
│ │ │ │ └── readme.pp
│ │ │ ├── init.pp
│ │ │ ├── initialize.pp
│ │ │ ├── install_packages.pp
│ │ │ ├── log.pp
│ │ │ ├── mcollective
│ │ │ │ ├── client.pp
│ │ │ │ └── server.pp
│ │ │ ├── netinstall.pp
│ │ │ ├── one.pp
│ │ │ ├── params.pp
│ │ │ ├── project.pp
│ │ │ ├── project
│ │ │ │ ├── README
│ │ │ │ ├── archive.pp
│ │ │ │ ├── builder.pp
│ │ │ │ ├── dir.pp
│ │ │ │ ├── files.pp
│ │ │ │ ├── git.pp
│ │ │ │ ├── hg.pp
│ │ │ │ ├── maven.pp
│ │ │ │ ├── mysql.pp
│ │ │ │ ├── service.pp
│ │ │ │ ├── svn.pp
│ │ │ │ ├── tar.pp
│ │ │ │ ├── war.pp
│ │ │ │ ├── y4maven.pp
│ │ │ │ └── yum.pp
│ │ │ ├── report.pp
│ │ │ ├── rollback.pp
│ │ │ ├── run.pp
│ │ │ ├── runscript.pp
│ │ │ ├── skel.pp
│ │ │ ├── todo.pp
│ │ │ ├── two.pp
│ │ │ └── ze.pp
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── puppi_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── puppi_check_spec.rb
│ │ │ │ ├── puppi_deploy_spec.rb
│ │ │ │ ├── puppi_helper_spec.rb
│ │ │ │ ├── puppi_info_spec.rb
│ │ │ │ ├── puppi_initialize_spec.rb
│ │ │ │ ├── puppi_log_spec.rb
│ │ │ │ ├── puppi_project_spec.rb
│ │ │ │ ├── puppi_report_spec.rb
│ │ │ │ ├── puppi_rollback_spec.rb
│ │ │ │ ├── puppi_run_spec.rb
│ │ │ │ ├── puppi_todo_spec.rb
│ │ │ │ └── puppi_ze_spec.rb
│ │ │ ├── functions
│ │ │ │ ├── any2bool_spec.rb
│ │ │ │ ├── bool2ensure_spec.rb
│ │ │ │ └── url_parse_spec.rb
│ │ │ └── spec_helper.rb
│ │ └── templates
│ │ │ ├── helpers
│ │ │ └── standard.yml.erb
│ │ │ ├── info.erb
│ │ │ ├── info
│ │ │ ├── instance.erb
│ │ │ ├── module.erb
│ │ │ ├── puppet.erb
│ │ │ └── readme.erb
│ │ │ ├── install_packages.erb
│ │ │ ├── log.erb
│ │ │ ├── project
│ │ │ └── config.erb
│ │ │ ├── puppi.conf.erb
│ │ │ ├── puppi.erb
│ │ │ ├── puppi_clean.erb
│ │ │ └── todo.erb
│ │ ├── pyenv
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ ├── feature
│ │ │ │ └── pyenv.rb
│ │ │ │ ├── provider
│ │ │ │ └── pyenv_python
│ │ │ │ │ └── pyenv.rb
│ │ │ │ └── type
│ │ │ │ └── pyenv_python.rb
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ └── params.pp
│ │ └── metadata.json
│ │ ├── rabbitmq
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── TODO
│ │ ├── files
│ │ │ ├── README.markdown
│ │ │ └── plugins
│ │ │ │ ├── amqp_client-2.3.1.ez
│ │ │ │ └── rabbit_stomp-2.3.1.ez
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ ├── rabbitmq_binding
│ │ │ │ │ └── rabbitmqadmin.rb
│ │ │ │ ├── rabbitmq_erlang_cookie
│ │ │ │ │ └── ruby.rb
│ │ │ │ ├── rabbitmq_exchange
│ │ │ │ │ └── rabbitmqadmin.rb
│ │ │ │ ├── rabbitmq_parameter
│ │ │ │ │ └── rabbitmqctl.rb
│ │ │ │ ├── rabbitmq_plugin
│ │ │ │ │ └── rabbitmqplugins.rb
│ │ │ │ ├── rabbitmq_policy
│ │ │ │ │ └── rabbitmqctl.rb
│ │ │ │ ├── rabbitmq_queue
│ │ │ │ │ └── rabbitmqadmin.rb
│ │ │ │ ├── rabbitmq_user
│ │ │ │ │ └── rabbitmqctl.rb
│ │ │ │ ├── rabbitmq_user_permissions
│ │ │ │ │ └── rabbitmqctl.rb
│ │ │ │ ├── rabbitmq_vhost
│ │ │ │ │ └── rabbitmqctl.rb
│ │ │ │ └── rabbitmqctl.rb
│ │ │ │ └── type
│ │ │ │ ├── rabbitmq_binding.rb
│ │ │ │ ├── rabbitmq_erlang_cookie.rb
│ │ │ │ ├── rabbitmq_exchange.rb
│ │ │ │ ├── rabbitmq_parameter.rb
│ │ │ │ ├── rabbitmq_plugin.rb
│ │ │ │ ├── rabbitmq_policy.rb
│ │ │ │ ├── rabbitmq_queue.rb
│ │ │ │ ├── rabbitmq_user.rb
│ │ │ │ ├── rabbitmq_user_permissions.rb
│ │ │ │ └── rabbitmq_vhost.rb
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── init.pp
│ │ │ ├── install.pp
│ │ │ ├── install
│ │ │ │ └── rabbitmqadmin.pp
│ │ │ ├── management.pp
│ │ │ ├── params.pp
│ │ │ ├── repo
│ │ │ │ ├── apt.pp
│ │ │ │ └── rhel.pp
│ │ │ ├── server.pp
│ │ │ └── service.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── README.markdown
│ │ │ ├── acceptance
│ │ │ │ ├── class_spec.rb
│ │ │ │ ├── clustering_spec.rb
│ │ │ │ ├── delete_guest_user_spec.rb
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-59-x64.yml
│ │ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ ├── policy_spec.rb
│ │ │ │ ├── queue_spec.rb
│ │ │ │ ├── rabbitmqadmin_spec.rb
│ │ │ │ ├── server_spec.rb
│ │ │ │ ├── user_spec.rb
│ │ │ │ ├── vhost_spec.rb
│ │ │ │ └── zz281_spec.rb
│ │ │ ├── classes
│ │ │ │ └── rabbitmq_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ ├── rabbitmq_binding
│ │ │ │ │ └── rabbitmqadmin_spec.rb
│ │ │ │ ├── rabbitmq_exchange
│ │ │ │ │ └── rabbitmqadmin_spec.rb
│ │ │ │ ├── rabbitmq_parameter
│ │ │ │ │ └── rabbitmqctl_spec.rb
│ │ │ │ ├── rabbitmq_plugin
│ │ │ │ │ └── rabbitmqctl_spec.rb
│ │ │ │ ├── rabbitmq_policy
│ │ │ │ │ └── rabbitmqctl_spec.rb
│ │ │ │ ├── rabbitmq_queue
│ │ │ │ │ └── rabbitmqadmin_spec.rb
│ │ │ │ ├── rabbitmq_user
│ │ │ │ │ └── rabbitmqctl_spec.rb
│ │ │ │ ├── rabbitmq_user_permissions
│ │ │ │ │ └── rabbitmqctl_spec.rb
│ │ │ │ └── rabbitmq_vhost
│ │ │ │ │ └── rabbitmqctl_spec.rb
│ │ │ │ └── type
│ │ │ │ ├── rabbitmq_binding_spec.rb
│ │ │ │ ├── rabbitmq_exchange_spec.rb
│ │ │ │ ├── rabbitmq_parameter_spec.rb
│ │ │ │ ├── rabbitmq_policy_spec.rb
│ │ │ │ ├── rabbitmq_queue_spec.rb
│ │ │ │ ├── rabbitmq_user_permissions_spec.rb
│ │ │ │ ├── rabbitmq_user_spec.rb
│ │ │ │ └── rabbitmq_vhost_spec.rb
│ │ ├── templates
│ │ │ ├── README.markdown
│ │ │ ├── default.erb
│ │ │ ├── limits.conf
│ │ │ ├── rabbitmq-env.conf.erb
│ │ │ ├── rabbitmq-server.service.d
│ │ │ │ └── limits.conf
│ │ │ ├── rabbitmq.config.erb
│ │ │ └── rabbitmqadmin.conf.erb
│ │ └── tests
│ │ │ ├── erlang_deps.pp
│ │ │ ├── full.pp
│ │ │ ├── permissions
│ │ │ └── add.pp
│ │ │ ├── plugin.pp
│ │ │ ├── repo
│ │ │ └── apt.pp
│ │ │ ├── server.pp
│ │ │ ├── service.pp
│ │ │ ├── site.pp
│ │ │ ├── user
│ │ │ └── add.pp
│ │ │ └── vhosts
│ │ │ └── add.pp
│ │ ├── redis
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .puppet-lint.rc
│ │ ├── .travis.yml
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── init.pp
│ │ │ ├── install.pp
│ │ │ ├── params.pp
│ │ │ ├── preinstall.pp
│ │ │ ├── sentinel.pp
│ │ │ └── service.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── nodesets
│ │ │ │ │ └── default.yml
│ │ │ │ └── redis_spec.rb
│ │ │ ├── classes
│ │ │ │ ├── redis_sentinel_spec.rb
│ │ │ │ └── redis_spec.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ └── spec_helper_acceptance.rb
│ │ └── templates
│ │ │ ├── redis-sentinel.conf.erb
│ │ │ ├── redis-sentinel.init.erb
│ │ │ └── redis.conf.erb
│ │ ├── rvm
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── Puppetfile
│ │ ├── Puppetfile.lock
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── checksums.json
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── rvm_installed.rb
│ │ │ │ └── rvm_version.rb
│ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ ├── rvm_alias
│ │ │ │ │ └── alias.rb
│ │ │ │ ├── rvm_gem
│ │ │ │ │ └── gem.rb
│ │ │ │ ├── rvm_gemset
│ │ │ │ │ └── gemset.rb
│ │ │ │ ├── rvm_system_ruby
│ │ │ │ │ └── rvm_system_ruby.rb
│ │ │ │ └── rvm_wrapper
│ │ │ │ │ └── wrapper.rb
│ │ │ │ └── type
│ │ │ │ ├── rvm_alias.rb
│ │ │ │ ├── rvm_gem.rb
│ │ │ │ ├── rvm_gemset.rb
│ │ │ │ ├── rvm_system_ruby.rb
│ │ │ │ └── rvm_wrapper.rb
│ │ ├── manifests
│ │ │ ├── dependencies.pp
│ │ │ ├── dependencies
│ │ │ │ ├── centos.pp
│ │ │ │ ├── oraclelinux.pp
│ │ │ │ └── ubuntu.pp
│ │ │ ├── gnupg_key.pp
│ │ │ ├── gpg.pp
│ │ │ ├── group.pp
│ │ │ ├── init.pp
│ │ │ ├── params.pp
│ │ │ ├── passenger
│ │ │ │ ├── apache.pp
│ │ │ │ ├── dependencies.pp
│ │ │ │ ├── dependencies
│ │ │ │ │ ├── centos.pp
│ │ │ │ │ ├── oraclelinux.pp
│ │ │ │ │ └── ubuntu.pp
│ │ │ │ └── gem.pp
│ │ │ ├── rvmrc.pp
│ │ │ ├── system.pp
│ │ │ └── system_user.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-65-x64-docker.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── debian-7-x64-docker.yml
│ │ │ │ │ ├── debian-7-x64.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ ├── ubuntu-server-1404-x64-docker.yml
│ │ │ │ │ └── ubuntu-server-1404-x64.yml
│ │ │ │ └── rvm_system_spec.rb
│ │ │ ├── classes
│ │ │ │ ├── dependencies_spec.rb
│ │ │ │ ├── gnupg_key_spec.rb
│ │ │ │ ├── gpg_spec.rb
│ │ │ │ ├── init_spec.rb
│ │ │ │ ├── rvmrc_spec.rb
│ │ │ │ └── system_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── rvm_alias_spec.rb
│ │ │ │ ├── rvm_gem_spec.rb
│ │ │ │ ├── rvm_gemset_spec.rb
│ │ │ │ ├── rvm_system_ruby_spec.rb
│ │ │ │ ├── rvm_wrapper_spec.rb
│ │ │ │ └── system_user_spec.rb
│ │ │ ├── fixtures
│ │ │ │ └── hiera.yaml
│ │ │ ├── spec_helper.rb
│ │ │ └── spec_helper_acceptance.rb
│ │ ├── templates
│ │ │ └── rvmrc.erb
│ │ └── tests
│ │ │ └── init.pp
│ │ ├── solr
│ │ ├── .fixtures.yml
│ │ ├── .gemfile
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.markdown
│ │ ├── README.md
│ │ ├── Rakefile
│ │ └── manifests
│ │ │ ├── init.pp
│ │ │ ├── install.pp
│ │ │ └── params.pp
│ │ ├── staging
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── Vagrantfile
│ │ ├── checksums.json
│ │ ├── docs
│ │ │ ├── deploy.html
│ │ │ ├── extract.html
│ │ │ ├── file.html
│ │ │ └── init.html
│ │ ├── files
│ │ │ ├── sample
│ │ │ ├── sample.tar.bz2
│ │ │ └── sample.tar.gz
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── staging_http_get.rb
│ │ │ │ └── staging_windir.rb
│ │ │ └── puppet
│ │ │ │ └── parser
│ │ │ │ └── functions
│ │ │ │ ├── scope_defaults.rb
│ │ │ │ └── staging_parse.rb
│ │ ├── manifests
│ │ │ ├── .init.pp.swp
│ │ │ ├── deploy.pp
│ │ │ ├── extract.pp
│ │ │ ├── file.pp
│ │ │ ├── init.pp
│ │ │ └── params.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── defines
│ │ │ │ ├── staging_deploy_spec.rb
│ │ │ │ ├── staging_extract_spec.rb
│ │ │ │ └── staging_file_spec.rb
│ │ │ ├── fixtures
│ │ │ │ └── hiera.yaml
│ │ │ ├── spec_helper.rb
│ │ │ └── unit
│ │ │ │ └── puppet
│ │ │ │ └── parser
│ │ │ │ └── functions
│ │ │ │ ├── scope_defaults_spec.rb
│ │ │ │ └── staging_parse_spec.rb
│ │ └── tests
│ │ │ ├── deploy.pp
│ │ │ ├── extract.pp
│ │ │ ├── file.pp
│ │ │ ├── init.pp
│ │ │ ├── scope_defaults.pp
│ │ │ └── staging_parse.pp
│ │ ├── stdlib
│ │ ├── .fixtures.yml
│ │ ├── .gemspec
│ │ ├── .gitignore
│ │ ├── .rspec
│ │ ├── .sync.yml
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.markdown
│ │ ├── README_DEVELOPER.markdown
│ │ ├── README_SPECS.markdown
│ │ ├── RELEASE_PROCESS.markdown
│ │ ├── Rakefile
│ │ ├── examples
│ │ │ ├── file_line.pp
│ │ │ ├── has_interface_with.pp
│ │ │ ├── has_ip_address.pp
│ │ │ ├── has_ip_network.pp
│ │ │ └── init.pp
│ │ ├── lib
│ │ │ ├── facter
│ │ │ │ ├── facter_dot_d.rb
│ │ │ │ ├── package_provider.rb
│ │ │ │ ├── pe_version.rb
│ │ │ │ ├── puppet_vardir.rb
│ │ │ │ ├── root_home.rb
│ │ │ │ ├── service_provider.rb
│ │ │ │ └── util
│ │ │ │ │ └── puppet_settings.rb
│ │ │ └── puppet
│ │ │ │ ├── functions
│ │ │ │ ├── is_a.rb
│ │ │ │ └── type_of.rb
│ │ │ │ ├── parser
│ │ │ │ └── functions
│ │ │ │ │ ├── abs.rb
│ │ │ │ │ ├── any2array.rb
│ │ │ │ │ ├── assert_private.rb
│ │ │ │ │ ├── base64.rb
│ │ │ │ │ ├── basename.rb
│ │ │ │ │ ├── bool2num.rb
│ │ │ │ │ ├── bool2str.rb
│ │ │ │ │ ├── camelcase.rb
│ │ │ │ │ ├── capitalize.rb
│ │ │ │ │ ├── ceiling.rb
│ │ │ │ │ ├── chomp.rb
│ │ │ │ │ ├── chop.rb
│ │ │ │ │ ├── concat.rb
│ │ │ │ │ ├── convert_base.rb
│ │ │ │ │ ├── count.rb
│ │ │ │ │ ├── deep_merge.rb
│ │ │ │ │ ├── defined_with_params.rb
│ │ │ │ │ ├── delete.rb
│ │ │ │ │ ├── delete_at.rb
│ │ │ │ │ ├── delete_undef_values.rb
│ │ │ │ │ ├── delete_values.rb
│ │ │ │ │ ├── difference.rb
│ │ │ │ │ ├── dirname.rb
│ │ │ │ │ ├── dos2unix.rb
│ │ │ │ │ ├── downcase.rb
│ │ │ │ │ ├── empty.rb
│ │ │ │ │ ├── ensure_packages.rb
│ │ │ │ │ ├── ensure_resource.rb
│ │ │ │ │ ├── flatten.rb
│ │ │ │ │ ├── floor.rb
│ │ │ │ │ ├── fqdn_rand_string.rb
│ │ │ │ │ ├── fqdn_rotate.rb
│ │ │ │ │ ├── get_module_path.rb
│ │ │ │ │ ├── getparam.rb
│ │ │ │ │ ├── getvar.rb
│ │ │ │ │ ├── grep.rb
│ │ │ │ │ ├── has_interface_with.rb
│ │ │ │ │ ├── has_ip_address.rb
│ │ │ │ │ ├── has_ip_network.rb
│ │ │ │ │ ├── has_key.rb
│ │ │ │ │ ├── hash.rb
│ │ │ │ │ ├── intersection.rb
│ │ │ │ │ ├── is_absolute_path.rb
│ │ │ │ │ ├── is_array.rb
│ │ │ │ │ ├── is_bool.rb
│ │ │ │ │ ├── is_domain_name.rb
│ │ │ │ │ ├── is_float.rb
│ │ │ │ │ ├── is_function_available.rb
│ │ │ │ │ ├── is_hash.rb
│ │ │ │ │ ├── is_integer.rb
│ │ │ │ │ ├── is_ip_address.rb
│ │ │ │ │ ├── is_mac_address.rb
│ │ │ │ │ ├── is_numeric.rb
│ │ │ │ │ ├── is_string.rb
│ │ │ │ │ ├── join.rb
│ │ │ │ │ ├── join_keys_to_values.rb
│ │ │ │ │ ├── keys.rb
│ │ │ │ │ ├── load_module_metadata.rb
│ │ │ │ │ ├── loadyaml.rb
│ │ │ │ │ ├── lstrip.rb
│ │ │ │ │ ├── max.rb
│ │ │ │ │ ├── member.rb
│ │ │ │ │ ├── merge.rb
│ │ │ │ │ ├── min.rb
│ │ │ │ │ ├── num2bool.rb
│ │ │ │ │ ├── parsejson.rb
│ │ │ │ │ ├── parseyaml.rb
│ │ │ │ │ ├── pick.rb
│ │ │ │ │ ├── pick_default.rb
│ │ │ │ │ ├── prefix.rb
│ │ │ │ │ ├── private.rb
│ │ │ │ │ ├── pw_hash.rb
│ │ │ │ │ ├── range.rb
│ │ │ │ │ ├── reject.rb
│ │ │ │ │ ├── reverse.rb
│ │ │ │ │ ├── rstrip.rb
│ │ │ │ │ ├── seeded_rand.rb
│ │ │ │ │ ├── shuffle.rb
│ │ │ │ │ ├── size.rb
│ │ │ │ │ ├── sort.rb
│ │ │ │ │ ├── squeeze.rb
│ │ │ │ │ ├── str2bool.rb
│ │ │ │ │ ├── str2saltedsha512.rb
│ │ │ │ │ ├── strftime.rb
│ │ │ │ │ ├── strip.rb
│ │ │ │ │ ├── suffix.rb
│ │ │ │ │ ├── swapcase.rb
│ │ │ │ │ ├── time.rb
│ │ │ │ │ ├── to_bytes.rb
│ │ │ │ │ ├── try_get_value.rb
│ │ │ │ │ ├── type.rb
│ │ │ │ │ ├── type3x.rb
│ │ │ │ │ ├── union.rb
│ │ │ │ │ ├── unique.rb
│ │ │ │ │ ├── unix2dos.rb
│ │ │ │ │ ├── upcase.rb
│ │ │ │ │ ├── uriescape.rb
│ │ │ │ │ ├── validate_absolute_path.rb
│ │ │ │ │ ├── validate_array.rb
│ │ │ │ │ ├── validate_augeas.rb
│ │ │ │ │ ├── validate_bool.rb
│ │ │ │ │ ├── validate_cmd.rb
│ │ │ │ │ ├── validate_hash.rb
│ │ │ │ │ ├── validate_integer.rb
│ │ │ │ │ ├── validate_ip_address.rb
│ │ │ │ │ ├── validate_ipv4_address.rb
│ │ │ │ │ ├── validate_ipv6_address.rb
│ │ │ │ │ ├── validate_numeric.rb
│ │ │ │ │ ├── validate_re.rb
│ │ │ │ │ ├── validate_slength.rb
│ │ │ │ │ ├── validate_string.rb
│ │ │ │ │ ├── values.rb
│ │ │ │ │ ├── values_at.rb
│ │ │ │ │ └── zip.rb
│ │ │ │ ├── provider
│ │ │ │ └── file_line
│ │ │ │ │ └── ruby.rb
│ │ │ │ └── type
│ │ │ │ ├── anchor.rb
│ │ │ │ └── file_line.rb
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ └── stages.pp
│ │ ├── metadata.json
│ │ └── spec
│ │ │ ├── acceptance
│ │ │ ├── abs_spec.rb
│ │ │ ├── anchor_spec.rb
│ │ │ ├── any2array_spec.rb
│ │ │ ├── base64_spec.rb
│ │ │ ├── bool2num_spec.rb
│ │ │ ├── build_csv.rb
│ │ │ ├── capitalize_spec.rb
│ │ │ ├── ceiling_spec.rb
│ │ │ ├── chomp_spec.rb
│ │ │ ├── chop_spec.rb
│ │ │ ├── concat_spec.rb
│ │ │ ├── count_spec.rb
│ │ │ ├── deep_merge_spec.rb
│ │ │ ├── defined_with_params_spec.rb
│ │ │ ├── delete_at_spec.rb
│ │ │ ├── delete_spec.rb
│ │ │ ├── delete_undef_values_spec.rb
│ │ │ ├── delete_values_spec.rb
│ │ │ ├── difference_spec.rb
│ │ │ ├── dirname_spec.rb
│ │ │ ├── downcase_spec.rb
│ │ │ ├── empty_spec.rb
│ │ │ ├── ensure_resource_spec.rb
│ │ │ ├── flatten_spec.rb
│ │ │ ├── floor_spec.rb
│ │ │ ├── fqdn_rand_string_spec.rb
│ │ │ ├── fqdn_rotate_spec.rb
│ │ │ ├── get_module_path_spec.rb
│ │ │ ├── getparam_spec.rb
│ │ │ ├── getvar_spec.rb
│ │ │ ├── grep_spec.rb
│ │ │ ├── has_interface_with_spec.rb
│ │ │ ├── has_ip_address_spec.rb
│ │ │ ├── has_ip_network_spec.rb
│ │ │ ├── has_key_spec.rb
│ │ │ ├── hash_spec.rb
│ │ │ ├── intersection_spec.rb
│ │ │ ├── is_a_spec.rb
│ │ │ ├── is_array_spec.rb
│ │ │ ├── is_bool_spec.rb
│ │ │ ├── is_domain_name_spec.rb
│ │ │ ├── is_float_spec.rb
│ │ │ ├── is_function_available_spec.rb
│ │ │ ├── is_hash_spec.rb
│ │ │ ├── is_integer_spec.rb
│ │ │ ├── is_ip_address_spec.rb
│ │ │ ├── is_mac_address_spec.rb
│ │ │ ├── is_numeric_spec.rb
│ │ │ ├── is_string_spec.rb
│ │ │ ├── join_keys_to_values_spec.rb
│ │ │ ├── join_spec.rb
│ │ │ ├── keys_spec.rb
│ │ │ ├── loadyaml_spec.rb
│ │ │ ├── lstrip_spec.rb
│ │ │ ├── max_spec.rb
│ │ │ ├── member_spec.rb
│ │ │ ├── merge_spec.rb
│ │ │ ├── min_spec.rb
│ │ │ ├── nodesets
│ │ │ │ ├── centos-59-x64.yml
│ │ │ │ ├── centos-6-vcloud.yml
│ │ │ │ ├── centos-64-x64-pe.yml
│ │ │ │ ├── centos-64-x64.yml
│ │ │ │ ├── centos-65-x64.yml
│ │ │ │ ├── default.yml
│ │ │ │ ├── fedora-18-x64.yml
│ │ │ │ ├── sles-11-x64.yml
│ │ │ │ ├── ubuntu-server-10044-x64.yml
│ │ │ │ ├── ubuntu-server-12042-x64.yml
│ │ │ │ ├── ubuntu-server-1404-x64.yml
│ │ │ │ ├── windows-2003-i386.yml
│ │ │ │ ├── windows-2003-x86_64.yml
│ │ │ │ ├── windows-2008-x86_64.yml
│ │ │ │ ├── windows-2008r2-x86_64.yml
│ │ │ │ ├── windows-2012-x86_64.yml
│ │ │ │ └── windows-2012r2-x86_64.yml
│ │ │ ├── num2bool_spec.rb
│ │ │ ├── parsejson_spec.rb
│ │ │ ├── parseyaml_spec.rb
│ │ │ ├── pick_default_spec.rb
│ │ │ ├── pick_spec.rb
│ │ │ ├── prefix_spec.rb
│ │ │ ├── pw_hash_spec.rb
│ │ │ ├── range_spec.rb
│ │ │ ├── reject_spec.rb
│ │ │ ├── reverse_spec.rb
│ │ │ ├── rstrip_spec.rb
│ │ │ ├── shuffle_spec.rb
│ │ │ ├── size_spec.rb
│ │ │ ├── sort_spec.rb
│ │ │ ├── squeeze_spec.rb
│ │ │ ├── str2bool_spec.rb
│ │ │ ├── str2saltedsha512_spec.rb
│ │ │ ├── strftime_spec.rb
│ │ │ ├── strip_spec.rb
│ │ │ ├── suffix_spec.rb
│ │ │ ├── swapcase_spec.rb
│ │ │ ├── time_spec.rb
│ │ │ ├── to_bytes_spec.rb
│ │ │ ├── try_get_value_spec.rb
│ │ │ ├── type_spec.rb
│ │ │ ├── union_spec.rb
│ │ │ ├── unique_spec.rb
│ │ │ ├── unsupported_spec.rb
│ │ │ ├── upcase_spec.rb
│ │ │ ├── uriescape_spec.rb
│ │ │ ├── validate_absolute_path_spec.rb
│ │ │ ├── validate_array_spec.rb
│ │ │ ├── validate_augeas_spec.rb
│ │ │ ├── validate_bool_spec.rb
│ │ │ ├── validate_cmd_spec.rb
│ │ │ ├── validate_hash_spec.rb
│ │ │ ├── validate_ipv4_address_spec.rb
│ │ │ ├── validate_ipv6_address_spec.rb
│ │ │ ├── validate_re_spec.rb
│ │ │ ├── validate_slength_spec.rb
│ │ │ ├── validate_string_spec.rb
│ │ │ ├── values_at_spec.rb
│ │ │ ├── values_spec.rb
│ │ │ └── zip_spec.rb
│ │ │ ├── fixtures
│ │ │ ├── dscacheutil
│ │ │ │ └── root
│ │ │ ├── lsuser
│ │ │ │ └── root
│ │ │ └── modules
│ │ │ │ └── stdlib
│ │ │ │ ├── lib
│ │ │ │ ├── facter
│ │ │ │ │ ├── facter_dot_d.rb
│ │ │ │ │ ├── package_provider.rb
│ │ │ │ │ ├── pe_version.rb
│ │ │ │ │ ├── puppet_vardir.rb
│ │ │ │ │ ├── root_home.rb
│ │ │ │ │ ├── service_provider.rb
│ │ │ │ │ └── util
│ │ │ │ │ │ └── puppet_settings.rb
│ │ │ │ └── puppet
│ │ │ │ │ ├── functions
│ │ │ │ │ ├── is_a.rb
│ │ │ │ │ └── type_of.rb
│ │ │ │ │ ├── parser
│ │ │ │ │ └── functions
│ │ │ │ │ │ ├── abs.rb
│ │ │ │ │ │ ├── any2array.rb
│ │ │ │ │ │ ├── assert_private.rb
│ │ │ │ │ │ ├── base64.rb
│ │ │ │ │ │ ├── basename.rb
│ │ │ │ │ │ ├── bool2num.rb
│ │ │ │ │ │ ├── bool2str.rb
│ │ │ │ │ │ ├── camelcase.rb
│ │ │ │ │ │ ├── capitalize.rb
│ │ │ │ │ │ ├── ceiling.rb
│ │ │ │ │ │ ├── chomp.rb
│ │ │ │ │ │ ├── chop.rb
│ │ │ │ │ │ ├── concat.rb
│ │ │ │ │ │ ├── convert_base.rb
│ │ │ │ │ │ ├── count.rb
│ │ │ │ │ │ ├── deep_merge.rb
│ │ │ │ │ │ ├── defined_with_params.rb
│ │ │ │ │ │ ├── delete.rb
│ │ │ │ │ │ ├── delete_at.rb
│ │ │ │ │ │ ├── delete_undef_values.rb
│ │ │ │ │ │ ├── delete_values.rb
│ │ │ │ │ │ ├── difference.rb
│ │ │ │ │ │ ├── dirname.rb
│ │ │ │ │ │ ├── dos2unix.rb
│ │ │ │ │ │ ├── downcase.rb
│ │ │ │ │ │ ├── empty.rb
│ │ │ │ │ │ ├── ensure_packages.rb
│ │ │ │ │ │ ├── ensure_resource.rb
│ │ │ │ │ │ ├── flatten.rb
│ │ │ │ │ │ ├── floor.rb
│ │ │ │ │ │ ├── fqdn_rand_string.rb
│ │ │ │ │ │ ├── fqdn_rotate.rb
│ │ │ │ │ │ ├── get_module_path.rb
│ │ │ │ │ │ ├── getparam.rb
│ │ │ │ │ │ ├── getvar.rb
│ │ │ │ │ │ ├── grep.rb
│ │ │ │ │ │ ├── has_interface_with.rb
│ │ │ │ │ │ ├── has_ip_address.rb
│ │ │ │ │ │ ├── has_ip_network.rb
│ │ │ │ │ │ ├── has_key.rb
│ │ │ │ │ │ ├── hash.rb
│ │ │ │ │ │ ├── intersection.rb
│ │ │ │ │ │ ├── is_absolute_path.rb
│ │ │ │ │ │ ├── is_array.rb
│ │ │ │ │ │ ├── is_bool.rb
│ │ │ │ │ │ ├── is_domain_name.rb
│ │ │ │ │ │ ├── is_float.rb
│ │ │ │ │ │ ├── is_function_available.rb
│ │ │ │ │ │ ├── is_hash.rb
│ │ │ │ │ │ ├── is_integer.rb
│ │ │ │ │ │ ├── is_ip_address.rb
│ │ │ │ │ │ ├── is_mac_address.rb
│ │ │ │ │ │ ├── is_numeric.rb
│ │ │ │ │ │ ├── is_string.rb
│ │ │ │ │ │ ├── join.rb
│ │ │ │ │ │ ├── join_keys_to_values.rb
│ │ │ │ │ │ ├── keys.rb
│ │ │ │ │ │ ├── load_module_metadata.rb
│ │ │ │ │ │ ├── loadyaml.rb
│ │ │ │ │ │ ├── lstrip.rb
│ │ │ │ │ │ ├── max.rb
│ │ │ │ │ │ ├── member.rb
│ │ │ │ │ │ ├── merge.rb
│ │ │ │ │ │ ├── min.rb
│ │ │ │ │ │ ├── num2bool.rb
│ │ │ │ │ │ ├── parsejson.rb
│ │ │ │ │ │ ├── parseyaml.rb
│ │ │ │ │ │ ├── pick.rb
│ │ │ │ │ │ ├── pick_default.rb
│ │ │ │ │ │ ├── prefix.rb
│ │ │ │ │ │ ├── private.rb
│ │ │ │ │ │ ├── pw_hash.rb
│ │ │ │ │ │ ├── range.rb
│ │ │ │ │ │ ├── reject.rb
│ │ │ │ │ │ ├── reverse.rb
│ │ │ │ │ │ ├── rstrip.rb
│ │ │ │ │ │ ├── seeded_rand.rb
│ │ │ │ │ │ ├── shuffle.rb
│ │ │ │ │ │ ├── size.rb
│ │ │ │ │ │ ├── sort.rb
│ │ │ │ │ │ ├── squeeze.rb
│ │ │ │ │ │ ├── str2bool.rb
│ │ │ │ │ │ ├── str2saltedsha512.rb
│ │ │ │ │ │ ├── strftime.rb
│ │ │ │ │ │ ├── strip.rb
│ │ │ │ │ │ ├── suffix.rb
│ │ │ │ │ │ ├── swapcase.rb
│ │ │ │ │ │ ├── time.rb
│ │ │ │ │ │ ├── to_bytes.rb
│ │ │ │ │ │ ├── try_get_value.rb
│ │ │ │ │ │ ├── type.rb
│ │ │ │ │ │ ├── type3x.rb
│ │ │ │ │ │ ├── union.rb
│ │ │ │ │ │ ├── unique.rb
│ │ │ │ │ │ ├── unix2dos.rb
│ │ │ │ │ │ ├── upcase.rb
│ │ │ │ │ │ ├── uriescape.rb
│ │ │ │ │ │ ├── validate_absolute_path.rb
│ │ │ │ │ │ ├── validate_array.rb
│ │ │ │ │ │ ├── validate_augeas.rb
│ │ │ │ │ │ ├── validate_bool.rb
│ │ │ │ │ │ ├── validate_cmd.rb
│ │ │ │ │ │ ├── validate_hash.rb
│ │ │ │ │ │ ├── validate_integer.rb
│ │ │ │ │ │ ├── validate_ip_address.rb
│ │ │ │ │ │ ├── validate_ipv4_address.rb
│ │ │ │ │ │ ├── validate_ipv6_address.rb
│ │ │ │ │ │ ├── validate_numeric.rb
│ │ │ │ │ │ ├── validate_re.rb
│ │ │ │ │ │ ├── validate_slength.rb
│ │ │ │ │ │ ├── validate_string.rb
│ │ │ │ │ │ ├── values.rb
│ │ │ │ │ │ ├── values_at.rb
│ │ │ │ │ │ └── zip.rb
│ │ │ │ │ ├── provider
│ │ │ │ │ └── file_line
│ │ │ │ │ │ └── ruby.rb
│ │ │ │ │ └── type
│ │ │ │ │ ├── anchor.rb
│ │ │ │ │ └── file_line.rb
│ │ │ │ └── manifests
│ │ │ │ ├── init.pp
│ │ │ │ └── stages.pp
│ │ │ ├── functions
│ │ │ ├── abs_spec.rb
│ │ │ ├── any2array_spec.rb
│ │ │ ├── assert_private_spec.rb
│ │ │ ├── base64_spec.rb
│ │ │ ├── basename_spec.rb
│ │ │ ├── bool2num_spec.rb
│ │ │ ├── bool2str_spec.rb
│ │ │ ├── camelcase_spec.rb
│ │ │ ├── capitalize_spec.rb
│ │ │ ├── ceiling_spec.rb
│ │ │ ├── chomp_spec.rb
│ │ │ ├── chop_spec.rb
│ │ │ ├── concat_spec.rb
│ │ │ ├── convert_base_spec.rb
│ │ │ ├── count_spec.rb
│ │ │ ├── deep_merge_spec.rb
│ │ │ ├── defined_with_params_spec.rb
│ │ │ ├── delete_at_spec.rb
│ │ │ ├── delete_spec.rb
│ │ │ ├── delete_undef_values_spec.rb
│ │ │ ├── delete_values_spec.rb
│ │ │ ├── difference_spec.rb
│ │ │ ├── dirname_spec.rb
│ │ │ ├── dos2unix_spec.rb
│ │ │ ├── downcase_spec.rb
│ │ │ ├── empty_spec.rb
│ │ │ ├── ensure_packages_spec.rb
│ │ │ ├── ensure_resource_spec.rb
│ │ │ ├── flatten_spec.rb
│ │ │ ├── floor_spec.rb
│ │ │ ├── fqdn_rand_string_spec.rb
│ │ │ ├── fqdn_rotate_spec.rb
│ │ │ ├── get_module_path_spec.rb
│ │ │ ├── getparam_spec.rb
│ │ │ ├── getvar_spec.rb
│ │ │ ├── grep_spec.rb
│ │ │ ├── has_interface_with_spec.rb
│ │ │ ├── has_ip_address_spec.rb
│ │ │ ├── has_ip_network_spec.rb
│ │ │ ├── has_key_spec.rb
│ │ │ ├── hash_spec.rb
│ │ │ ├── intersection_spec.rb
│ │ │ ├── is_a_spec.rb
│ │ │ ├── is_array_spec.rb
│ │ │ ├── is_bool_spec.rb
│ │ │ ├── is_domain_name_spec.rb
│ │ │ ├── is_float_spec.rb
│ │ │ ├── is_function_available.rb
│ │ │ ├── is_hash_spec.rb
│ │ │ ├── is_integer_spec.rb
│ │ │ ├── is_ip_address_spec.rb
│ │ │ ├── is_mac_address_spec.rb
│ │ │ ├── is_numeric_spec.rb
│ │ │ ├── is_string_spec.rb
│ │ │ ├── join_keys_to_values_spec.rb
│ │ │ ├── join_spec.rb
│ │ │ ├── keys_spec.rb
│ │ │ ├── load_module_metadata_spec.rb
│ │ │ ├── loadyaml_spec.rb
│ │ │ ├── lstrip_spec.rb
│ │ │ ├── max_spec.rb
│ │ │ ├── member_spec.rb
│ │ │ ├── merge_spec.rb
│ │ │ ├── min_spec.rb
│ │ │ ├── num2bool_spec.rb
│ │ │ ├── parsejson_spec.rb
│ │ │ ├── parseyaml_spec.rb
│ │ │ ├── pick_default_spec.rb
│ │ │ ├── pick_spec.rb
│ │ │ ├── prefix_spec.rb
│ │ │ ├── private_spec.rb
│ │ │ ├── pw_hash_spec.rb
│ │ │ ├── range_spec.rb
│ │ │ ├── reject_spec.rb
│ │ │ ├── reverse_spec.rb
│ │ │ ├── rstrip_spec.rb
│ │ │ ├── seeded_rand_spec.rb
│ │ │ ├── shuffle_spec.rb
│ │ │ ├── size_spec.rb
│ │ │ ├── sort_spec.rb
│ │ │ ├── squeeze_spec.rb
│ │ │ ├── str2bool_spec.rb
│ │ │ ├── str2saltedsha512_spec.rb
│ │ │ ├── strftime_spec.rb
│ │ │ ├── strip_spec.rb
│ │ │ ├── suffix_spec.rb
│ │ │ ├── swapcase_spec.rb
│ │ │ ├── time_spec.rb
│ │ │ ├── to_bytes_spec.rb
│ │ │ ├── try_get_value_spec.rb
│ │ │ ├── type3x_spec.rb
│ │ │ ├── type_of_spec.rb
│ │ │ ├── type_spec.rb
│ │ │ ├── union_spec.rb
│ │ │ ├── unique_spec.rb
│ │ │ ├── unix2dos_spec.rb
│ │ │ ├── upcase_spec.rb
│ │ │ ├── uriescape_spec.rb
│ │ │ ├── validate_absolute_path_spec.rb
│ │ │ ├── validate_array_spec.rb
│ │ │ ├── validate_augeas_spec.rb
│ │ │ ├── validate_bool_spec.rb
│ │ │ ├── validate_cmd_spec.rb
│ │ │ ├── validate_hash_spec.rb
│ │ │ ├── validate_integer_spec.rb
│ │ │ ├── validate_ip_address_spec.rb
│ │ │ ├── validate_ipv4_address_spec.rb
│ │ │ ├── validate_ipv6_address_spec.rb
│ │ │ ├── validate_numeric_spec.rb
│ │ │ ├── validate_re_spec.rb
│ │ │ ├── validate_slength_spec.rb
│ │ │ ├── validate_string_spec.rb
│ │ │ ├── values_at_spec.rb
│ │ │ ├── values_spec.rb
│ │ │ └── zip_spec.rb
│ │ │ ├── monkey_patches
│ │ │ ├── alias_should_to_must.rb
│ │ │ └── publicize_methods.rb
│ │ │ ├── puppetlabs_spec_helper_clone.rb
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── spec_helper_acceptance.rb
│ │ │ └── unit
│ │ │ ├── facter
│ │ │ ├── facter_dot_d_spec.rb
│ │ │ ├── package_provider_spec.rb
│ │ │ ├── pe_version_spec.rb
│ │ │ ├── root_home_spec.rb
│ │ │ ├── service_provider_spec.rb
│ │ │ └── util
│ │ │ │ └── puppet_settings_spec.rb
│ │ │ └── puppet
│ │ │ ├── parser
│ │ │ └── functions
│ │ │ │ └── is_absolute_path_spec.rb
│ │ │ ├── provider
│ │ │ └── file_line
│ │ │ │ └── ruby_spec.rb
│ │ │ └── type
│ │ │ ├── anchor_spec.rb
│ │ │ └── file_line_spec.rb
│ │ ├── supervisord
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .nodeset.yml
│ │ ├── .travis.yml
│ │ ├── Changelog
│ │ ├── Gemfile
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ └── parser
│ │ │ │ └── functions
│ │ │ │ ├── array2csv.rb
│ │ │ │ └── hash2csv.rb
│ │ ├── manifests
│ │ │ ├── config.pp
│ │ │ ├── eventlistener.pp
│ │ │ ├── fcgi_program.pp
│ │ │ ├── group.pp
│ │ │ ├── init.pp
│ │ │ ├── install.pp
│ │ │ ├── params.pp
│ │ │ ├── pip.pp
│ │ │ ├── program.pp
│ │ │ ├── reload.pp
│ │ │ ├── service.pp
│ │ │ └── supervisorctl.pp
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── nodesets
│ │ │ │ │ ├── centos-65-i386.yml
│ │ │ │ │ ├── centos-65-x64.yml
│ │ │ │ │ ├── debian-73-i386.yml
│ │ │ │ │ ├── debian-73-x64.yml
│ │ │ │ │ └── default.yml
│ │ │ │ └── supervisord_spec.rb
│ │ │ ├── classes
│ │ │ │ └── supervisord_spec.rb
│ │ │ ├── defines
│ │ │ │ ├── eventlistener_spec.rb
│ │ │ │ ├── fcgi_program_spec.rb
│ │ │ │ ├── group_spec.rb
│ │ │ │ ├── program_spec.rb
│ │ │ │ └── supervisorctl.rb
│ │ │ ├── functions
│ │ │ │ ├── array2csv_spec.rb
│ │ │ │ └── hash2csv_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ └── spec_helper_acceptance.rb
│ │ ├── templates
│ │ │ ├── conf
│ │ │ │ ├── eventlistener.erb
│ │ │ │ ├── fcgi_program.erb
│ │ │ │ ├── group.erb
│ │ │ │ └── program.erb
│ │ │ ├── init
│ │ │ │ ├── Debian
│ │ │ │ │ ├── defaults.erb
│ │ │ │ │ └── init.erb
│ │ │ │ └── RedHat
│ │ │ │ │ ├── defaults.erb
│ │ │ │ │ └── init.erb
│ │ │ ├── supervisord_inet.erb
│ │ │ ├── supervisord_main.erb
│ │ │ └── supervisord_unix.erb
│ │ └── tests
│ │ │ ├── group.pp
│ │ │ ├── init.pp
│ │ │ └── program.pp
│ │ ├── swap_file
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .rspec
│ │ ├── .travis.yml
│ │ ├── CHANGELOG.md
│ │ ├── CONTRIBUTING.md
│ │ ├── CONTRIBUTORS
│ │ ├── Gemfile
│ │ ├── Guardfile
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ └── params.pp
│ │ ├── spec
│ │ │ ├── acceptance
│ │ │ │ ├── class_spec.rb
│ │ │ │ └── nodesets
│ │ │ │ │ ├── centos-64-x64.yml
│ │ │ │ │ ├── default.yml
│ │ │ │ │ └── ubuntu-server-12042-x64.yml
│ │ │ ├── classes
│ │ │ │ ├── coverage_spec.rb
│ │ │ │ └── swap_file_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ └── spec_helper_acceptance.rb
│ │ └── tests
│ │ │ └── init.pp
│ │ ├── sysctl
│ │ ├── ChangeLog
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── base.pp
│ │ │ └── init.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── sysctl_base_spec.rb
│ │ │ ├── defines
│ │ │ │ └── sysctl_init_spec.rb
│ │ │ └── spec_helper.rb
│ │ ├── templates
│ │ │ └── sysctl.d-file.erb
│ │ └── tests
│ │ │ ├── base.pp
│ │ │ └── init.pp
│ │ ├── timezone
│ │ ├── .fixtures.yml
│ │ ├── .gitignore
│ │ ├── .rspec
│ │ ├── .travis.yml
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── manifests
│ │ │ ├── init.pp
│ │ │ └── params.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ │ ├── classes
│ │ │ │ └── timezone_spec.rb
│ │ │ ├── spec_helper.rb
│ │ │ └── support
│ │ │ │ ├── debian.rb
│ │ │ │ ├── freebsd.rb
│ │ │ │ ├── gentoo.rb
│ │ │ │ ├── redhat.rb
│ │ │ │ └── validate_params.rb
│ │ ├── templates
│ │ │ ├── clock.erb
│ │ │ └── timezone.erb
│ │ └── tests
│ │ │ └── init.pp
│ │ ├── vcsrepo
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── CHANGELOG
│ │ ├── Gemfile
│ │ ├── LICENSE
│ │ ├── Modulefile
│ │ ├── README.BZR.markdown
│ │ ├── README.CVS.markdown
│ │ ├── README.GIT.markdown
│ │ ├── README.HG.markdown
│ │ ├── README.SVN.markdown
│ │ ├── README.markdown
│ │ ├── Rakefile
│ │ ├── examples
│ │ │ ├── bzr
│ │ │ │ ├── branch.pp
│ │ │ │ └── init_repo.pp
│ │ │ ├── cvs
│ │ │ │ ├── local.pp
│ │ │ │ └── remote.pp
│ │ │ ├── git
│ │ │ │ ├── bare_init.pp
│ │ │ │ ├── clone.pp
│ │ │ │ └── working_copy_init.pp
│ │ │ ├── hg
│ │ │ │ ├── clone.pp
│ │ │ │ └── init_repo.pp
│ │ │ └── svn
│ │ │ │ ├── checkout.pp
│ │ │ │ └── server.pp
│ │ ├── lib
│ │ │ └── puppet
│ │ │ │ ├── provider
│ │ │ │ ├── vcsrepo.rb
│ │ │ │ └── vcsrepo
│ │ │ │ │ ├── bzr.rb
│ │ │ │ │ ├── cvs.rb
│ │ │ │ │ ├── dummy.rb
│ │ │ │ │ ├── git.rb
│ │ │ │ │ ├── hg.rb
│ │ │ │ │ └── svn.rb
│ │ │ │ └── type
│ │ │ │ └── vcsrepo.rb
│ │ └── spec
│ │ │ ├── fixtures
│ │ │ ├── bzr_version_info.txt
│ │ │ ├── git_branch_a.txt
│ │ │ ├── git_branch_feature_bar.txt
│ │ │ ├── git_branch_none.txt
│ │ │ ├── hg_parents.txt
│ │ │ ├── hg_tags.txt
│ │ │ └── svn_info.txt
│ │ │ ├── spec.opts
│ │ │ ├── spec_helper.rb
│ │ │ ├── support
│ │ │ ├── filesystem_helpers.rb
│ │ │ └── fixture_helpers.rb
│ │ │ └── unit
│ │ │ └── puppet
│ │ │ ├── provider
│ │ │ └── vcsrepo
│ │ │ │ ├── bzr_spec.rb
│ │ │ │ ├── cvs_spec.rb
│ │ │ │ ├── git_spec.rb
│ │ │ │ ├── hg_spec.rb
│ │ │ │ └── svn_spec.rb
│ │ │ └── type
│ │ │ └── README.markdown
│ │ └── yum
│ │ ├── .fixtures.yml
│ │ ├── .gemfile
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── Rakefile
│ │ ├── files
│ │ ├── Amazon.3
│ │ │ └── rpm-gpg
│ │ │ │ ├── RPM-GPG-KEY-CentOS-6
│ │ │ │ ├── RPM-GPG-KEY-EPEL
│ │ │ │ ├── RPM-GPG-KEY-RBEL
│ │ │ │ ├── RPM-GPG-KEY-beta
│ │ │ │ ├── RPM-GPG-KEY-kbsingh
│ │ │ │ ├── RPM-GPG-KEY-remi
│ │ │ │ ├── RPM-GPG-KEY-rpmforge-dag
│ │ │ │ ├── RPM-GPG-KEY-webtatic-andy
│ │ │ │ ├── RPM-GPG-KEY.atrpms
│ │ │ │ └── RubyWorks.GPG.key
│ │ ├── CentOS.4
│ │ │ └── rpm-gpg
│ │ │ │ └── RPM-GPG-KEY-EPEL
│ │ ├── CentOS.5
│ │ │ └── rpm-gpg
│ │ │ │ ├── RPM-GPG-KEY-CentOS-5
│ │ │ │ ├── RPM-GPG-KEY-EPEL
│ │ │ │ ├── RPM-GPG-KEY-RBEL
│ │ │ │ ├── RPM-GPG-KEY-beta
│ │ │ │ ├── RPM-GPG-KEY-kbsingh
│ │ │ │ ├── RPM-GPG-KEY-remi
│ │ │ │ ├── RPM-GPG-KEY-rpmforge-dag
│ │ │ │ ├── RPM-GPG-KEY-webtatic-andy
│ │ │ │ ├── RPM-GPG-KEY.art
│ │ │ │ ├── RPM-GPG-KEY.atrpms
│ │ │ │ └── RubyWorks.GPG.key
│ │ ├── CentOS.6
│ │ │ └── rpm-gpg
│ │ │ │ ├── RPM-GPG-KEY-CentOS-6
│ │ │ │ ├── RPM-GPG-KEY-EPEL
│ │ │ │ ├── RPM-GPG-KEY-PGDG
│ │ │ │ ├── RPM-GPG-KEY-RBEL
│ │ │ │ ├── RPM-GPG-KEY-beta
│ │ │ │ ├── RPM-GPG-KEY-kbsingh
│ │ │ │ ├── RPM-GPG-KEY-remi
│ │ │ │ ├── RPM-GPG-KEY-rpmforge-dag
│ │ │ │ ├── RPM-GPG-KEY-webtatic-andy
│ │ │ │ ├── RPM-GPG-KEY.art
│ │ │ │ ├── RPM-GPG-KEY.atrpms
│ │ │ │ └── RubyWorks.GPG.key
│ │ ├── CentOS.7
│ │ │ └── rpm-gpg
│ │ │ │ ├── RPM-GPG-KEY-CentOS-7
│ │ │ │ ├── RPM-GPG-KEY-EPEL
│ │ │ │ ├── RPM-GPG-KEY-PGDG
│ │ │ │ ├── RPM-GPG-KEY-RBEL
│ │ │ │ ├── RPM-GPG-KEY-beta
│ │ │ │ ├── RPM-GPG-KEY-kbsingh
│ │ │ │ ├── RPM-GPG-KEY-remi
│ │ │ │ ├── RPM-GPG-KEY-rpmforge-dag
│ │ │ │ ├── RPM-GPG-KEY-webtatic-andy
│ │ │ │ ├── RPM-GPG-KEY.art
│ │ │ │ ├── RPM-GPG-KEY.atrpms
│ │ │ │ └── RubyWorks.GPG.key
│ │ ├── Scientific.6
│ │ │ └── rpm-gpg
│ │ │ │ ├── RPM-GPG-KEY-CentOS-5
│ │ │ │ ├── RPM-GPG-KEY-EPEL
│ │ │ │ ├── RPM-GPG-KEY-RBEL
│ │ │ │ ├── RPM-GPG-KEY-beta
│ │ │ │ ├── RPM-GPG-KEY-dawson
│ │ │ │ ├── RPM-GPG-KEY-redhat-beta
│ │ │ │ ├── RPM-GPG-KEY-redhat-legacy-former
│ │ │ │ ├── RPM-GPG-KEY-redhat-legacy-release
│ │ │ │ ├── RPM-GPG-KEY-redhat-legacy-rhx
│ │ │ │ ├── RPM-GPG-KEY-redhat-release
│ │ │ │ ├── RPM-GPG-KEY-remi
│ │ │ │ ├── RPM-GPG-KEY-rpmforge-dag
│ │ │ │ ├── RPM-GPG-KEY-sl
│ │ │ │ ├── RPM-GPG-KEY-sl3
│ │ │ │ ├── RPM-GPG-KEY-sl4
│ │ │ │ ├── RPM-GPG-KEY-sl5
│ │ │ │ ├── RPM-GPG-KEY-sl6
│ │ │ │ ├── RPM-GPG-KEY.atrpms
│ │ │ │ └── RubyWorks.GPG.key
│ │ ├── empty
│ │ │ └── .placeholder
│ │ ├── rpm-gpg
│ │ │ ├── RPM-GPG-KEY-Adiscon
│ │ │ ├── RPM-GPG-KEY-CentOS-5
│ │ │ ├── RPM-GPG-KEY-CentOS-6
│ │ │ ├── RPM-GPG-KEY-CentOS-7
│ │ │ ├── RPM-GPG-KEY-EPEL
│ │ │ ├── RPM-GPG-KEY-EPEL-4
│ │ │ ├── RPM-GPG-KEY-EPEL-5
│ │ │ ├── RPM-GPG-KEY-EPEL-6
│ │ │ ├── RPM-GPG-KEY-EPEL-7
│ │ │ ├── RPM-GPG-KEY-NewRelic
│ │ │ ├── RPM-GPG-KEY-PGDG
│ │ │ ├── RPM-GPG-KEY-RBEL
│ │ │ ├── RPM-GPG-KEY-VMWARE-PACKAGING
│ │ │ ├── RPM-GPG-KEY-beta
│ │ │ ├── RPM-GPG-KEY-cloudera
│ │ │ ├── RPM-GPG-KEY-elasticsearch
│ │ │ ├── RPM-GPG-KEY-elrepo.org
│ │ │ ├── RPM-GPG-KEY-erlang_solutions
│ │ │ ├── RPM-GPG-KEY-icinga
│ │ │ ├── RPM-GPG-KEY-kbsingh
│ │ │ ├── RPM-GPG-KEY-mysql
│ │ │ ├── RPM-GPG-KEY-puppetlabs
│ │ │ ├── RPM-GPG-KEY-redhat-beta
│ │ │ ├── RPM-GPG-KEY-redhat-legacy-former
│ │ │ ├── RPM-GPG-KEY-redhat-legacy-release
│ │ │ ├── RPM-GPG-KEY-redhat-legacy-rhx
│ │ │ ├── RPM-GPG-KEY-redhat-release
│ │ │ ├── RPM-GPG-KEY-remi
│ │ │ ├── RPM-GPG-KEY-rpmforge-dag
│ │ │ ├── RPM-GPG-KEY-sl
│ │ │ ├── RPM-GPG-KEY-webtatic-andy
│ │ │ ├── RPM-GPG-KEY-webtatic-el7
│ │ │ ├── RPM-GPG-KEY.art
│ │ │ ├── RPM-GPG-KEY.atrpms
│ │ │ └── RubyWorks.GPG.key
│ │ └── yum-updatesd.conf
│ │ ├── manifests
│ │ ├── cron.pp
│ │ ├── defaults.pp
│ │ ├── init.pp
│ │ ├── managed_yumrepo.pp
│ │ ├── params.pp
│ │ ├── plugin.pp
│ │ ├── plugin
│ │ │ ├── security.pp
│ │ │ └── versionlock.pp
│ │ ├── prerequisites.pp
│ │ ├── repo
│ │ │ ├── a10gen.pp
│ │ │ ├── atomic.pp
│ │ │ ├── atrpms.pp
│ │ │ ├── cdh5.pp
│ │ │ ├── centalt.pp
│ │ │ ├── centos4.pp
│ │ │ ├── centos5.pp
│ │ │ ├── centos6.pp
│ │ │ ├── centos7.pp
│ │ │ ├── centos_testing.pp
│ │ │ ├── ceph.pp
│ │ │ ├── cuda.pp
│ │ │ ├── dell_omsa.pp
│ │ │ ├── devtools.pp
│ │ │ ├── devtools2.pp
│ │ │ ├── elasticsearch10.pp
│ │ │ ├── elasticsearch17.pp
│ │ │ ├── elasticsearch90.pp
│ │ │ ├── elastix.pp
│ │ │ ├── elrepo.pp
│ │ │ ├── epel.pp
│ │ │ ├── esl.pp
│ │ │ ├── foreman.pp
│ │ │ ├── icinga.pp
│ │ │ ├── integ_ganeti.pp
│ │ │ ├── jenkins.pp
│ │ │ ├── jpackage5.pp
│ │ │ ├── jpackage6.pp
│ │ │ ├── karan.pp
│ │ │ ├── kibana41.pp
│ │ │ ├── logstash13.pp
│ │ │ ├── logstash14.pp
│ │ │ ├── logstashforwarder.pp
│ │ │ ├── mod_pagespeed.pp
│ │ │ ├── mongodb.pp
│ │ │ ├── monitoringsucks.pp
│ │ │ ├── mysql_community.pp
│ │ │ ├── newrelic.pp
│ │ │ ├── nginx.pp
│ │ │ ├── openshift3.pp
│ │ │ ├── openshift_server.pp
│ │ │ ├── openstack_grizzly.pp
│ │ │ ├── passenger.pp
│ │ │ ├── percona.pp
│ │ │ ├── pgdg91.pp
│ │ │ ├── pgdg92.pp
│ │ │ ├── pgdg93.pp
│ │ │ ├── pgdg94.pp
│ │ │ ├── pgdg95.pp
│ │ │ ├── pulp.pp
│ │ │ ├── puppetdevel.pp
│ │ │ ├── puppetlabs.pp
│ │ │ ├── puppetlabs_collections.pp
│ │ │ ├── rbel.pp
│ │ │ ├── remi.pp
│ │ │ ├── remi_php55.pp
│ │ │ ├── remi_php56.pp
│ │ │ ├── remi_php70.pp
│ │ │ ├── repoforge.pp
│ │ │ ├── repoforgeextras.pp
│ │ │ ├── rpmforge.pp
│ │ │ ├── rsyslog_v7.pp
│ │ │ ├── rundeck1.pp
│ │ │ ├── rundeck2.pp
│ │ │ ├── scl.pp
│ │ │ ├── sclruby200.pp
│ │ │ ├── shibboleth.pp
│ │ │ ├── sl5.pp
│ │ │ ├── sl6.pp
│ │ │ ├── tengen.pp
│ │ │ ├── tmz.pp
│ │ │ ├── varnish.pp
│ │ │ ├── vfabric.pp
│ │ │ ├── virtualbox.pp
│ │ │ ├── vmware_tools.pp
│ │ │ ├── webtatic.pp
│ │ │ ├── xenserver.pp
│ │ │ ├── zabbix18.pp
│ │ │ ├── zabbix20.pp
│ │ │ ├── zabbix22.pp
│ │ │ └── zabbix24.pp
│ │ ├── updatesd.pp
│ │ └── versionlock.pp
│ │ ├── metadata.json
│ │ ├── spec
│ │ ├── classes
│ │ │ └── yum_spec.rb
│ │ └── spec_helper.rb
│ │ └── templates
│ │ ├── yum-cron-rhel7.erb
│ │ └── yum-cron.erb
├── ruby
│ ├── deep_merge.rb
│ ├── puppet.rb
│ └── to_bool.rb
├── shell
│ ├── ascii-art
│ │ ├── important-notices.txt
│ │ └── self-promotion.txt
│ ├── check-puppet-modules.sh
│ ├── execute-files.sh
│ ├── important-notices.sh
│ ├── initial-setup.sh
│ ├── install-puppet.sh
│ ├── os-detect.sh
│ └── ssh-keygen.sh
└── vagrant
│ ├── Vagrantfile-aws
│ ├── Vagrantfile-digitalocean
│ ├── Vagrantfile-gce
│ ├── Vagrantfile-ikoulacloud
│ ├── Vagrantfile-linode
│ ├── Vagrantfile-local
│ ├── Vagrantfile-rackspace
│ └── Vagrantfile-softlayer
├── readMosquittoLog.sh
├── reports
└── Making_sense_visit_bcn.docx
├── sensor_kit
├── LICENCE
├── code
│ ├── datalogger
│ │ └── datalogger.ino
│ └── making-sense-esp8266
│ │ └── making-sense-esp8266.ino
├── doc
│ ├── README
│ └── Sensor_Kit_doc.pdf
├── images
│ ├── prototype_0
│ │ ├── IMG_0001.jpg
│ │ ├── IMG_0003.jpg
│ │ ├── IMG_0004.jpg
│ │ ├── IMG_0005.jpg
│ │ ├── IMG_0006.jpg
│ │ ├── IMG_0007.jpg
│ │ ├── IMG_0008.jpg
│ │ ├── IMG_0009.jpg
│ │ ├── IMG_0010.jpg
│ │ ├── IMG_0011.jpg
│ │ └── IMG_0012.jpg
│ ├── prototype_0_1
│ │ ├── IMG_0037.jpg
│ │ ├── IMG_0038.jpg
│ │ └── IMG_0039.jpg
│ └── prototype_1
│ │ ├── IMG_0040.jpg
│ │ ├── IMG_0041.jpg
│ │ ├── IMG_0042.jpg
│ │ ├── IMG_0043.jpg
│ │ ├── IMG_0044.jpg
│ │ ├── IMG_0045.jpg
│ │ ├── IMG_0046.jpg
│ │ ├── IMG_0047.jpg
│ │ ├── IMG_0048.jpg
│ │ ├── IMG_0049.jpg
│ │ ├── IMG_0050.jpg
│ │ ├── IMG_0051.jpg
│ │ ├── IMG_0052.jpg
│ │ └── IMG_0053.jpg
└── layout
│ ├── Making Sense Sensorboard.png
│ └── Making Sense Shield.png
├── server
├── .gitignore
├── airqserver
│ ├── .gitignore
│ ├── Gemfile
│ ├── Gemfile.lock
│ ├── Passengerfile.json
│ ├── airqserver.logrotate
│ ├── airqserver.service
│ ├── app.rb
│ ├── config.ru
│ └── views
│ │ └── index.erb
├── conf
│ ├── aclfile
│ └── mosquitto.conf
├── dataexport
│ ├── distributeData.sh
│ ├── toRIVM.logrotate
│ └── toRIVM.sh
├── dataimport
│ ├── Gemfile
│ ├── Gemfile.lock
│ ├── ndw_traveltimeams.logrotate
│ └── ndw_traveltimeams.rb
├── db
│ ├── airq.sql
│ ├── backupAirQ.sh
│ ├── lora.sql
│ ├── lora2.sql
│ ├── smartkids.sql
│ └── splitTable.sh
└── mosquitto-agent
│ ├── Gemfile
│ ├── Gemfile.lock
│ ├── airq-agent.logrotate
│ ├── airq-agent.rb
│ ├── airq-agent.service
│ ├── lora-agent.rb
│ ├── ruby-lint.yml
│ ├── sensor-agent.rb
│ ├── smartkids-agent.logrotate
│ ├── smartkids-agent.rb
│ ├── startLoraAgent.rb
│ ├── startSmartKidsAgent.rb
│ └── testMQTT.sh
├── setVagrantAWS.sh
└── statistics
├── NO2_AlphaSenseparameters.csv
├── Statistics.Rproj
└── sensorActivity.R
/data/ECN_airbox_rapport.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/data/ECN_airbox_rapport.pdf
--------------------------------------------------------------------------------
/data/final_presentation_20161019.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/data/final_presentation_20161019.pdf
--------------------------------------------------------------------------------
/data/sensormeasures.csv.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/data/sensormeasures.csv.zip
--------------------------------------------------------------------------------
/puphpet/files/dot/.bash_aliases:
--------------------------------------------------------------------------------
1 | source ~/.bashrc
2 |
--------------------------------------------------------------------------------
/puphpet/files/dot/.bash_profile:
--------------------------------------------------------------------------------
1 | source ~/.bashrc
2 |
3 | PATH=$PATH:$HOME/bin
4 | export PATH
5 |
--------------------------------------------------------------------------------
/puphpet/files/dot/README.txt:
--------------------------------------------------------------------------------
1 | You can add all your dot files ( .bash_aliases, .vimrc, .gitconfig, etc), to the puphpet/files/dot/ folder
2 | that will appear after you extract your generated zip file.
3 |
4 | During initial startup, they will automatically be copied into the VM. There is a sample .bashrc
5 | file there for you to start with - overwrite at will!
6 |
--------------------------------------------------------------------------------
/puphpet/files/exec-always-unprivileged/020_setUpDB.sh:
--------------------------------------------------------------------------------
1 | MY_DIR=$HOME/src/making-sensor/server
2 |
3 | sudo su postgres -c 'psql' < ${MY_DIR}/db/airq.sql
4 |
--------------------------------------------------------------------------------
/puphpet/files/exec-always-unprivileged/050_installConf.sh:
--------------------------------------------------------------------------------
1 | CONF_DIR=/aws-conf
2 | LOCAL_CONF_DIR="$(dirname $(find ${HOME}/src -type f -name mosquitto.conf))"
3 |
4 | if [ -d ${CONF_DIR} ]
5 | then
6 | cp ${CONF_DIR}/* ${LOCAL_CONF_DIR}
7 | fi
8 |
--------------------------------------------------------------------------------
/puphpet/files/exec-always-unprivileged/empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/files/exec-always-unprivileged/empty
--------------------------------------------------------------------------------
/puphpet/files/exec-always/empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/files/exec-always/empty
--------------------------------------------------------------------------------
/puphpet/files/exec-once-unprivileged/empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/files/exec-once-unprivileged/empty
--------------------------------------------------------------------------------
/puphpet/files/exec-once/empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/files/exec-once/empty
--------------------------------------------------------------------------------
/puphpet/files/exec-preprovision/empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/files/exec-preprovision/empty
--------------------------------------------------------------------------------
/puphpet/files/startup-always-unprivileged/empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/files/startup-always-unprivileged/empty
--------------------------------------------------------------------------------
/puphpet/files/startup-always/empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/files/startup-always/empty
--------------------------------------------------------------------------------
/puphpet/files/startup-once-unprivileged/empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/files/startup-once-unprivileged/empty
--------------------------------------------------------------------------------
/puphpet/files/startup-once/empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/files/startup-once/empty
--------------------------------------------------------------------------------
/puphpet/puppet/hiera.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | :backends: yaml
3 | :yaml:
4 | :datadir: '/vagrant/puphpet'
5 | :hierarchy:
6 | - config-%{::provisioner_type}
7 | - config-custom
8 | - config
9 | :merge_behavior: deeper
10 | :logger: console
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/manifests/Blackfire.pp:
--------------------------------------------------------------------------------
1 | class puphpet_blackfire (
2 | $blackfire
3 | ) {
4 |
5 | create_resources('class', {
6 | 'blackfire' => $blackfire['settings']
7 | })
8 |
9 | }
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/README.md:
--------------------------------------------------------------------------------
1 | # Puppet module: puphpet
2 |
3 | This is a Puppet module for [PuPHPet](https://puphpet.com)-related code
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git"
4 | concat:
5 | repo: "git://github.com/puppetlabs/puppetlabs-concat.git"
6 | branch: "1.2.x"
7 | portage: "git://github.com/gentoo/puppet-portage.git"
8 | symlinks:
9 | apache: "#{source_dir}"
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/.geppetto-rc.json:
--------------------------------------------------------------------------------
1 | {
2 | "excludes": [
3 | "**/contrib/**",
4 | "**/examples/**",
5 | "**/tests/**",
6 | "**/spec/**",
7 | "**/pkg/**"
8 | ]
9 | }
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | Gemfile.lock
3 | vendor/
4 | spec/fixtures/
5 | .vagrant/
6 | .bundle/
7 | coverage/
8 | .idea/
9 | *.iml
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/.puppet-lint.rc:
--------------------------------------------------------------------------------
1 | --relative
2 | --no-single_quote_string_with_variables-check
3 | --no-80chars-check
4 | --no-class_inherits_from_params_class-check
5 | --no-documentation-check
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/.sync.yml:
--------------------------------------------------------------------------------
1 | ---
2 | .travis.yml:
3 | Rakefile:
4 | extra_disabled_lint_checks:
5 | - 'disable_only_variable_string'
6 | spec/spec_helper.rb:
7 | unmanaged: true
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/examples/apache.pp:
--------------------------------------------------------------------------------
1 | include apache
2 | include apache::mod::php
3 | include apache::mod::cgi
4 | include apache::mod::userdir
5 | include apache::mod::disk_cache
6 | include apache::mod::proxy_http
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/examples/dev.pp:
--------------------------------------------------------------------------------
1 | include apache::mod::dev
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/examples/init.pp:
--------------------------------------------------------------------------------
1 | include apache
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/examples/mod_load_params.pp:
--------------------------------------------------------------------------------
1 | # Tests the path and identifier parameters for the apache::mod class
2 |
3 | # Base class for clarity:
4 | class { 'apache': }
5 |
6 |
7 | # Exaple parameter usage:
8 | apache::mod { 'testmod':
9 | path => '/usr/some/path/mod_testmod.so',
10 | id => 'testmod_custom_name',
11 | }
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/examples/mods.pp:
--------------------------------------------------------------------------------
1 | ## Default mods
2 |
3 | # Base class. Declares default vhost on port 80 and default ssl
4 | # vhost on port 443 listening on all interfaces and serving
5 | # $apache::docroot, and declaring our default set of modules.
6 | class { 'apache':
7 | default_mods => true,
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/examples/php.pp:
--------------------------------------------------------------------------------
1 | class { 'apache':
2 | mpm_module => 'prefork',
3 | }
4 | include apache::mod::php
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/default_mods/load.pp:
--------------------------------------------------------------------------------
1 | # private define
2 | define apache::default_mods::load ($module = $title) {
3 | if defined("apache::mod::${module}") {
4 | include "::apache::mod::${module}"
5 | } else {
6 | ::apache::mod { $module: }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/dev.pp:
--------------------------------------------------------------------------------
1 | class apache::dev {
2 | include ::apache::params
3 | $packages = $::apache::dev_packages
4 | if $packages { # FreeBSD doesn't have dev packages to install
5 | package { $packages:
6 | ensure => present,
7 | require => Package['httpd'],
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/listen.pp:
--------------------------------------------------------------------------------
1 | define apache::listen {
2 | $listen_addr_port = $name
3 |
4 | # Template uses: $listen_addr_port
5 | concat::fragment { "Listen ${listen_addr_port}":
6 | ensure => present,
7 | target => $::apache::ports_file,
8 | content => template('apache/listen.erb'),
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/actions.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::actions {
2 | apache::mod { 'actions': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/auth_basic.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::auth_basic {
2 | ::apache::mod { 'auth_basic': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/auth_kerb.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::auth_kerb {
2 | ::apache::mod { 'auth_kerb': }
3 | }
4 |
5 |
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/authn_core.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::authn_core(
2 | $apache_version = $::apache::apache_version
3 | ) {
4 | if versioncmp($apache_version, '2.4') >= 0 {
5 | ::apache::mod { 'authn_core': }
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/authn_file.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::authn_file {
2 | ::apache::mod { 'authn_file': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/authz_default.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::authz_default(
2 | $apache_version = $::apache::apache_version
3 | ) {
4 | if versioncmp($apache_version, '2.4') >= 0 {
5 | warning('apache::mod::authz_default has been removed in Apache 2.4')
6 | } else {
7 | ::apache::mod { 'authz_default': }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/authz_user.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::authz_user {
2 | ::apache::mod { 'authz_user': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/cache.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::cache {
2 | ::apache::mod { 'cache': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/cgi.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::cgi {
2 | case $::osfamily {
3 | 'FreeBSD': {}
4 | default: {
5 | Class['::apache::mod::prefork'] -> Class['::apache::mod::cgi']
6 | }
7 | }
8 |
9 | ::apache::mod { 'cgi': }
10 | }
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/dav.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::dav {
2 | ::apache::mod { 'dav': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/dev.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::dev {
2 | # Development packages are not apache modules
3 | warning('apache::mod::dev is deprecated; please use apache::dev')
4 | include ::apache::dev
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/filter.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::filter {
2 | ::apache::mod { 'filter': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/headers.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::headers {
2 | ::apache::mod { 'headers': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/include.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::include {
2 | ::apache::mod { 'include': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/perl.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::perl {
2 | ::apache::mod { 'perl': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/proxy_ajp.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::proxy_ajp {
2 | Class['::apache::mod::proxy'] -> Class['::apache::mod::proxy_ajp']
3 | ::apache::mod { 'proxy_ajp': }
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/proxy_connect.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::proxy_connect (
2 | $apache_version = $::apache::apache_version,
3 | ) {
4 | if versioncmp($apache_version, '2.2') >= 0 {
5 | Class['::apache::mod::proxy'] -> Class['::apache::mod::proxy_connect']
6 | ::apache::mod { 'proxy_connect': }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/proxy_http.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::proxy_http {
2 | Class['::apache::mod::proxy'] -> Class['::apache::mod::proxy_http']
3 | ::apache::mod { 'proxy_http': }
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/python.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::python {
2 | ::apache::mod { 'python': }
3 | }
4 |
5 |
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/rewrite.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::rewrite {
2 | include ::apache::params
3 | ::apache::mod { 'rewrite': }
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/speling.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::speling {
2 | ::apache::mod { 'speling': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/suexec.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::suexec {
2 | ::apache::mod { 'suexec': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/version.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::version(
2 | $apache_version = $::apache::apache_version
3 | ) {
4 |
5 | if ($::osfamily == 'debian' and versioncmp($apache_version, '2.4') >= 0) {
6 | warning("${module_name}: module version_module is built-in and can't be loaded")
7 | } else {
8 | ::apache::mod { 'version': }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/vhost_alias.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::vhost_alias {
2 | ::apache::mod { 'vhost_alias': }
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/mod/xsendfile.pp:
--------------------------------------------------------------------------------
1 | class apache::mod::xsendfile {
2 | include ::apache::params
3 | ::apache::mod { 'xsendfile': }
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/namevirtualhost.pp:
--------------------------------------------------------------------------------
1 | define apache::namevirtualhost {
2 | $addr_port = $name
3 |
4 | # Template uses: $addr_port
5 | concat::fragment { "NameVirtualHost ${addr_port}":
6 | ensure => present,
7 | target => $::apache::ports_file,
8 | content => template('apache/namevirtualhost.erb'),
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/manifests/proxy.pp:
--------------------------------------------------------------------------------
1 | # Class: apache::proxy
2 | #
3 | # This class enabled the proxy module for Apache
4 | #
5 | # Actions:
6 | # - Enables Apache Proxy module
7 | #
8 | # Requires:
9 | #
10 | # Sample Usage:
11 | #
12 | class apache::proxy {
13 | warning('apache::proxy is deprecated; please use apache::mod::proxy')
14 | include ::apache::mod::proxy
15 | }
16 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/spec/acceptance/nodesets/centos-70-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-70-x64:
3 | roles:
4 | - master
5 | platform: el-7-x86_64
6 | box : puppetlabs/centos-7.0-64-nocm
7 | box_url : https://vagrantcloud.com/puppetlabs/boxes/centos-7.0-64-nocm
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: verbose
11 | type: foss
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/spec/acceptance/nodesets/debian-73-i386.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-i386:
3 | roles:
4 | - master
5 | platform: debian-7-i386
6 | box : debian-73-i386-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-i386-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-66-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : puppetlabs/centos-6.6-64-nocm
7 | hypervisor : vagrant
8 | CONFIG:
9 | log_level: debug
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/confd/no-accf.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | AcceptFilter http none
3 | AcceptFilter https none
4 |
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/fastcgi/server.erb:
--------------------------------------------------------------------------------
1 | FastCGIExternalServer <%= @faux_path %> -idle-timeout <%= @timeout %> <%= if @flush then '-flush' end %> -host <%= @host %>
2 | Alias <%= @fcgi_alias %> <%= @faux_path %>
3 | Action <%= @file_type %> <%= @fcgi_alias %>
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/listen.erb:
--------------------------------------------------------------------------------
1 | <%# Listen should always be one of:
2 | -
3 | - :
4 | - [
5 | -%>
6 | Listen <%= @listen_addr_port %>
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/authnz_ldap.conf.erb:
--------------------------------------------------------------------------------
1 | <% if @verifyServerCert == true -%>
2 | LDAPVerifyServerCert On
3 | <% else -%>
4 | LDAPVerifyServerCert Off
5 | <% end -%>
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/cgid.conf.erb:
--------------------------------------------------------------------------------
1 | ScriptSock "<%= @cgisock_path %>"
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/dav_fs.conf.erb:
--------------------------------------------------------------------------------
1 | DAVLockDB "<%= @dav_lock %>"
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/deflate.conf.erb:
--------------------------------------------------------------------------------
1 | <%- @types.sort.each do |type| -%>
2 | AddOutputFilterByType DEFLATE <%= type %>
3 | <%- end -%>
4 |
5 | <%- @notes.sort.each do |type,note| -%>
6 | DeflateFilterNote <%= type %> <%=note %>
7 | <%- end -%>
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/dir.conf.erb:
--------------------------------------------------------------------------------
1 | DirectoryIndex <%= @indexes.join(' ') %>
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/disk_cache.conf.erb:
--------------------------------------------------------------------------------
1 | CacheEnable disk /
2 | CacheRoot "<%= @_cache_root %>"
3 | CacheDirLevels 2
4 | CacheDirLength 1
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/ext_filter.conf.erb:
--------------------------------------------------------------------------------
1 | # mod_ext_filter definitions
2 | <%- if @ext_filter_define.length >= 1 -%>
3 | <%- @ext_filter_define.keys.sort.each do |name| -%>
4 | ExtFilterDefine <%= name %> <%= @ext_filter_define[name] %>
5 | <%- end -%>
6 | <%- end -%>
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/fastcgi.conf.erb:
--------------------------------------------------------------------------------
1 | # The Fastcgi Apache module configuration file is being
2 | # managed by Puppet and changes will be overwritten.
3 |
4 | AddHandler fastcgi-script .fcgi
5 | FastCgiIpcDir "<%= @fastcgi_lib_path %>"
6 |
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/itk.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | StartServers <%= @startservers %>
3 | MinSpareServers <%= @minspareservers %>
4 | MaxSpareServers <%= @maxspareservers %>
5 | ServerLimit <%= @serverlimit %>
6 | MaxClients <%= @maxclients %>
7 | MaxRequestsPerChild <%= @maxrequestsperchild %>
8 |
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/ldap.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | SetHandler ldap-status
3 | <%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
4 | Require ip 127.0.0.1 ::1
5 | <%- else -%>
6 | Order deny,allow
7 | Deny from all
8 | Allow from 127.0.0.1 ::1
9 | Satisfy all
10 | <%- end -%>
11 |
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/load.erb:
--------------------------------------------------------------------------------
1 | <% if @loadfiles -%>
2 | <% Array(@loadfiles).each do |loadfile| -%>
3 | LoadFile <%= loadfile %>
4 | <% end -%>
5 |
6 | <% end -%>
7 | LoadModule <%= @_id %> <%= @_path %>
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/mime_magic.conf.erb:
--------------------------------------------------------------------------------
1 | MIMEMagicFile "<%= @magic_file %>"
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/mpm_event.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | StartServers 2
3 | MinSpareThreads 25
4 | MaxSpareThreads 75
5 | ThreadLimit 64
6 | ThreadsPerChild 25
7 | MaxClients 150
8 | MaxRequestsPerChild 0
9 |
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/negotiation.conf.erb:
--------------------------------------------------------------------------------
1 | LanguagePriority <%= Array(@language_priority).join(' ') %>
2 | ForceLanguagePriority <%= Array(@force_language_priority).join(' ') %>
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/prefork.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | StartServers <%= @startservers %>
3 | MinSpareServers <%= @minspareservers %>
4 | MaxSpareServers <%= @maxspareservers %>
5 | ServerLimit <%= @serverlimit %>
6 | MaxClients <%= @maxclients %>
7 | MaxRequestsPerChild <%= @maxrequestsperchild %>
8 |
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/reqtimeout.conf.erb:
--------------------------------------------------------------------------------
1 | <% Array(@timeouts).each do |timeout| -%>
2 | RequestReadTimeout <%= timeout %>
3 | <%- end -%>
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/mod/unixd_fcgid.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | <% @options.sort_by {|key, value| key}.each do |key, value| -%>
3 | <%= key %> <%= value %>
4 | <% end -%>
5 |
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/namevirtualhost.erb:
--------------------------------------------------------------------------------
1 | <%# NameVirtualHost should always be one of:
2 | - *
3 | - *:
4 | - _default_:
5 | -
6 | - :
7 | -%>
8 | NameVirtualHost <%= @addr_port %>
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/ports_header.erb:
--------------------------------------------------------------------------------
1 | # ************************************
2 | # Listen & NameVirtualHost resources in module puppetlabs-apache
3 | # Managed by Puppet
4 | # ************************************
5 |
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_action.erb:
--------------------------------------------------------------------------------
1 | <% if @action -%>
2 |
3 | Action <%= @action %> /cgi-bin virtual
4 | <% end -%>
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_additional_includes.erb:
--------------------------------------------------------------------------------
1 | <% Array(@additional_includes).each do |include| -%>
2 |
3 | ## Load additional static includes
4 | <%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 && @use_optional_includes -%>
5 | IncludeOptional "<%= include %>"
6 | <%- else -%>
7 | Include "<%= include %>"
8 | <%- end -%>
9 | <% end -%>
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_allow_encoded_slashes.erb:
--------------------------------------------------------------------------------
1 | <%- if @allow_encoded_slashes -%>
2 |
3 | AllowEncodedSlashes <%= @allow_encoded_slashes %>
4 | <%- end -%>
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_charsets.erb:
--------------------------------------------------------------------------------
1 | <% if @add_default_charset -%>
2 |
3 | AddDefaultCharset <%= @add_default_charset %>
4 | <% end -%>
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_custom_fragment.erb:
--------------------------------------------------------------------------------
1 | <% if @custom_fragment -%>
2 |
3 | ## Custom fragment
4 | <%= @custom_fragment %>
5 | <% end -%>
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_docroot.erb:
--------------------------------------------------------------------------------
1 |
2 | ## Vhost docroot
3 | <% if @virtual_docroot -%>
4 | VirtualDocumentRoot "<%= @virtual_docroot %>"
5 | <% elsif @docroot -%>
6 | DocumentRoot "<%= @docroot %>"
7 | <% end -%>
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_fallbackresource.erb:
--------------------------------------------------------------------------------
1 | <% if @fallbackresource -%>
2 |
3 | FallbackResource <%= @fallbackresource %>
4 | <% end -%>
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_file_footer.erb:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_filters.erb:
--------------------------------------------------------------------------------
1 | <% if @filters and ! @filters.empty? -%>
2 |
3 | ## Filter module rules
4 | ## as per http://httpd.apache.org/docs/2.2/mod/mod_filter.html
5 | <%- Array(@filters).each do |filter| -%>
6 | <%- if filter != '' -%>
7 | <%= filter %>
8 | <%- end -%>
9 | <%- end -%>
10 | <% end -%>
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_header.erb:
--------------------------------------------------------------------------------
1 | <% if @headers and ! @headers.empty? -%>
2 |
3 | ## Header rules
4 | ## as per http://httpd.apache.org/docs/2.2/mod/mod_headers.html#header
5 | <%- Array(@headers).each do |header_statement| -%>
6 | <%- if header_statement != '' -%>
7 | Header <%= header_statement %>
8 | <%- end -%>
9 | <%- end -%>
10 | <% end -%>
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_limits.erb:
--------------------------------------------------------------------------------
1 |
2 | ## Limit Request Values
3 | <% if @limit_request_field_size -%>
4 | LimitRequestFieldSize <%= @limit_request_field_size %>
5 | <% end -%>
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_logging.erb:
--------------------------------------------------------------------------------
1 | <% if @error_log or @log_level -%>
2 |
3 | ## Logging
4 | <% end -%>
5 | <% if @error_log -%>
6 | ErrorLog "<%= @error_log_destination %>"
7 | <% end -%>
8 | <% if @log_level -%>
9 | LogLevel <%= @log_level %>
10 | <% end -%>
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_passenger_base_uris.erb:
--------------------------------------------------------------------------------
1 | <% if @passenger_base_uris -%>
2 |
3 | ## Enable passenger base uris
4 | <% Array(@passenger_base_uris).each do |uri| -%>
5 | PassengerBaseURI <%= uri %>
6 | <% end -%>
7 | <% end -%>
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_rack.erb:
--------------------------------------------------------------------------------
1 | <% if @rack_base_uris -%>
2 |
3 | ## Enable rack
4 | <% Array(@rack_base_uris).each do |uri| -%>
5 | RackBaseURI <%= uri %>
6 | <% end -%>
7 | <% end -%>
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_serveralias.erb:
--------------------------------------------------------------------------------
1 | <% if @serveraliases and ! @serveraliases.empty? -%>
2 |
3 | ## Server aliases
4 | <%- Array(@serveraliases).each do |serveralias| -%>
5 | ServerAlias <%= serveralias %>
6 | <%- end -%>
7 | <% end -%>
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_serversignature.erb:
--------------------------------------------------------------------------------
1 | ServerSignature Off
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apache/templates/vhost/_suexec.erb:
--------------------------------------------------------------------------------
1 | <% if @suexec_user_group -%>
2 |
3 | SuexecUserGroup <%= @suexec_user_group %>
4 | <% end -%>
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | "stdlib":
4 | "repo": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
5 | "ref": "4.5.0"
6 | symlinks:
7 | "apt": "#{source_dir}"
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | Gemfile.lock
3 | vendor/
4 | spec/fixtures/
5 | .vagrant/
6 | .bundle/
7 | coverage/
8 | .idea/
9 | *.iml
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/.puppet-lint.rc:
--------------------------------------------------------------------------------
1 | --no-single_quote_string_with_variables-check
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/examples/builddep.pp:
--------------------------------------------------------------------------------
1 | package{ 'glusterfs-server':
2 | install_options => 'build-dep',
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/examples/disable_keys.pp:
--------------------------------------------------------------------------------
1 | #Note: This is generally a bad idea. You should not disable verifying repository signatures.
2 | apt::conf { 'unauth':
3 | priority => 99,
4 | content => 'APT::Get::AllowUnauthenticated 1;'
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/examples/fancy_progress.pp:
--------------------------------------------------------------------------------
1 | apt::conf { 'progressbar':
2 | priority => 99,
3 | content => 'Dpkg::Progress-Fancy "1";',
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/examples/hold.pp:
--------------------------------------------------------------------------------
1 | apt::pin { 'hold-vim':
2 | packages => 'vim',
3 | version => '2:7.4.488-5',
4 | priority => 1001,
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/examples/key.pp:
--------------------------------------------------------------------------------
1 | # Declare Apt key for apt.puppetlabs.com source
2 | apt::key { 'puppetlabs':
3 | id => '47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30',
4 | server => 'pgp.mit.edu',
5 | options => 'http-proxy="http://proxyuser:proxypass@example.org:3128"',
6 | }
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/examples/pin.pp:
--------------------------------------------------------------------------------
1 | # pin a release in apt, useful for unstable repositories
2 | apt::pin { 'foo':
3 | packages => '*',
4 | priority => 0,
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/examples/ppa.pp:
--------------------------------------------------------------------------------
1 | class { 'apt': }
2 |
3 | # Example declaration of an Apt PPA
4 | apt::ppa{ 'ppa:openstack-ppa/bleeding-edge': }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/examples/release.pp:
--------------------------------------------------------------------------------
1 | apt::conf { 'release':
2 | content => 'APT::Default-Release "karmic";',
3 | priority => '01',
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/examples/unattended_upgrades.pp:
--------------------------------------------------------------------------------
1 | # TODO
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/lib/facter/apt_reboot_required.rb:
--------------------------------------------------------------------------------
1 | # apt_reboot_required.rb
2 | Facter.add(:apt_reboot_required) do
3 | confine :osfamily => 'Debian'
4 | setcode do
5 | File.file?('/var/run/reboot-required')
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/spec/acceptance/nodesets/debian-70rc1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-70rc1-x64:
3 | roles:
4 | - master
5 | platform: debian-70rc1-x64
6 | box : debian-70rc1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-70rc1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-amd64
6 | box : puppetlabs/ubuntu-14.04-64-nocm
7 | box_url : https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level : debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/templates/15update-stamp.erb:
--------------------------------------------------------------------------------
1 | APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/templates/_conf_header.erb:
--------------------------------------------------------------------------------
1 | // This file is managed by Puppet. DO NOT EDIT.
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/templates/_header.erb:
--------------------------------------------------------------------------------
1 | # This file is managed by Puppet. DO NOT EDIT.
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/templates/conf.erb:
--------------------------------------------------------------------------------
1 | <%= @content -%>
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/apt/templates/proxy.erb:
--------------------------------------------------------------------------------
1 | Acquire::http::proxy "http://<%= @_proxy['host'] %>:<%= @_proxy['port'] %>/";
2 | <%- if @_proxy['https'] %>
3 | Acquire::https::proxy "https://<%= @_proxy['host'] %>:<%= @_proxy['port'] %>/";
4 | <%- end -%>
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/beanstalkd/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7']
4 |
5 |
6 | gem 'rake'
7 | gem 'rspec-expectations'
8 | gem 'rspec'
9 | gem 'facter'
10 | gem 'puppet', puppetversion
11 | gem 'rspec-puppet'
12 | gem 'puppetlabs_spec_helper'
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/beanstalkd/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rake'
2 |
3 | require 'rspec/core/rake_task'
4 |
5 | task :default => [:spec]
6 |
7 |
8 | RSpec::Core::RakeTask.new(:spec) do |t|
9 | t.pattern = 'spec/*/*_spec.rb'
10 | end
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/beanstalkd/spec/fixtures/manifests/site.pp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/puppet/modules/beanstalkd/spec/fixtures/manifests/site.pp
--------------------------------------------------------------------------------
/puphpet/puppet/modules/beanstalkd/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'rspec-puppet'
2 |
3 | fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))
4 |
5 | RSpec.configure do |c|
6 | c.module_path = File.join(fixture_path, 'modules')
7 | c.manifest_dir = File.join(fixture_path, 'manifests')
8 | end
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/blackfire/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | forge: "https//forge.puppetlabs.com"
3 | repositories:
4 | apt: 'https://github.com/puppetlabs/puppetlabs-apt.git'
5 | inifile: "git://github.com/puppetlabs/puppetlabs-inifile.git"
6 | stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git"
7 | symlinks:
8 | blackfire: "#{source_dir}"
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/blackfire/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .vagrant/
3 | pkg/
4 | Gemfile.lock
5 | log
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/blackfire/.pmtignore:
--------------------------------------------------------------------------------
1 | junit/
2 | log/
3 | spec/
4 | Gemfile.lock
5 | Rakefile
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/blackfire/manifests/agent/install.pp:
--------------------------------------------------------------------------------
1 | # Installs the agent
2 | class blackfire::agent::install inherits blackfire::agent {
3 | package { 'blackfire-agent':
4 | ensure => $::blackfire::agent::params['version'],
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/blackfire/manifests/params.pp:
--------------------------------------------------------------------------------
1 | # Default parameters
2 | class blackfire::params {
3 | $server_id = ''
4 | $server_token = ''
5 | $agent = {}
6 | $php = {}
7 | $manage_repo = true
8 | }
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/blackfire/manifests/php/install.pp:
--------------------------------------------------------------------------------
1 | # Installs the PHP extension
2 | class blackfire::php::install inherits blackfire::php {
3 | package { 'blackfire-php':
4 | ensure => $::blackfire::php::params['version'],
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/blackfire/spec/acceptance/nodesets/debian-80-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-80-x64:
3 | roles:
4 | - master
5 | platform: debian-8-amd64
6 | box: debian/jessie64
7 | hypervisor: vagrant
8 | CONFIG:
9 | log_level: verbose
10 | type: foss
11 | php_cli_package: php5-cli
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/blackfire/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 | require 'rspec-puppet-facts'
3 | include RspecPuppetFacts
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/composer/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | git: "git://github.com/puppetlabs/puppetlabs-git"
4 | stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib"
5 | symlinks:
6 | composer: "#{source_dir}"
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/composer/.gitignore:
--------------------------------------------------------------------------------
1 | spec/fixtures/modules/*
2 | spec/fixtures/puppet/common.yaml
3 | .bundle/
4 | vendor/
5 | Gemfile.lock
6 | pkg/
7 | modules/
8 | .vagrant
9 | .ruby-version
10 |
11 | # IDE ignores
12 | .idea
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/composer/lib/facter/composer_home.rb:
--------------------------------------------------------------------------------
1 | Facter.add(:composer_home) do
2 | setcode do
3 | ENV['HOME']
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/composer/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box: puppetlabs/centos-6.5-64-nocm
7 | box_url: https://vagrantcloud.com/puppetlabs/boxes/centos-6.5-64-nocm
8 | hypervisor: vagrant
9 | CONFIG:
10 | log_level: verbose
11 | type: foss
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/composer/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1204-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-12.04-amd64
6 | box: puppetlabs/ubuntu-12.04-64-nocm
7 | box_url: https://vagrantcloud.com/puppetlabs/boxes/ubuntu-12.04-64-nocm
8 | hypervisor: vagrant
9 | CONFIG:
10 | log_level: verbose
11 | type: foss
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/composer/spec/fixtures/manifests/site.pp:
--------------------------------------------------------------------------------
1 | node default {
2 | include composer
3 |
4 | composer::exec {'ohai':
5 | cmd => 'install',
6 | cwd => '/some/cool/dir',
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/composer/spec/fixtures/manifests/vagrant.pp:
--------------------------------------------------------------------------------
1 | node default {
2 | include composer
3 |
4 | composer::project {'silex':
5 | project_name => 'fabpot/silex-skeleton',
6 | target_dir => '/tmp/silex',
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/composer/spec/fixtures/puppet/hiera.yaml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/puppet/modules/composer/spec/fixtures/puppet/hiera.yaml
--------------------------------------------------------------------------------
/puphpet/puppet/modules/composer/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
--------------------------------------------------------------------------------
/puphpet/puppet/modules/composer/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | 'stdlib':
4 | repo: 'git://github.com/puppetlabs/puppetlabs-stdlib.git'
5 | ref: '4.2.0'
6 | symlinks:
7 | 'concat': '#{source_dir}'
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/.gitattributes:
--------------------------------------------------------------------------------
1 | *.sh eol=lf
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | Gemfile.lock
3 | vendor/
4 | spec/fixtures/
5 | .vagrant/
6 | .bundle/
7 | coverage/
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/.sync.yml:
--------------------------------------------------------------------------------
1 | ---
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/lib/facter/concat_basedir.rb:
--------------------------------------------------------------------------------
1 | # == Fact: concat_basedir
2 | #
3 | # A custom fact that sets the default location for fragments
4 | #
5 | # "${::vardir}/concat/"
6 | #
7 | Facter.add("concat_basedir") do
8 | setcode do
9 | File.join(Puppet[:vardir],"concat")
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/acceptance/nodesets/debian-70rc1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-70rc1-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-70rc1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-70rc1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/acceptance/nodesets/sles-11-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11-x64.local:
3 | roles:
4 | - master
5 | platform: sles-11-x64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/acceptance/nodesets/sles-11sp1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11sp1-x64:
3 | roles:
4 | - master
5 | platform: sles-11-x86_64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/concat/tests/init.pp:
--------------------------------------------------------------------------------
1 | concat { '/tmp/concat':
2 | ensure => present,
3 | force => true,
4 | owner => 'root',
5 | group => 'root',
6 | mode => '0644',
7 | }
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/datacat/NOTES.md:
--------------------------------------------------------------------------------
1 | As we're using the rspec fixtures structure, we can run them quite simply
2 |
3 | rake spec_prep
4 | puppet apply --modulepath spec/fixtures/modules -e 'include demo1'
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/datacat/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'bundler/setup'
3 |
4 | Bundler.require :default
5 |
6 | require 'rspec/core/rake_task'
7 | require 'puppetlabs_spec_helper/rake_tasks'
8 | require 'rspec-system/rake_task'
9 |
10 | task :default do
11 | sh %{rake -T}
12 | end
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/datacat/lib/puppet/provider/datacat_fragment/datacat_fragment.rb:
--------------------------------------------------------------------------------
1 | Puppet::Type.type(:datacat_fragment).provide(:datacat_fragment) do
2 | mk_resource_methods
3 | end
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/datacat/spec/fixtures/modules/demo1/templates/sheeps.erb:
--------------------------------------------------------------------------------
1 | # This is a super simple demonstration - baah!
2 |
3 | <%= @data.to_yaml %>
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/datacat/spec/fixtures/modules/demo2/templates/merging.erb:
--------------------------------------------------------------------------------
1 | data.foo should be a merged array <%= @data['foo'].join(', ') %>
2 | and we can uniq it <%= @data['foo'].uniq.join(', ') %>
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/datacat/spec/fixtures/modules/demo3/templates/hostgroups.cfg.erb:
--------------------------------------------------------------------------------
1 | # hostgroups.cfg.erb
2 | <% @data.keys.sort.each do |hostgroup| %>
3 | define hostgroup {
4 | name <%= hostgroup %>
5 | members <%= @data[hostgroup].sort.join(',') %>
6 | }
7 | <% end %>
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/datacat/spec/fixtures/modules/issue1/manifests/init.pp:
--------------------------------------------------------------------------------
1 | # This should repo the scope error from github issue #1
2 | class issue1 {
3 | datacat { "/tmp/issue1.1":
4 | template => "issue1/refers_to_scope.erb",
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/datacat/spec/fixtures/modules/issue1/templates/refers_to_scope.erb:
--------------------------------------------------------------------------------
1 | We don't expect this to actually work as scope is only avilable to
2 | templates evaluated by the template() function.
3 |
4 | It should however say that it's line 7 of refers_to_scope.erb in the error
5 | that is raised.
6 |
7 | <%= scope.lookupvar("pies") %>
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/datacat/spec/fixtures/modules/template_body/templates/test1.erb:
--------------------------------------------------------------------------------
1 | Goodbye cruel world
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/datacat/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/.gitignore:
--------------------------------------------------------------------------------
1 | .swp
2 | spec/fixtures/manifests
3 | spec/fixtures/modules
4 | .bundle
5 | .vendor
6 | .vagrant
7 | .ruby-version
8 | pkg/
9 | spec/reports/
10 | spec/logs
11 | log
12 | *.lock
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/.pmtignore:
--------------------------------------------------------------------------------
1 | spec/
2 | Rakefile
3 | junit/
4 | logs/
5 | Gemfile
6 | Gemfile.lock
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/spec/acceptance/001_basic_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper_acceptance'
2 |
3 | # Here we put the more basic fundamental tests, ultra obvious stuff.
4 | describe "basic tests:" do
5 | it 'make sure we have copied the module across' do
6 | shell("ls #{default['distmoduledir']}/elasticsearch/metadata.json", {:acceptable_exit_codes => 0})
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/spec/classes/099_coverage_spec.rb:
--------------------------------------------------------------------------------
1 | at_exit { RSpec::Puppet::Coverage.report! }
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/spec/fixtures/hiera/hiera.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | :backends: yaml
3 | :yaml:
4 | :datadir: spec/fixtures/hiera/hieradata
5 | :hierarchy:
6 | - ! '%{scenario}'
7 | - envs/%{common}
8 | :logger: console
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/spec/fixtures/hiera/hieradata/envs/defaultinstance.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | elasticsearch::instances:
3 | default:
4 | config:
5 | node.name: 'default'
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/spec/fixtures/hiera/hieradata/multipleinstances.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | elasticsearch::instances:
3 | es-01:
4 | config:
5 | node.name: 'es-01'
6 | es-02:
7 | config:
8 | node.name: 'es-02'
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/spec/fixtures/hiera/hieradata/singleinstance.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | elasticsearch::instances:
3 | es-01:
4 | config:
5 | node.name: 'es-01'
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/spec/fixtures/hiera/hieradata/singleplugin.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | elasticsearch::instances:
3 | es-01:
4 | config:
5 | node.name: 'es-01'
6 | elasticsearch::plugins:
7 | 'mobz/elasticsearch-head/1.0.0':
8 | ensure: 'present'
9 | module_dir: 'head'
10 | instances:
11 | - 'es-01'
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/templates/etc/sysconfig/defaults.erb:
--------------------------------------------------------------------------------
1 | <% @new_init_defaults.sort.map do |key, value| -%>
2 | set <%= key %> '<%= value %>'
3 | <% end -%>
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/elasticsearch/templates/usr/lib/tmpfiles.d/elasticsearch.conf.erb:
--------------------------------------------------------------------------------
1 | d <%= @pid_dir %> 0755 <%= @user %> <%= @group %> - -
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/epel/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
3 | def default_facts
4 | {
5 | :osfamily => 'RedHat',
6 | :operatingsystem => 'CentOS',
7 | }
8 | end
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/epel/tests/init.pp:
--------------------------------------------------------------------------------
1 | # And by test, I mean, run this thing for me using Puppet apply and I'll check
2 | # it out.
3 | include '::epel'
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/erlang/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | apt: git://github.com/puppetlabs/puppetlabs-apt.git
4 | stdlib: git://github.com/puppetlabs/puppetlabs-stdlib.git
5 | epel: git://github.com/stahnma/puppet-module-epel.git
6 | symlinks:
7 | erlang: "#{source_dir}"
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/erlang/.gitignore:
--------------------------------------------------------------------------------
1 | pkg
2 | spec/fixtures
3 | tests
4 | .rspec_system
5 | .bundle
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/erlang/.rspec:
--------------------------------------------------------------------------------
1 | --format documentation
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/erlang/Gemfile:
--------------------------------------------------------------------------------
1 | source "https://rubygems.org"
2 |
3 | gem "rake"
4 | gem "puppet", ENV['PUPPET_GEM_VERSION'] || '~> 3.8.0'
5 | gem "puppet-lint"
6 | gem "rspec-puppet", '~> 1.0.0'
7 | gem "puppetlabs_spec_helper"
8 | gem "rspec-system-puppet"
9 | gem "vagrant-wrapper"
10 | gem "puppet-syntax"
11 |
12 | group :development do
13 | gem "puppet-blacksmith"
14 | end
15 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/erlang/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | symlinks:
3 | "firewall": "#{source_dir}"
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | Gemfile.lock
3 | # TODO: Ignore this for now until we decide what to do with it
4 | spec/fixtures/manifests/
5 | .ruby-version
6 | .rspec_system
7 | .bundle
8 | .vagrant
9 | vendor/
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/Modulefile:
--------------------------------------------------------------------------------
1 | name 'puppetlabs-firewall'
2 | version '1.1.1'
3 | source 'git://github.com/puppetlabs/puppetlabs-firewall.git'
4 | author 'puppetlabs'
5 | license 'ASL 2.0'
6 | summary 'Firewall Module'
7 | description 'Manages Firewalls such as iptables'
8 | project_page 'http://forge.puppetlabs.com/puppetlabs/firewall'
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 |
3 | require 'puppet-lint/tasks/puppet-lint'
4 | PuppetLint.configuration.ignore_paths = ['vendor/**/*.pp']
5 |
6 | task :default do
7 | sh %{rake -T}
8 | end
9 |
10 | desc 'Run reasonably quick tests for CI'
11 | task :ci => [
12 | :lint,
13 | :spec,
14 | ]
15 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/lib/facter/ip6tables_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add(:ip6tables_version) do
2 | confine :kernel => :linux
3 | setcode do
4 | version = Facter::Util::Resolution.exec('ip6tables --version')
5 | if version
6 | version.match(/\d+\.\d+\.\d+/).to_s
7 | else
8 | nil
9 | end
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/lib/facter/iptables_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add(:iptables_version) do
2 | confine :kernel => :linux
3 | setcode do
4 | version = Facter::Util::Resolution.exec('iptables --version')
5 | if version
6 | version.match(/\d+\.\d+\.\d+/).to_s
7 | else
8 | nil
9 | end
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/spec/acceptance/nodesets/centos-64-x64-fusion.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-fusion503-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-fusion503-nocm.box
8 | hypervisor : fusion
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/spec/acceptance/nodesets/debian-70rc1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-70rc1-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-70rc1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-70rc1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/spec/acceptance/nodesets/sles-11sp1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11sp1-x64:
3 | roles:
4 | - master
5 | platform: sles-11-x86_64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/firewall/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-64
6 | box: puppetlabs/ubuntu-14.04-64-nocm
7 | hypervisor : vagrant
8 | CONFIG:
9 | type: foss
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | vcsrepo: git://github.com/puppetlabs/puppetlabs-vcsrepo.git
4 | symlinks:
5 | git: "#{source_dir}"
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/CHANGELOG:
--------------------------------------------------------------------------------
1 | 2011-06-03 - Dan Bode - 0.0.1
2 | * initial commit
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/Modulefile:
--------------------------------------------------------------------------------
1 | name 'puppetlabs-git'
2 | version '0.0.3'
3 | source 'git://github.com/puppetlabs/puppetlabs-git.git'
4 | author 'puppetlabs'
5 | license 'Apache 2.0'
6 | summary 'module for installing git'
7 | description 'module for installing git'
8 | project_page 'https://github.com/puppetlabs/puppetlabs-git/'
9 | dependency 'puppetlabs/vcsrepo'
10 |
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/lib/facter/git_exec_path.rb:
--------------------------------------------------------------------------------
1 | # git_exec_path.rb
2 | Facter.add('git_exec_path') do
3 | setcode 'git --exec-path 2>/dev/null'
4 | end
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/lib/facter/git_version.rb:
--------------------------------------------------------------------------------
1 | # git_version
2 | Facter.add('git_version') do
3 | setcode 'git --version 2>/dev/null'.sub(/git version /, '')
4 | end
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/manifests/gitosis.pp:
--------------------------------------------------------------------------------
1 | # Class: gitosis
2 | #
3 | # This installs and configures gitosis
4 | #
5 | # Requires:
6 | # - Class[git]
7 | #
8 | class git::gitosis {
9 | include ::git
10 | package {'gitosis':
11 | ensure => present
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/manifests/init.pp:
--------------------------------------------------------------------------------
1 | # Class: git
2 | #
3 | # This class installs git
4 | #
5 | # Actions:
6 | # - Install the git package
7 | #
8 | # Sample Usage:
9 | # class { 'git': }
10 | #
11 | class git {
12 | if ! defined(Package['git']) {
13 | package { 'git':
14 | ensure => present
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/tests/gitosis.pp:
--------------------------------------------------------------------------------
1 | class { 'git::gitosis': }
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/git/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { 'git': }
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | symlinks:
3 | gnupg: "#{source_dir}"
4 |
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/.gitignore:
--------------------------------------------------------------------------------
1 | .project
2 | spec/fixtures
3 | .rspec_system
4 | pkg/*
5 | log/*
6 | .DS_Store
7 | Gemfile.lock
8 | junit/*
9 | .vagrant/
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/manifests/install.pp:
--------------------------------------------------------------------------------
1 | #
2 | class gnupg::install {
3 |
4 | package { 'gnupg':
5 | ensure => $gnupg::package_ensure,
6 | name => $gnupg::package_name,
7 | }
8 |
9 | }
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/spec/acceptance/nodesets/debian-73-i386.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-i386:
3 | roles:
4 | - master
5 | platform: debian-7-i386
6 | box : debian-73-i386-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-i386-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-amd64
6 | box : puppetlabs/ubuntu-14.04-64-nocm
7 | box_url : https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level : debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/module_spec_helper'
3 |
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/gnupg/tests/init.pp:
--------------------------------------------------------------------------------
1 | include gnupg
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | symlinks:
3 | inifile: "#{source_dir}"
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | Gemfile.lock
3 | vendor/
4 | spec/fixtures/
5 | .vagrant/
6 | .bundle/
7 | coverage/
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/.sync.yml:
--------------------------------------------------------------------------------
1 | ---
2 | spec/spec_helper.rb:
3 | unmanaged: true
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/acceptance/nodesets/centos-510-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-510-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-510-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-510-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/acceptance/nodesets/sles-11sp1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11sp1-x64:
3 | roles:
4 | - master
5 | platform: sles-11-x86_64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/classes/inherit_test1_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 | # We can't really test much here, apart from the type roundtrips though the
3 | # parser OK.
4 | describe 'inherit_test1' do
5 | it do
6 | should contain_inherit_ini_setting('valid_type').with({
7 | 'value' => 'true'
8 | })
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/inifile/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
3 | RSpec.configure do |config|
4 | config.mock_with :rspec
5 | end
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | stdlib: http://github.com/puppetlabs/puppetlabs-stdlib.git
4 | symlinks:
5 | java: "#{source_dir}"
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | Gemfile.lock
3 | vendor/
4 | spec/fixtures/
5 | .vagrant/
6 | .bundle/
7 | coverage/
8 | .idea/
9 | *.iml
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/acceptance/nodesets/centos-64-x64-fusion.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-fusion503-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-fusion503-nocm.box
8 | hypervisor : fusion
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/acceptance/nodesets/debian-70rc1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-70rc1-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-70rc1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-70rc1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/acceptance/nodesets/sles-11sp1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11sp1-x64:
3 | roles:
4 | - master
5 | platform: sles-11-x86_64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-amd64
6 | box : puppetlabs/ubuntu-14.04-64-nocm
7 | box_url : https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level : debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/tests/alternative.pp:
--------------------------------------------------------------------------------
1 | class { 'java':
2 | package => 'jdk-8u25-linux-x64',
3 | java_alternative => 'jdk1.8.0_25',
4 | java_alternative_path => '/usr/java/jdk1.8.0_25/jre/bin/java'
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/java/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { 'java':
2 | distribution => 'jdk',
3 | version => 'latest',
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/locales/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | pkg/
3 | *.swp
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/locales/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/locales/templates/locale.gen.erb:
--------------------------------------------------------------------------------
1 | # File managed by puppet
2 |
3 | <% @locales.each do |locale| -%>
4 | <%= locale %>
5 | <% end -%>
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/locales/tests/init.pp:
--------------------------------------------------------------------------------
1 | include locales
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | "stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
4 | "apt":
5 | repo: "git://github.com/puppetlabs/puppetlabs-apt.git"
6 | branch: "1.8.x"
7 | symlinks:
8 | "mongodb": "#{source_dir}"
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | Gemfile.lock
3 | vendor/
4 | spec/fixtures/
5 | .vagrant/
6 | .bundle/
7 | coverage/
8 | .idea/
9 | *.iml
10 | .ruby-*
11 | log/
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/.sync.yml:
--------------------------------------------------------------------------------
1 | ---
2 | .travis.yml:
3 | extras:
4 | - rvm: 1.8.7
5 | env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
6 | - rvm: 1.8.7
7 | env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
8 | spec/spec_helper.rb:
9 | unmanaged: true
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/manifests/shardsvr.pp:
--------------------------------------------------------------------------------
1 | # Wrapper class useful for hiera based deployments
2 |
3 | class mongodb::shardsvr(
4 | $shards = undef
5 | ) {
6 |
7 | if $shards {
8 | create_resources(mongodb_shard, $shards)
9 | }
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/centos-7-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-7-x64:
3 | roles:
4 | - master
5 | platform: el-7-x86_64
6 | box : puppetlabs/centos-7.0-64-nocm
7 | hypervisor : vagrant
8 | CONFIG:
9 | type: foss
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/debian-70rc1-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-70rc1-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-70rc1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-70rc1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/sles-11-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11-x64.local:
3 | roles:
4 | - master
5 | platform: sles-11-x64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
3 | RSpec.configure do |config|
4 | config.mock_with :rspec do |c|
5 | c.syntax = :expect
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/tests/client.pp:
--------------------------------------------------------------------------------
1 | class { '::mongodb::globals': manage_package_repo => true }->
2 | class { '::mongodb::client': }
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/tests/globals.pp:
--------------------------------------------------------------------------------
1 | class { '::mongodb::globals':
2 | manage_package_repo => true
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { '::mongodb': }
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mongodb/tests/server.pp:
--------------------------------------------------------------------------------
1 | class { '::mongodb::globals': manage_package_repo => true }->
2 | class { '::mongodb::server': }
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/monitor/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/rake_tasks'
3 | require 'puppet-lint'
4 | PuppetLint.configuration.send("disable_80chars")
5 | PuppetLint.configuration.send('disable_class_parameter_defaults')
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | "stdlib": "https://github.com/puppetlabs/puppetlabs-stdlib"
4 | "staging": "https://github.com/nanliu/puppet-staging"
5 | symlinks:
6 | "mysql": "#{source_dir}"
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/.geppetto-rc.json:
--------------------------------------------------------------------------------
1 | {
2 | "excludes": [
3 | "**/contrib/**",
4 | "**/examples/**",
5 | "**/tests/**",
6 | "**/spec/**",
7 | "**/pkg/**"
8 | ]
9 | }
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/.gitattributes:
--------------------------------------------------------------------------------
1 | #This file is generated by ModuleSync, do not edit.
2 | *.rb eol=lf
3 | *.erb eol=lf
4 | *.pp eol=lf
5 | *.sh eol=lf
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/.gitignore:
--------------------------------------------------------------------------------
1 | #This file is generated by ModuleSync, do not edit.
2 | pkg/
3 | Gemfile.lock
4 | vendor/
5 | spec/fixtures/
6 | .vagrant/
7 | .bundle/
8 | coverage/
9 | log/
10 | .idea/
11 | *.iml
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/.rspec:
--------------------------------------------------------------------------------
1 | --color
2 | --format documentation
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/.sync.yml:
--------------------------------------------------------------------------------
1 | ---
2 | Gemfile:
3 | optional:
4 | ':development, :unit_tests':
5 | - gem: rspec-puppet-facts
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/examples/backup.pp:
--------------------------------------------------------------------------------
1 | class { 'mysql::server':
2 | root_password => 'password'
3 | }
4 |
5 | class { 'mysql::server::backup':
6 | backupuser => 'myuser',
7 | backuppassword => 'mypassword',
8 | backupdir => '/tmp/backups',
9 | }
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/examples/bindings.pp:
--------------------------------------------------------------------------------
1 | class { 'mysql::bindings':
2 | php_enable => true,
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/examples/java.pp:
--------------------------------------------------------------------------------
1 | class { 'mysql::java':}
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/examples/mysql_grant.pp:
--------------------------------------------------------------------------------
1 | mysql_grant{'test1@localhost/redmine.*':
2 | user => 'test1@localhost',
3 | table => 'redmine.*',
4 | privileges => ['UPDATE'],
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/examples/perl.pp:
--------------------------------------------------------------------------------
1 | include mysql::bindings::perl
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/examples/python.pp:
--------------------------------------------------------------------------------
1 | class { 'mysql::bindings::python':}
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/examples/ruby.pp:
--------------------------------------------------------------------------------
1 | include mysql::bindings::ruby
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/examples/server.pp:
--------------------------------------------------------------------------------
1 | class { 'mysql::server':
2 | root_password => 'password',
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/examples/server/account_security.pp:
--------------------------------------------------------------------------------
1 | class { 'mysql::server':
2 | root_password => 'password',
3 | }
4 | class { 'mysql::server::account_security': }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/examples/server/config.pp:
--------------------------------------------------------------------------------
1 | mysql::server::config { 'testfile':
2 |
3 | }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/lib/facter/mysql_server_id.rb:
--------------------------------------------------------------------------------
1 | def get_mysql_id
2 | Facter.value(:macaddress).split(':').inject(0) { |total,value| (total << 6) + value.hex }
3 | end
4 |
5 | Facter.add("mysql_server_id") do
6 | setcode do
7 | get_mysql_id rescue nil
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/lib/facter/mysql_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add("mysql_version") do
2 | setcode do
3 | mysql_ver = Facter::Util::Resolution.exec('mysql --version')
4 | if mysql_ver
5 | mysql_ver.match(/\d+\.\d+\.\d+/)[0]
6 | end
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/manifests/server/install.pp:
--------------------------------------------------------------------------------
1 | #
2 | class mysql::server::install {
3 |
4 | if $mysql::server::package_manage {
5 |
6 | package { 'mysql-server':
7 | ensure => $mysql::server::package_ensure,
8 | install_options => $mysql::server::install_options,
9 | name => $mysql::server::package_name,
10 | }
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/spec/acceptance/nodesets/centos-510-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-510-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-510-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-510-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | - default
6 | platform: el-6-x86_64
7 | box : centos-64-x64-vbox4210-nocm
8 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
9 | hypervisor : vagrant
10 | CONFIG:
11 | type: foss
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/spec/acceptance/nodesets/sles-11-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11-x64.local:
3 | roles:
4 | - master
5 | platform: sles-11-x64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/spec/acceptance/nodesets/ubuntu-server-1404-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-server-1404-x64:
3 | roles:
4 | - master
5 | platform: ubuntu-14.04-amd64
6 | box : puppetlabs/ubuntu-14.04-64-nocm
7 | box_url : https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level : debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | #This file is generated by ModuleSync, do not edit.
2 | require 'puppetlabs_spec_helper/module_spec_helper'
3 |
4 | # put local configuration and setup into spec_helper_local
5 | begin
6 | require 'spec_helper_local'
7 | rescue LoadError
8 | end
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/mysql/spec/spec_helper_local.rb:
--------------------------------------------------------------------------------
1 | require 'rspec-puppet-facts'
2 | include RspecPuppetFacts
3 |
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | symlinks:
3 | nginx: "#{source_dir}"
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/.gitignore:
--------------------------------------------------------------------------------
1 | files/server_test.crt
2 | files/server_test.pem
3 | pkg/
4 | .librarian/
5 | .tmp/
6 | pkg/
7 | Gemfile.lock
8 | spec/fixtures/
9 | /metadata.json
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | mod 'puppetlabs/stdlib', '>= 3.0.0'
4 | mod 'puppetlabs/apt', '>= 1.0.0'
5 | mod 'puppetlabs/concat', '>= 1.1.0'
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/Puppetfile.lock:
--------------------------------------------------------------------------------
1 | FORGE
2 | remote: http://forge.puppetlabs.com
3 | specs:
4 | puppetlabs/apt (1.2.0)
5 | puppetlabs/stdlib (>= 2.2.1)
6 | puppetlabs/concat (1.1.0)
7 | puppetlabs/stdlib (4.1.0)
8 |
9 | DEPENDENCIES
10 | puppetlabs/apt (>= 1.0.0)
11 | puppetlabs/concat (>= 1.1.0)
12 | puppetlabs/stdlib (>= 3.0.0)
13 |
14 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/manifests/package/freebsd.pp:
--------------------------------------------------------------------------------
1 | # Class: nginx::package::freebsd
2 | #
3 | # Manage the nginx package on FreeBSD
4 | class nginx::package::freebsd (
5 | $package_name = 'nginx',
6 | $package_ensure = 'present'
7 | ) {
8 |
9 | package { $package_name:
10 | ensure => $package_ensure,
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
3 | RSpec.configure do |c|
4 | c.default_facts = {
5 | :kernel => 'Linux',
6 | :concat_basedir => '/var/lib/puppet/concat',
7 | }
8 | end
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/templates/conf.d/map.erb:
--------------------------------------------------------------------------------
1 | map <%= @string %> $<%= @name %> {
2 | <% if @hostnames -%>
3 | hostnames;
4 | <% end -%>
5 | <% if @default -%>
6 | default <%= @default %>;
7 | <% end -%>
8 | <% if @mappings -%>
9 | <%- @mappings.sort_by{|k,v| k}.each do |key,value| -%>
10 | <%= key %> <%= value %>;
11 | <%- end -%>
12 | <% end -%>
13 | }
14 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/templates/conf.d/upstream_member.erb:
--------------------------------------------------------------------------------
1 | server <%= @server %>:<%= @port %> fail_timeout=<%= @upstream_fail_timeout %>;
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/templates/conf.d/upstream_members.erb:
--------------------------------------------------------------------------------
1 | <% @members.each do |i| %>
2 | server <%= i %> fail_timeout=<%= @upstream_fail_timeout %>;<% end %>
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/templates/vhost/locations/alias.erb:
--------------------------------------------------------------------------------
1 | alias <%= @location_alias %>;
2 | <% if defined? @autoindex -%>
3 | autoindex <%= @autoindex %>;
4 | <% end -%>
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/templates/vhost/locations/set.erb:
--------------------------------------------------------------------------------
1 | <% if (defined? @set) && @set.count > 0 -%>
2 | set<% @set.each do |s| -%> <%= s %><% end -%>;
3 | <% end -%>
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/templates/vhost/locations/stub_status.erb:
--------------------------------------------------------------------------------
1 | stub_status on;
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/tests/init.pp:
--------------------------------------------------------------------------------
1 | # The notify before should always come BEFORE all resources
2 | # managed by the nginx class
3 | # and the notify last should always come AFTER all resources
4 | # managed by the nginx class.
5 | node default {
6 | notify { 'before': }
7 | -> class { 'nginx': }
8 | -> notify { 'last': }
9 | }
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/tests/location_alias.pp:
--------------------------------------------------------------------------------
1 | include nginx
2 |
3 | nginx::resource::location { 'www.test.com-alias':
4 | ensure => present,
5 | location => '/some/url',
6 | location_alias => '/new/url/',
7 | vhost => 'www.test.com',
8 | }
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/nginx/tests/upstream.pp:
--------------------------------------------------------------------------------
1 | include nginx
2 |
3 | nginx::resource::upstream { 'proxypass':
4 | ensure => present,
5 | members => [
6 | 'localhost:3000',
7 | 'localhost:3001',
8 | 'localhost:3002',
9 | ],
10 | }
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | "stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
4 | symlinks:
5 | "ntp": "#{source_dir}"
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | Gemfile.lock
3 | vendor/
4 | spec/fixtures/
5 | .vagrant/
6 | .bundle/
7 | coverage/
8 | .idea/
9 | *.iml
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/.sync.yml:
--------------------------------------------------------------------------------
1 | ---
2 | .travis.yml:
3 | extras:
4 | - rvm: 1.8.7
5 | env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
6 | - rvm: 1.8.7
7 | env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
8 | spec/spec_helper.rb:
9 | unmanaged: true
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/manifests/install.pp:
--------------------------------------------------------------------------------
1 | #
2 | class ntp::install inherits ntp {
3 |
4 | if $ntp::package_manage {
5 |
6 | package { $ntp::package_name:
7 | ensure => $ntp::package_ensure,
8 | }
9 |
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/spec/acceptance/nodesets/fedora-21-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-21:
3 | roles:
4 | - master
5 | platform: fedora-21-x86_64
6 | box: chef/fedora-21
7 | hypervisor: vagrant
8 | CONFIG:
9 | type: foss
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/spec/acceptance/nodesets/sles-11-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11-x64.local:
3 | roles:
4 | - master
5 | platform: sles-11-x64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/spec/unit/puppet/provider/README.markdown:
--------------------------------------------------------------------------------
1 | Provider Specs
2 | ==============
3 |
4 | Define specs for your providers under this directory.
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/spec/unit/puppet/type/README.markdown:
--------------------------------------------------------------------------------
1 | Resource Type Specs
2 | ===================
3 |
4 | Define specs for your resource types in this directory.
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/ntp/tests/init.pp:
--------------------------------------------------------------------------------
1 | node default {
2 |
3 | notify { 'enduser-before': }
4 | notify { 'enduser-after': }
5 |
6 | class { 'ntp':
7 | require => Notify['enduser-before'],
8 | before => Notify['enduser-after'],
9 | }
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/php/.gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | puppetversion = ENV['PUPPET_VERSION']
4 | gem 'puppet', puppetversion, :require => false
5 | gem 'puppet-lint'
6 | gem 'rspec', '~> 3.1.0', :platforms => :ruby_18
7 | gem 'puppetlabs_spec_helper', '>= 0.1.0'
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/php/.gitignore:
--------------------------------------------------------------------------------
1 | /.gradle
2 | /.rvmrc
3 | build
4 | pkg/
5 | Session.vim
6 | spec/fixtures
7 | .*.sw[a-z]
8 | *.un~
9 | .gemfile.lock
10 | .bundle
11 | vendor
12 |
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/php/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/rake_tasks'
3 | require 'puppet-lint'
4 | PuppetLint.configuration.send("disable_80chars")
5 | PuppetLint.configuration.send('disable_class_parameter_defaults')
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/php/lib/facter/php_fact_extension_dir.rb:
--------------------------------------------------------------------------------
1 | Facter.add("php_fact_extension_dir") do
2 | setcode do
3 | Facter::Util::Resolution.exec('php -r "ini_alter(\'date.timezone\',\'UTC\'); phpinfo();"|grep \'^extension_dir\'|awk \'{ print $3 }\'') || nil
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/php/lib/facter/php_fact_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add("php_fact_version") do
2 | setcode do
3 | Facter::Util::Resolution.exec('php -v|awk \'{ print $2 }\'|head -n1') || nil
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/php/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/php/templates/extra-ini.erb:
--------------------------------------------------------------------------------
1 | ; File Managed by Puppet
2 |
3 | <% if @value != "" -%>
4 | <% if @value.is_a? Array -%>
5 | <% @value.each do |name| -%>
6 | <%= name %>
7 | <% end %>
8 | <% else -%>
9 | <%= value %>
10 | <% end -%>
11 | <% end -%>
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/php/templates/spec.erb:
--------------------------------------------------------------------------------
1 | # This is a template used only for rspec tests
2 |
3 | # Yaml of the whole scope
4 | <%= scope.to_hash.reject { |k,v| !( k.is_a?(String) && v.is_a?(String) ) }.to_yaml %>
5 |
6 | # Custom Options
7 | <%= options['opt_a'] %>
8 | <%= options['opt_b'] %>
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgis/spec/acceptance/nodesets/centos-6-x86_64-vagrant.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-6-x64:
3 | default_apply_opts:
4 | order: random
5 | strict_variables:
6 | platform: el-6-x86_64
7 | hypervisor : vagrant
8 | box : camptocamp/centos-6-x86_64
9 | CONFIG:
10 | type: foss
11 | log_level: debug
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgis/spec/acceptance/nodesets/centos-7-x86_64-vagrant.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-7-x64:
3 | default_apply_opts:
4 | order: random
5 | strict_variables:
6 | platform: el-7-x86_64
7 | hypervisor : vagrant
8 | box : camptocamp/centos-7-x86_64
9 | CONFIG:
10 | type: foss
11 | log_level: debug
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgis/spec/acceptance/nodesets/debian-6-x86_64-vagrant.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-6-x64:
3 | default_apply_opts:
4 | order: random
5 | strict_variables:
6 | platform: debian-6-amd64
7 | hypervisor : vagrant
8 | box : puppetlabs/debian-6.0.10-64-nocm
9 | CONFIG:
10 | type: foss
11 | log_level: debug
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgis/spec/acceptance/nodesets/debian-7-x86_64-vagrant.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-7-x64:
3 | default_apply_opts:
4 | order: random
5 | strict_variables:
6 | platform: debian-7-amd64
7 | hypervisor : vagrant
8 | box : camptocamp/debian-7-amd64
9 | CONFIG:
10 | type: foss
11 | log_level: debug
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgis/spec/acceptance/nodesets/debian-8-x86_64-vagrant.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-8-x64:
3 | default_apply_opts:
4 | order: random
5 | strict_variables:
6 | platform: debian-8-amd64
7 | hypervisor : vagrant
8 | box : camptocamp/debian-8-amd64
9 | CONFIG:
10 | type: foss
11 | log_level: debug
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgis/spec/acceptance/nodesets/ubuntu-14.04-x86_64-vagrant.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | ubuntu-1404-x64:
3 | default_apply_opts:
4 | order: random
5 | strict_variables:
6 | platform: ubuntu-14.04-amd64
7 | hypervisor : vagrant
8 | box : puppetlabs/ubuntu-14.04-64-nocm
9 | CONFIG:
10 | type: foss
11 | log_level: debug
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgis/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/.geppetto-rc.json:
--------------------------------------------------------------------------------
1 | {
2 | "excludes": [
3 | "**/contrib/**",
4 | "**/examples/**",
5 | "**/tests/**",
6 | "**/spec/**",
7 | "**/pkg/**"
8 | ]
9 | }
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | Gemfile.lock
3 | vendor/
4 | spec/fixtures/
5 | .vagrant/
6 | .bundle/
7 | coverage/
8 | .idea/
9 | *.iml
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/.sync.yml:
--------------------------------------------------------------------------------
1 | ---
2 | .travis.yml:
3 | extras:
4 | - rvm: 1.8.7
5 | env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
6 | - rvm: 1.8.7
7 | env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
8 | spec/spec_helper.rb:
9 | unmanaged: true
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/spec/acceptance/nodesets/centos-510-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-510-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-510-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-510-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/spec/acceptance/nodesets/debian-607-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-607-x64:
3 | roles:
4 | - master
5 | platform: debian-6-amd64
6 | box : debian-607-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-607-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/spec/unit/classes/params_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'postgresql::params', :type => :class do
4 | let :facts do
5 | {
6 | :osfamily => 'Debian',
7 | :operatingsystem => 'Debian',
8 | :operatingsystemrelease => '6.0',
9 | }
10 | end
11 | it { is_expected.to contain_class("postgresql::params") }
12 | end
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/spec/unit/functions/postgresql_password_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'postgresql_password', :type => :puppet_function do
4 | it { is_expected.to run.with_params('foo', 'bar').
5 | and_return('md596948aad3fcae80c08a35c9b5958cd89') }
6 | end
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/templates/pg_hba_rule.conf:
--------------------------------------------------------------------------------
1 |
2 | # Rule Name: <%=@name%>
3 | # Description: <%=@description%>
4 | # Order: <%=@order%>
5 | <%=@type%> <%=@database%> <%=@user%> <%=@address%> <%=@auth_method%> <%=@auth_option%>
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/templates/pg_ident_rule.conf:
--------------------------------------------------------------------------------
1 |
2 | # Rule Name: <%=@name%>
3 | # Description: <%=@description%>
4 | # Order: <%=@order%>
5 | <%=@map_name%> <%=@system_username%> <%=@database_username%>
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/postgresql/templates/systemd-override.erb:
--------------------------------------------------------------------------------
1 | <% if @manage_package_repo and (scope.function_versioncmp([@version.to_s, '9.1']) >= 0) -%>
2 | .include /lib/systemd/system/postgresql-<%= @version %>.service
3 | <% else -%>
4 | .include /lib/systemd/system/postgresql.service
5 | <% end -%>
6 | [Service]
7 | Environment=PGPORT=<%= @port %>
8 | Environment=PGDATA=<%= @datadir %>
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puphpet/README.md:
--------------------------------------------------------------------------------
1 | # Puppet module: puphpet
2 |
3 | This is a Puppet module for [PuPHPet](https://puphpet.com)-related code
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puphpet/files/php7/php7-fpm-checkconf:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 | errors=$(/usr/sbin/php7-fpm --fpm-config /etc/php7/fpm/php-fpm.conf -t 2>&1 | grep "\[ERROR\]" || true);
4 | if [ -n "$errors" ]; then
5 | echo "Please fix your configuration file..."
6 | echo $errors
7 | exit 1
8 | fi
9 | exit 0
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puphpet/files/xdebug_cli_alias.erb:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | XDEBUG_CONFIG="idekey=xdebug" php -dxdebug.remote_host=`echo $SSH_CLIENT | cut -d "=" -f 2 | awk '{print $1}'` "$@"
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puphpet/manifests/apache/repo/centos.pp:
--------------------------------------------------------------------------------
1 | class puphpet::apache::repo::centos {
2 |
3 | include ::puphpet::server::centos_ius
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puphpet/manifests/firewall/post.pp:
--------------------------------------------------------------------------------
1 | # This depends on puppetlabs/firewall: https://github.com/puppetlabs/puppetlabs-firewall
2 | # Firewall rules to be setup after custom rules
3 | class puphpet::firewall::post {
4 |
5 | firewall { '999 drop all':
6 | proto => 'all',
7 | action => 'drop',
8 | before => undef,
9 | }
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puphpet/manifests/init.pp:
--------------------------------------------------------------------------------
1 | class puphpet inherits puphpet::params {}
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puphpet/templates/apache/custom_fragment.erb:
--------------------------------------------------------------------------------
1 | <%= @vhost['custom_fragment'] %>
2 | <% if (!@require_mod_php) && (@vhost.has_key?('engine')) %>
3 | <% if (@vhost['engine'] == 'php') && (@fcgi_string.split.join.length > 0) %>
4 | ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://<%= @fcgi_string %><%= @vhost['docroot'] %>/$1
5 | <% end %>
6 | <% end %>
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puphpet/templates/apache/hhvm-httpd.conf.erb:
--------------------------------------------------------------------------------
1 | <%= scope.function_template(['apache/httpd.conf.erb']) -%>
2 |
3 | FastCgiExternalServer <%= @docroot %>/hhvm.external -host <%= @hhvm_values['settings']['host'] %>:<%= @hhvm_values['settings']['port'] %>
4 | AddHandler hhvm .php
5 | Action hhvm /usr/lib/cgi-bin/hhvm.external
6 | Alias /usr/lib/cgi-bin/ <%= @docroot %>/
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puphpet/templates/apache/mod/spdy/php-wrapper.erb:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | PHP_FCGI_MAX_REQUESTS=10000
4 | export PHP_FCGI_MAX_REQUESTS
5 |
6 | exec <%= @phpcgi %>
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puphpet/templates/apache/mod/spdy/spdy_conf.erb:
--------------------------------------------------------------------------------
1 | # FcgidMaxRequestsPerProcess should be <= PHP_FCGI_MAX_REQUESTS
2 | FcgidMaxRequestsPerProcess 10000
3 |
4 |
5 | AddHandler fcgid-script .php
6 | Options +ExecCGI
7 | FcgidWrapper /usr/local/bin/php-wrapper .php
8 |
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | "concat": "git://github.com/puppetlabs/puppetlabs-concat.git"
4 | "stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
5 | symlinks:
6 | "puppi": "#{source_dir}"
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/.gitignore:
--------------------------------------------------------------------------------
1 | /.gradle
2 | /metadata.json
3 | /.rvmrc
4 | build
5 | pkg/
6 | Session.vim
7 | spec/fixtures
8 | .*.sw[a-z]
9 | *.un~
10 | vendor
11 | .bundle
12 | Gemfile.lock
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 | require 'puppet-lint'
3 |
4 | PuppetLint.configuration.fail_on_warnings = true
5 | PuppetLint.configuration.send('relative')
6 | PuppetLint.configuration.send("disable_80chars")
7 | PuppetLint.configuration.send('disable_class_inherits_from_params_class')
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/files/info/readme/readme:
--------------------------------------------------------------------------------
1 | Default ReadMe File.
2 | Edit puppi/files/info/readme/readme to change this message
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/files/info/readme/readme-default:
--------------------------------------------------------------------------------
1 | No extra node or role related info available.
2 | To have node or role specific extar info, create
3 | modules/puppi/files/info/readme/readme--$hostname or
4 | modules/puppi/files/info/readme/readme-$role
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/files/scripts/execute.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # execute.sh - Made for Puppi
3 | # This script just executes what is passed as argument
4 |
5 | # Sources common header for Puppi scripts
6 | . $(dirname $0)/header || exit 10
7 |
8 | #parse variables
9 | command=$(eval "echo "$*"")
10 |
11 | #execute command
12 | eval "${command}"
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/lib/facter/last_run.rb:
--------------------------------------------------------------------------------
1 | require 'facter'
2 | Facter.add("last_run") do
3 | confine :kernel => [ 'Linux' , 'SunOS' , 'FreeBSD' , 'Darwin' ]
4 | setcode do
5 | Facter::Util::Resolution.exec("date '+%a %b %d %T:%N %Z %Y'")
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/lib/facter/windows_common_appdata.rb:
--------------------------------------------------------------------------------
1 | require 'facter'
2 | Facter.add(:windows_common_appdata) do
3 | confine :operatingsystem => :windows
4 | if Facter.value(:osfamily) == "windows"
5 | require 'win32/dir'
6 | end
7 | setcode do
8 | Dir::COMMON_APPDATA
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/manifests/two.pp:
--------------------------------------------------------------------------------
1 | # Class: puppi::two
2 | #
3 | # Installs Puppi NextGen
4 | #
5 | class puppi::two {
6 |
7 | # The Puppi command
8 | package { 'puppi':
9 | ensure => present,
10 | provider => 'gem',
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/puppi/templates/log.erb:
--------------------------------------------------------------------------------
1 | <% @array_log.each do |path| %><%= path %>
2 | <% end %>
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/pyenv/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | stdlib:
4 | "repo": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
5 | "ref": "3.2.1"
6 | vcsrepo: "git://github.com/puppetlabs/puppetlabs-vcsrepo.git"
7 | symlinks:
8 | apache: "#{source_dir}"
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/pyenv/.gitignore:
--------------------------------------------------------------------------------
1 | .python-version
2 | Gemfile.lock
3 | pkg
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/pyenv/.travis.yml:
--------------------------------------------------------------------------------
1 | language: ruby
2 | bundler_args: --without development debug acceptance
3 | script: "bundle exec rake lint"
4 | rvm:
5 | - 1.8.7
6 | - 1.9.3
7 | env:
8 | matrix:
9 | - PUPPET_GEM_VERSION="~> 3.4.0"
10 | - PUPPET_GEM_VERSION="~> 3.5.0"
11 | matrix:
12 | fast_finish: true
13 | notifications:
14 | email: false
15 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/pyenv/lib/puppet/feature/pyenv.rb:
--------------------------------------------------------------------------------
1 | require 'puppet/util/feature'
2 |
3 | Puppet.features.add(:pyenv) {
4 | if not Facter.value('pyenv_binary').nil?
5 | File.executable?(Facter.value('pyenv_binary'))
6 | else
7 | true
8 | end
9 | }
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | Gemfile.lock
3 | vendor/
4 | spec/fixtures/
5 | .vagrant/
6 | .bundle/
7 | coverage/
8 | .idea/
9 | *.iml
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/files/plugins/amqp_client-2.3.1.ez:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/puppet/modules/rabbitmq/files/plugins/amqp_client-2.3.1.ez
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/files/plugins/rabbit_stomp-2.3.1.ez:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/puppet/modules/rabbitmq/files/plugins/rabbit_stomp-2.3.1.ez
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/manifests/management.pp:
--------------------------------------------------------------------------------
1 | #
2 | class rabbitmq::management {
3 |
4 | $delete_guest_user = $rabbitmq::delete_guest_user
5 |
6 | if $delete_guest_user {
7 | rabbitmq_user{ 'guest':
8 | ensure => absent,
9 | provider => 'rabbitmqctl',
10 | }
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/spec/README.markdown:
--------------------------------------------------------------------------------
1 | Specs
2 | =====
3 |
4 | The Puppet project uses RSpec for testing.
5 |
6 | For more information on RSpec, see http://rspec.info/
7 |
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | log_level: debug
11 | type: git
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/templates/limits.conf:
--------------------------------------------------------------------------------
1 | rabbitmq soft nofile <%= @file_limit %>
2 | rabbitmq hard nofile <%= @file_limit %>
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/templates/rabbitmq-env.conf.erb:
--------------------------------------------------------------------------------
1 | <%- @environment_variables.keys.sort.each do |key| -%>
2 | <%- if @environment_variables[key] != 'UNSET' -%>
3 | <%= key %>=<%= @environment_variables[key] %>
4 | <%- end -%>
5 | <%- end -%>
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/templates/rabbitmq-server.service.d/limits.conf:
--------------------------------------------------------------------------------
1 | [Service]
2 | LimitNOFILE=<%= @file_limit %>
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/templates/rabbitmqadmin.conf.erb:
--------------------------------------------------------------------------------
1 | [default]
2 | <% if @ssl && @management_ssl -%>
3 | ssl = True
4 | port = <%= @ssl_management_port %>
5 | <% else -%>
6 | port = <%= @management_port %>
7 | <% end -%>
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/tests/erlang_deps.pp:
--------------------------------------------------------------------------------
1 | # install first the garethr-erlang module. See README.md
2 | include 'erlang'
3 |
4 | class { 'erlang': epel_enable => true}
5 | Class['erlang'] -> Class['rabbitmq']
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/tests/permissions/add.pp:
--------------------------------------------------------------------------------
1 | rabbitmq_user { 'blah7':
2 | password => 'foo',
3 | }
4 | rabbitmq_vhost { 'test5': }
5 | rabbitmq_user_permissions { 'blah7@test5':
6 | configure_permission => 'config2',
7 | read_permission => 'ready',
8 | #write_permission => 'ready',
9 | }
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/tests/plugin.pp:
--------------------------------------------------------------------------------
1 | class { 'rabbitmq::server':
2 | config_stomp => true,
3 | }
4 |
5 | $rabbitmq_plugins = [ 'amqp_client', 'rabbitmq_stomp' ]
6 |
7 | rabbitmq_plugin { $rabbitmq_plugins:
8 | ensure => present,
9 | require => Class['rabbitmq::server'],
10 | provider => 'rabbitmqplugins',
11 | }
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/tests/repo/apt.pp:
--------------------------------------------------------------------------------
1 | # requires pupetlabs-apt
2 | include rabbitmq::repo::apt
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/tests/server.pp:
--------------------------------------------------------------------------------
1 | class { 'rabbitmq::server':
2 | port => '5672',
3 | delete_guest_user => true,
4 | version => 'latest',
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/tests/service.pp:
--------------------------------------------------------------------------------
1 | class { 'rabbitmq::service': }
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/tests/user/add.pp:
--------------------------------------------------------------------------------
1 | rabbitmq_user { ['blah2', 'blah3', 'blah4']:
2 | password => 'phoey!',
3 | #provider => 'rabbitmqctl',
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rabbitmq/tests/vhosts/add.pp:
--------------------------------------------------------------------------------
1 | rabbitmq_vhost { ['fooey', 'blah']: }
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/redis/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | apt: 'git://github.com/puppetlabs/puppetlabs-apt.git'
4 | stdlib: 'git://github.com/puppetlabs/puppetlabs-stdlib.git'
5 | epel: 'https://github.com/stahnma/puppet-module-epel.git'
6 |
7 | symlinks:
8 | redis: "#{source_dir}"
9 |
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/redis/.gitignore:
--------------------------------------------------------------------------------
1 | *.swp
2 | .DS_Store
3 | .vagrant/
4 | .yardoc
5 | Gemfile.lock
6 | doc
7 | log/
8 | pkg
9 | spec/fixtures
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/redis/.puppet-lint.rc:
--------------------------------------------------------------------------------
1 | --with-filename
2 | #--no-80chars-check
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/redis/manifests/install.pp:
--------------------------------------------------------------------------------
1 | # = Class: redis::install
2 | #
3 | # This class installs the application.
4 | #
5 | class redis::install {
6 | unless defined(Package['$::redis::package_name']) {
7 | ensure_resource('package', $::redis::package_name, {
8 | 'ensure' => $::redis::package_ensure
9 | })
10 | }
11 | }
12 |
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/redis/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 |
10 | CONFIG:
11 | type: foss
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/redis/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format documentation --color --backtrace
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/redis/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/module_spec_helper'
3 |
4 | def centos_facts
5 | {
6 | :operatingsystem => 'CentOS',
7 | :osfamily => 'RedHat',
8 | }
9 | end
10 |
11 | def debian_facts
12 | {
13 | :operatingsystem => 'Debian',
14 | :osfamily => 'Debian',
15 | }
16 | end
17 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/Puppetfile:
--------------------------------------------------------------------------------
1 | forge 'http://forge.puppetlabs.com'
2 |
3 | metadata
4 |
5 | mod 'puppetlabs/apache', '>= 1.1.0'
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/lib/facter/rvm_installed.rb:
--------------------------------------------------------------------------------
1 | Facter.add("rvm_installed") do
2 | rvm_binary = "/usr/local/rvm/bin/rvm"
3 |
4 | setcode do
5 | File.exists? rvm_binary
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/lib/facter/rvm_version.rb:
--------------------------------------------------------------------------------
1 | Facter.add("rvm_version") do
2 | rvm_binary = "/usr/local/rvm/bin/rvm"
3 |
4 | setcode do
5 | File.exists?(rvm_binary) ? `#{rvm_binary} version`.strip.match(/rvm ([0-9]+\.[0-9]+\.[0-9]+) .*/)[1] : nil
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/manifests/gpg.pp:
--------------------------------------------------------------------------------
1 | # RVM's GPG key security signing mechanism requires gpg2 for key import / validation
2 |
3 | class rvm::gpg($package = $rvm::params::gpg_package) inherits rvm::params {
4 |
5 | class { '::gnupg': }
6 |
7 | }
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/manifests/group.pp:
--------------------------------------------------------------------------------
1 | # Create the RVM group
2 | class rvm::group inherits rvm::params {
3 | ensure_resource('group', $rvm::params::group, {'ensure' => 'present' })
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/manifests/passenger/dependencies/oraclelinux.pp:
--------------------------------------------------------------------------------
1 | # Package dependencies for Passenger on Oracle Linux
2 | class rvm::passenger::dependencies::oraclelinux {
3 | ensure_packages(['libcurl-devel'])
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/manifests/passenger/dependencies/ubuntu.pp:
--------------------------------------------------------------------------------
1 | # Package dependencies for Passenger on Ubuntu
2 | class rvm::passenger::dependencies::ubuntu {
3 | ensure_packages(['curl','libcurl4-gnutls-dev'])
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/spec/classes/gnupg_key_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'rvm::gnupg_key', :compile do
4 |
5 | let(:facts) {{ :gnupg_installed => true }}
6 |
7 | it { should contain_gnupg_key('rvm_D39DC0E3') }
8 |
9 | end
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/spec/defines/rvm_alias_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'rvm_alias' do
4 |
5 | let(:title) { '2.0' }
6 | let(:params) {{ :target_ruby => '2.0-384' }}
7 |
8 | context "when using default parameters", :compile do
9 | it { should contain_rvm_alias('2.0').with_target_ruby('2.0-384') }
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/spec/defines/rvm_system_ruby_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'rvm_system_ruby' do
4 |
5 | let(:title) { '2.0' }
6 |
7 | context "when using default parameters", :compile do
8 | it { should contain_rvm_system_ruby('2.0') }
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/spec/fixtures/hiera.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | # This file is managed centrally by modulesync
3 | # https://github.com/maestrodev/puppet-modulesync
4 | :backends:
5 | - rspec
6 | - yaml
7 | :yaml:
8 | :datadir: './spec/fixtures/hieradata'
9 | :hierarchy:
10 | - '%{::clientcert}'
11 | - 'default'
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/rvm/tests/init.pp:
--------------------------------------------------------------------------------
1 | if $::osfamily == 'RedHat' {
2 | class { 'epel':
3 | before => Class['rvm'],
4 | }
5 | }
6 |
7 | class { 'rvm': }
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/solr/.gemfile:
--------------------------------------------------------------------------------
1 | source :rubygems
2 |
3 | puppetversion = ENV['PUPPET_VERSION']
4 | gem 'puppet', puppetversion, :require => false
5 | gem 'puppet-lint'
6 | gem 'puppetlabs_spec_helper', '>= 0.1.0'
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/solr/.gitignore:
--------------------------------------------------------------------------------
1 | /.gradle
2 | /metadata.json
3 | /.rvmrc
4 | build
5 | pkg/
6 | Session.vim
7 | spec/fixtures
8 | .*.sw[a-z]
9 | *.un~
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/solr/README.md:
--------------------------------------------------------------------------------
1 | ## DEPRECATION NOTICE
2 | This module is no more actively maintained and will hardly be updated.
3 |
4 | Please find an alternative module from other authors or consider [Tiny Puppet](https://github.com/example42/puppet-tp) as replacement.
5 |
6 | If you want to maintain this module, contact [Alessandro Franceschi](https://github.com/alvagante)
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/solr/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/rake_tasks'
3 | require 'puppet-lint'
4 | PuppetLint.configuration.send("disable_80chars")
5 | PuppetLint.configuration.send('disable_class_parameter_defaults')
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/Gemfile:
--------------------------------------------------------------------------------
1 | source "https://rubygems.org"
2 |
3 | group :development, :test do
4 | gem 'bodeco_module_helper', :git => 'https://github.com/bodeco/bodeco_module_helper.git'
5 | gem 'rspec', "~> 2.11.0", :require => false
6 | gem 'mocha', "~> 0.10.5", :require => false
7 | end
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/Rakefile:
--------------------------------------------------------------------------------
1 | require 'bodeco_module_helper/rake_tasks'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/files/sample:
--------------------------------------------------------------------------------
1 | sample file to test module.
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/files/sample.tar.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/puppet/modules/staging/files/sample.tar.bz2
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/files/sample.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/puppet/modules/staging/files/sample.tar.gz
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/lib/facter/staging_windir.rb:
--------------------------------------------------------------------------------
1 | Facter.add(:staging_windir) do
2 | confine :osfamily => :windows
3 | setcode do
4 | program_data = `echo %SYSTEMDRIVE%\\ProgramData`.chomp
5 | if File.directory? program_data
6 | "#{program_data}\\staging"
7 | else
8 | "C:\\staging"
9 | end
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/manifests/.init.pp.swp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/puphpet/puppet/modules/staging/manifests/.init.pp.swp
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/spec/fixtures/hiera.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | :backends: - puppet
3 |
4 | :hierarchy: - common
5 |
6 | :puppet:
7 | :datasource: data
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/tests/deploy.pp:
--------------------------------------------------------------------------------
1 | staging::deploy { 'sample.tar.gz':
2 | source => 'puppet:///modules/staging/sample.tar.gz',
3 | target => '/usr/local',
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/tests/init.pp:
--------------------------------------------------------------------------------
1 | include staging
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/staging/tests/scope_defaults.pp:
--------------------------------------------------------------------------------
1 | Exec {
2 | path => '/bin',
3 | }
4 |
5 | if scope_defaults('Exec', 'path') {
6 | notice('good')
7 | }
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | symlinks:
3 | stdlib: "#{source_dir}"
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/.gitignore:
--------------------------------------------------------------------------------
1 | /pkg/
2 | /Gemfile.lock
3 | /vendor/
4 | /spec/fixtures/manifests/*
5 | /spec/fixtures/modules/*
6 | !/spec/fixtures/modules/stdlib
7 | !/spec/fixtures/modules/stdlib/*
8 | /.vagrant/
9 | /.bundle/
10 | /coverage/
11 | /.idea/
12 | *.iml
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/.rspec:
--------------------------------------------------------------------------------
1 | --color
2 | --format
3 | progress
4 | --backtrace
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/.sync.yml:
--------------------------------------------------------------------------------
1 | ---
2 | .travis.yml:
3 | script: "\"bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--color --format documentation'\""
4 | Rakefile:
5 | unmanaged: true
6 | Gemfile:
7 | unmanaged: true
8 | spec/spec_helper.rb:
9 | unmanaged: true
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/README_SPECS.markdown:
--------------------------------------------------------------------------------
1 | NOTE
2 | ====
3 |
4 | This project's specs depend on puppet core, and thus they require the
5 | `puppetlabs_spec_helper` project. For more information please see the README
6 | in that project, which can be found here: [puppetlabs spec
7 | helper](https://github.com/puppetlabs/puppetlabs_spec_helper)
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | # keep for compatibility for now
3 | require 'puppetlabs_spec_helper/rake_tasks'
4 | require 'puppet-lint/tasks/puppet-lint'
5 | PuppetLint.configuration.send('disable_80chars')
6 | PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
7 |
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/examples/file_line.pp:
--------------------------------------------------------------------------------
1 | # This is a simple smoke test
2 | # of the file_line resource type.
3 | file { '/tmp/dansfile':
4 | ensure => file,
5 | } ->
6 | file_line { 'dans_line':
7 | line => 'dan is awesome',
8 | path => '/tmp/dansfile',
9 | }
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/examples/has_ip_address.pp:
--------------------------------------------------------------------------------
1 | include ::stdlib
2 | info('has_ip_address(\'192.168.1.256\'):', has_ip_address('192.168.1.256'))
3 | info('has_ip_address(\'127.0.0.1\'):', has_ip_address('127.0.0.1'))
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/examples/has_ip_network.pp:
--------------------------------------------------------------------------------
1 | include ::stdlib
2 | info('has_ip_network(\'127.0.0.0\'):', has_ip_network('127.0.0.0'))
3 | info('has_ip_network(\'128.0.0.0\'):', has_ip_network('128.0.0.0'))
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/examples/init.pp:
--------------------------------------------------------------------------------
1 | include ::stdlib
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/acceptance/nodesets/centos-59-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-59-x64:
3 | roles:
4 | - master
5 | platform: el-5-x86_64
6 | box : centos-59-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: git
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-64-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-vbox436-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/acceptance/nodesets/fedora-18-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | fedora-18-x64:
3 | roles:
4 | - master
5 | platform: fedora-18-x86_64
6 | box : fedora-18-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/acceptance/nodesets/sles-11-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | sles-11-x64.local:
3 | roles:
4 | - master
5 | platform: sles-11-x64
6 | box : sles-11sp1-x64-vbox4210-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/sles-11sp1-x64-vbox4210-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/fixtures/dscacheutil/root:
--------------------------------------------------------------------------------
1 | name: root
2 | password: *
3 | uid: 0
4 | gid: 0
5 | dir: /var/root
6 | shell: /bin/bash
7 | gecos: rawr Root
8 |
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/fixtures/lsuser/root:
--------------------------------------------------------------------------------
1 | #name:home
2 | root:/root
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb:
--------------------------------------------------------------------------------
1 | #! /usr/bin/env ruby -S rspec
2 | require 'rspec'
3 |
4 | class Object
5 | # This is necessary because the RAL has a 'should'
6 | # method.
7 | alias :must :should
8 | alias :must_not :should_not
9 | end
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require 'spec_helper'
4 |
5 | anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")
6 |
7 | describe anchor do
8 | it "should stringify normally" do
9 | expect(anchor.to_s).to eq("Anchor[ntp::begin]")
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | 'stdlib':
4 | repo: 'git://github.com/puppetlabs/puppetlabs-stdlib'
5 | ref: '4.1.0'
6 | 'concat':
7 | repo: 'git://github.com/puppetlabs/puppetlabs-concat'
8 | ref: '1.0.1'
9 | symlinks:
10 | supervisord: "#{source_dir}"
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/.gitignore:
--------------------------------------------------------------------------------
1 | Gemfile.lock
2 | pkg/*
3 | spec/fixtures
4 | .rspec_system/
5 | .rvmrc
6 | .vagrant
7 | .bundle
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/manifests/install.pp:
--------------------------------------------------------------------------------
1 | # Class supervisord::install
2 | #
3 | # Installs supervisor package (defaults to using pip)
4 | #
5 | class supervisord::install inherits supervisord {
6 | package { $supervisord::package_name:
7 | ensure => $supervisord::package_ensure,
8 | provider => $supervisord::package_provider
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/manifests/service.pp:
--------------------------------------------------------------------------------
1 | # Class: supervisord::service
2 | #
3 | # Class for the supervisord service
4 | #
5 | class supervisord::service inherits supervisord {
6 | service { $supervisord::service_name:
7 | ensure => $supervisord::service_ensure,
8 | enable => true,
9 | hasrestart => true,
10 | hasstatus => true
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/spec/acceptance/nodesets/centos-65-i386.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-i386:
3 | roles:
4 | - master
5 | platform: el-6-i386
6 | box : centos-65-i386-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-i386-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/spec/acceptance/nodesets/centos-65-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-65-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box : centos-65-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/spec/acceptance/nodesets/debian-73-i386.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-i386:
3 | roles:
4 | - master
5 | platform: debian-7-i386
6 | box : debian-73-i386-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-i386-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/spec/acceptance/nodesets/debian-73-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/spec/acceptance/nodesets/default.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | debian-73-x64:
3 | roles:
4 | - master
5 | platform: debian-7-amd64
6 | box : debian-73-x64-virtualbox-nocm
7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
8 | hypervisor : vagrant
9 | CONFIG:
10 | type: foss
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/templates/conf/group.erb:
--------------------------------------------------------------------------------
1 | [group:<%= @name %>]
2 | programs=<%= @progstring %>
3 | <% if @priority -%>
4 | priority=<%= @priority %>
5 | <% end -%>
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/templates/init/Debian/defaults.erb:
--------------------------------------------------------------------------------
1 | # Defaults for supervisor initscript
2 | # sourced by /etc/init.d/supervisor
3 | # installed at /etc/default/supervisor by the maintainer scripts
4 |
5 | #
6 | # This is a POSIX shell fragment
7 | #
8 |
9 | # Additional options that are passed to the Daemon.
10 | DAEMON_OPTS="-c <%= @config_file %>"
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/templates/init/RedHat/defaults.erb:
--------------------------------------------------------------------------------
1 | # this is sourced by the supervisord init script
2 | # written by jkoppe
3 |
4 | set -a
5 |
6 | # should probably put both of these options as runtime arguments
7 | OPTIONS="-c <%= @config_file %>"
8 | PIDFILE=<%= @run_path %><%= @pid_file %>
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/tests/group.pp:
--------------------------------------------------------------------------------
1 | supervisord::group { 'mygroup':
2 | priority => 100,
3 | program => ['program1', 'program2', 'program3']
4 | }
--------------------------------------------------------------------------------
/puphpet/puppet/modules/supervisord/tests/init.pp:
--------------------------------------------------------------------------------
1 | class { 'supervisord':
2 | install_pip => true,
3 | install_init => true,
4 | nocleanup => true,
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/swap_file/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git"
4 | symlinks:
5 | swap_file: "#{source_dir}"
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/swap_file/.gitignore:
--------------------------------------------------------------------------------
1 | .*.sw?
2 | pkg
3 | spec/fixtures
4 | .rspec_system
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/swap_file/.rspec:
--------------------------------------------------------------------------------
1 | --format documentation
2 | --color
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/swap_file/CONTRIBUTORS:
--------------------------------------------------------------------------------
1 | Peter Souter (@petems)
--------------------------------------------------------------------------------
/puphpet/puppet/modules/swap_file/Guardfile:
--------------------------------------------------------------------------------
1 | notification :off
2 |
3 | guard 'rake', :task => 'test' do
4 | watch(%r{^manifests\/(.+)\.pp$})
5 | end
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/swap_file/spec/acceptance/nodesets/centos-64-x64.yml:
--------------------------------------------------------------------------------
1 | HOSTS:
2 | centos-64-x64:
3 | roles:
4 | - master
5 | platform: el-6-x86_64
6 | box: centos-64-x64-vbox4210-nocm
7 | box_url: http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box
8 | hypervisor: vagrant
9 | CONFIG:
10 | log_level: verbose
11 | type: foss
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/swap_file/spec/classes/coverage_spec.rb:
--------------------------------------------------------------------------------
1 | at_exit { RSpec::Puppet::Coverage.report! }
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/swap_file/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/sysctl/Gemfile:
--------------------------------------------------------------------------------
1 | source :rubygems
2 |
3 | puppetversion = ENV['PUPPET_VERSION']
4 | gem 'puppet', puppetversion, :require => false
5 | gem 'puppet-lint'
6 | gem 'rspec-puppet'
7 | gem 'puppetlabs_spec_helper', '>= 0.4.0'
8 |
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/sysctl/Modulefile:
--------------------------------------------------------------------------------
1 | name 'thias-sysctl'
2 | version '0.3.0'
3 | source 'git://github.com/thias/puppet-sysctl'
4 | author 'Matthias Saou'
5 | license 'Apache 2.0'
6 | summary 'Sysctl module'
7 | description "Manage sysctl variable values."
8 | project_page 'https://github.com/thias/puppet-sysctl'
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/sysctl/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/rake_tasks'
3 | require 'puppet-lint'
4 | PuppetLint.configuration.send("disable_80chars")
5 | PuppetLint.configuration.send("disable_autoloader_layout")
6 | PuppetLint.configuration.send("disable_quoted_booleans")
7 |
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/sysctl/spec/classes/sysctl_base_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'sysctl::base', :type => :class do
4 |
5 | it { should create_class('sysctl::base') }
6 | it { should contain_file('/etc/sysctl.d') }
7 |
8 | end
9 |
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/sysctl/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/module_spec_helper'
3 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/sysctl/templates/sysctl.d-file.erb:
--------------------------------------------------------------------------------
1 | <% if @comment -%>
2 | <% @comment.each do |line| -%>
3 | # <%= line %>
4 | <% end -%>
5 | <% end -%>
6 | <%= @title %> = <%= @value %>
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/sysctl/tests/base.pp:
--------------------------------------------------------------------------------
1 | include sysctl::base
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/sysctl/tests/init.pp:
--------------------------------------------------------------------------------
1 | sysctl { 'net.ipv4.ip_forward': value => '1' }
2 | sysctl { 'net.core.somaxconn': value => '65536' }
3 | sysctl { 'vm.swappiness': ensure => absent }
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/timezone/.fixtures.yml:
--------------------------------------------------------------------------------
1 | fixtures:
2 | repositories:
3 | stdlib:
4 | repo: https://github.com/puppetlabs/puppetlabs-stdlib.git
5 | ref: 4.1.0
6 | symlinks:
7 | timezone: "#{source_dir}"
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/timezone/.gitignore:
--------------------------------------------------------------------------------
1 | pkg/
2 | *.swp
3 | Gemfile.lock
4 | spec/fixtures
5 | /coverage/
6 | .vagrant
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/timezone/.rspec:
--------------------------------------------------------------------------------
1 | --format documentation
2 | --color
3 | --tty
4 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/timezone/spec/classes/timezone_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe 'timezone' do
4 | ['Debian','RedHat','Gentoo','FreeBSD'].each do |osfamily|
5 | describe "on supported osfamily: #{osfamily}" do
6 | include_examples osfamily
7 | end
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/timezone/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 | require 'pathname'
3 |
4 | dir = Pathname.new(__FILE__).parent
5 | # Load all shared contexts and shared examples
6 | Dir["#{dir}/support/**/*.rb"].sort.each {|f| require f}
7 |
8 | at_exit { RSpec::Puppet::Coverage.report! }
9 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/timezone/templates/clock.erb:
--------------------------------------------------------------------------------
1 | # Managed by puppet - do not modify
2 | ZONE="<%= @timezone %>"
3 | <% if !@hwutc.empty? -%>
4 | UTC=<%= @hwutc %>
5 | <% end -%>
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/timezone/templates/timezone.erb:
--------------------------------------------------------------------------------
1 | <%- if @timezone_file_supports_comment -%>
2 | # Managed by puppet - do not modify
3 | <%- end -%>
4 | <%= @timezone %>
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/timezone/tests/init.pp:
--------------------------------------------------------------------------------
1 | include timezone
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/.gitignore:
--------------------------------------------------------------------------------
1 | coverage
2 | .DS_Store
3 | .#*
4 | \#*
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/Modulefile:
--------------------------------------------------------------------------------
1 | name 'puppetlabs/vcsrepo'
2 | version '0.2.0'
3 | summary 'Manage repositories from various version control systems'
4 | description 'Manage repositories from various version control systems'
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/Rakefile:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/rake_tasks'
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/bzr/branch.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-bzr-branch':
2 | ensure => present,
3 | provider => bzr,
4 | source => 'lp:do',
5 | revision => '1312',
6 | }
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/bzr/init_repo.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-bzr-init':
2 | ensure => present,
3 | provider => bzr,
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/cvs/local.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-cvs-repo':
2 | ensure => present,
3 | provider => cvs,
4 | }
5 |
6 | vcsrepo { '/tmp/vcstest-cvs-workspace-local':
7 | ensure => present,
8 | provider => cvs,
9 | source => '/tmp/vcstest-cvs-repo',
10 | require => Vcsrepo['/tmp/vcstest-cvs-repo'],
11 | }
12 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/cvs/remote.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-cvs-workspace-remote':
2 | ensure => present,
3 | provider => cvs,
4 | source => ':pserver:anonymous@cvs.sv.gnu.org:/sources/leetcvrt',
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/git/bare_init.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-git-bare':
2 | ensure => bare,
3 | provider => git,
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/git/clone.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-git-clone':
2 | ensure => present,
3 | provider => git,
4 | source => 'git://github.com/bruce/rtex.git',
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/git/working_copy_init.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-git-wc':
2 | ensure => present,
3 | provider => git,
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/hg/clone.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-hg-clone':
2 | ensure => present,
3 | provider => hg,
4 | source => 'http://hg.basho.com/riak',
5 | revision => 'riak-0.5.3',
6 | }
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/hg/init_repo.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-hg-init':
2 | ensure => present,
3 | provider => hg,
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/svn/checkout.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-svn-checkout':
2 | ensure => present,
3 | provider => svn,
4 | source => 'http://svn.edgewall.org/repos/babel/trunk',
5 | }
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/examples/svn/server.pp:
--------------------------------------------------------------------------------
1 | vcsrepo { '/tmp/vcstest-svn-server':
2 | ensure => present,
3 | provider => svn,
4 | }
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/spec/fixtures/bzr_version_info.txt:
--------------------------------------------------------------------------------
1 | revision-id: menesis@pov.lt-20100309191856-4wmfqzc803fj300x
2 | date: 2010-03-09 21:18:56 +0200
3 | build-date: 2010-03-14 00:42:43 -0800
4 | revno: 2634
5 | branch-nick: mytest
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/spec/fixtures/git_branch_a.txt:
--------------------------------------------------------------------------------
1 | feature/foo
2 | feature/bar
3 | feature/baz
4 | feature/quux
5 | only/local
6 | * master
7 | refactor/foo
8 | origin/HEAD
9 | origin/feature/foo
10 | origin/feature/bar
11 | origin/feature/baz
12 | origin/feature/quux
13 | origin/only/remote
14 | origin/master
15 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/spec/fixtures/git_branch_feature_bar.txt:
--------------------------------------------------------------------------------
1 | feature/foo
2 | * feature/bar
3 | feature/baz
4 | feature/quux
5 | only/local
6 | master
7 | refactor/foo
8 | origin/HEAD
9 | origin/feature/foo
10 | origin/feature/bar
11 | origin/feature/baz
12 | origin/feature/quux
13 | origin/only/remote
14 | origin/master
15 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/spec/fixtures/git_branch_none.txt:
--------------------------------------------------------------------------------
1 | feature/foo
2 | feature/bar
3 | feature/baz
4 | feature/quux
5 | only/local
6 | master
7 | * (no branch)
8 | refactor/foo
9 | origin/HEAD
10 | origin/feature/foo
11 | origin/feature/bar
12 | origin/feature/baz
13 | origin/feature/quux
14 | origin/only/remote
15 | origin/master
16 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/spec/fixtures/hg_parents.txt:
--------------------------------------------------------------------------------
1 | changeset: 3:34e6012c783a
2 | parent: 2:21ea4598c962
3 | parent: 1:9d0ff0028458
4 | user: Test User
5 | date: Fri Aug 07 13:13:02 2009 -0400
6 | summary: merge
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/spec/fixtures/svn_info.txt:
--------------------------------------------------------------------------------
1 | Path: .
2 | URL: http://example.com/svn/trunk
3 | Repository Root: http://example.com/svn
4 | Repository UUID: 75246ace-e253-0410-96dd-a7613ca8dc81
5 | Revision: 4
6 | Node Kind: directory
7 | Schedule: normal
8 | Last Changed Author: jon
9 | Last Changed Rev: 3
10 | Last Changed Date: 2008-08-07 11:34:25 -0700 (Thu, 07 Aug 2008)
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/spec/spec.opts:
--------------------------------------------------------------------------------
1 | --format
2 | s
3 | --colour
4 | --loadby
5 | mtime
6 | --backtrace
7 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 | require 'simplecov'
3 | require 'support/filesystem_helpers'
4 | require 'support/fixture_helpers'
5 |
6 | SimpleCov.start do
7 | add_filter "/spec/"
8 | end
9 |
10 | RSpec.configure do |c|
11 | c.include FilesystemHelpers
12 | c.include FixtureHelpers
13 | end
14 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/spec/support/fixture_helpers.rb:
--------------------------------------------------------------------------------
1 | module FixtureHelpers
2 |
3 | def fixture(name, ext = '.txt')
4 | File.read(File.join(File.dirname(__FILE__), '..', 'fixtures', name.to_s + ext))
5 | end
6 |
7 | end
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/vcsrepo/spec/unit/puppet/type/README.markdown:
--------------------------------------------------------------------------------
1 | Resource Type Specs
2 | ===================
3 |
4 | Define specs for your resource types in this directory.
5 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/yum/.gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | puppetversion = ENV['PUPPET_VERSION']
4 | gem 'puppet', puppetversion, :require => false
5 | gem 'puppet-lint'
6 | gem 'rspec', '~> 3.1.0', :platforms => :ruby_18
7 | gem 'puppetlabs_spec_helper', '>= 0.1.0'
8 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/yum/.gitignore:
--------------------------------------------------------------------------------
1 | /.gradle
2 | /.rvmrc
3 | build
4 | pkg/
5 | Session.vim
6 | spec/fixtures
7 | .*.sw[a-z]
8 | *.un~
9 | .gemfile.lock
10 | .bundle
11 | vendor
12 |
13 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/yum/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'puppetlabs_spec_helper/rake_tasks'
3 | require 'puppet-lint/tasks/puppet-lint'
4 | PuppetLint.configuration.send('disable_80chars')
5 | PuppetLint.configuration.send('disable_class_parameter_defaults')
6 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/yum/files/empty/.placeholder:
--------------------------------------------------------------------------------
1 | # Placeholder for git
2 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/yum/manifests/plugin/security.pp:
--------------------------------------------------------------------------------
1 | # = Class yum::plugin::security
2 | #
3 | #
4 | class yum::plugin::security ($ensure = present) {
5 |
6 | package {
7 | 'yum-plugin-security':
8 | ensure => $ensure
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/puphpet/puppet/modules/yum/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'puppetlabs_spec_helper/module_spec_helper'
2 |
--------------------------------------------------------------------------------
/puphpet/shell/ascii-art/self-promotion.txt:
--------------------------------------------------------------------------------
1 |
2 | ____ ____ _ _ ____ _ generated using
3 | | _ \ _ _| _ \| | | | _ \ ___| |_ ___ ___ _ __ ___
4 | | |_) | | | | |_) | |_| | |_) / _ \ __| / __/ _ \| '_ ` _ \
5 | | __/| |_| | __/| _ | __/ __/ |_ | (_| (_) | | | | | |
6 | |_| \__,_|_| |_| |_|_| \___|\__(_)___\___/|_| |_| |_|
7 |
--------------------------------------------------------------------------------
/puphpet/shell/important-notices.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | VAGRANT_CORE_FOLDER=$(cat '/.puphpet-stuff/vagrant-core-folder.txt')
4 |
5 | if [[ -f '/.puphpet-stuff/displayed-important-notices' ]]; then
6 | exit 0
7 | fi
8 |
9 | cat "${VAGRANT_CORE_FOLDER}/shell/ascii-art/important-notices.txt"
10 |
11 | touch '/.puphpet-stuff/displayed-important-notices'
12 |
--------------------------------------------------------------------------------
/readMosquittoLog.sh:
--------------------------------------------------------------------------------
1 | echo $(cat /var/log/mosquitto/mosquitto.log | sed "s/\(^[0-9][0-9]*\):\(.*\)/echo \"\$\(date -d @\1\): \2\"/g") | sed 's/" echo/"\necho/g' | while read line;do eval $line;done
2 |
--------------------------------------------------------------------------------
/reports/Making_sense_visit_bcn.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/reports/Making_sense_visit_bcn.docx
--------------------------------------------------------------------------------
/sensor_kit/LICENCE:
--------------------------------------------------------------------------------
1 | All the material that you find in this folder is released as
2 |
3 | Creative Common Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
4 |
5 | https://creativecommons.org/licenses/by-sa/4.0/
6 |
--------------------------------------------------------------------------------
/sensor_kit/doc/README:
--------------------------------------------------------------------------------
1 | To Do List:
2 |
3 | - add the protocols block diagram
4 | - add the BOM
5 |
--------------------------------------------------------------------------------
/sensor_kit/doc/Sensor_Kit_doc.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/doc/Sensor_Kit_doc.pdf
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0001.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0001.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0003.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0003.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0004.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0004.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0005.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0005.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0006.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0006.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0007.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0007.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0008.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0008.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0009.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0009.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0010.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0010.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0011.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0011.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0/IMG_0012.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0/IMG_0012.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0_1/IMG_0037.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0_1/IMG_0037.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0_1/IMG_0038.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0_1/IMG_0038.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_0_1/IMG_0039.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_0_1/IMG_0039.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0040.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0040.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0041.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0041.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0042.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0042.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0043.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0043.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0044.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0044.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0045.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0045.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0046.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0046.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0047.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0047.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0048.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0048.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0049.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0049.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0050.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0050.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0051.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0051.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0052.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0052.jpg
--------------------------------------------------------------------------------
/sensor_kit/images/prototype_1/IMG_0053.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/images/prototype_1/IMG_0053.jpg
--------------------------------------------------------------------------------
/sensor_kit/layout/Making Sense Sensorboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/layout/Making Sense Sensorboard.png
--------------------------------------------------------------------------------
/sensor_kit/layout/Making Sense Shield.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/sensor_kit/layout/Making Sense Shield.png
--------------------------------------------------------------------------------
/server/.gitignore:
--------------------------------------------------------------------------------
1 | /puphpet/files/dot/ssh/
2 | /conf/makingsense.yaml
3 | /.vagrant
4 |
--------------------------------------------------------------------------------
/server/airqserver/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/waagsociety/making-sensor/85ae018013445cfe690aeb5c52f394ccb692d2a5/server/airqserver/.gitignore
--------------------------------------------------------------------------------
/server/airqserver/Gemfile:
--------------------------------------------------------------------------------
1 | # A sample Gemfile
2 | source "https://rubygems.org"
3 |
4 | # gem "rails"
5 | gem "sinatra"
6 | gem "sinatra-contrib"
7 | gem "pg"
8 | gem "passenger", ">= 5.0.25", require: "phusion_passenger/rack_handler"
9 | gem "json"
10 |
--------------------------------------------------------------------------------
/server/airqserver/Passengerfile.json:
--------------------------------------------------------------------------------
1 | {
2 | "address": "127.0.0.1",
3 | "port": 8090,
4 | "environment": "production",
5 | "ssl": false,
6 | "daemonize": true,
7 | "user": "www-data",
8 | "log_file": "/var/log/airqserver/airqserver.log",
9 | "pid_file": "/var/run/airqserver.passenger.pid",
10 | }
11 |
--------------------------------------------------------------------------------
/server/airqserver/airqserver.logrotate:
--------------------------------------------------------------------------------
1 | LOG_FILE {
2 | rotate 14
3 | daily
4 | compress
5 | copytruncate
6 | missingok
7 | notifempty
8 | size 1M
9 | postrotate
10 | /etc/init.d/SERVICE reload
11 | endscript
12 | }
13 |
--------------------------------------------------------------------------------
/server/airqserver/config.ru:
--------------------------------------------------------------------------------
1 | require File.absolute_path("app.rb")
2 |
3 | run AirqApp
4 |
--------------------------------------------------------------------------------
/server/conf/aclfile:
--------------------------------------------------------------------------------
1 | user MSAdmin
2 | topic read $SYS/#
3 |
4 | user AirQSubscriber
5 | topic read sensor/#
6 |
7 | user AirQPublisher
8 | pattern write sensor/+/data
9 |
--------------------------------------------------------------------------------
/server/dataexport/toRIVM.logrotate:
--------------------------------------------------------------------------------
1 | LOG_FILE {
2 | rotate 14
3 | daily
4 | compress
5 | copytruncate
6 | missingok
7 | notifempty
8 | size 1M
9 | }
10 |
--------------------------------------------------------------------------------
/server/dataimport/Gemfile:
--------------------------------------------------------------------------------
1 | # A sample Gemfile
2 | source "https://rubygems.org"
3 |
4 | gem 'faraday'
5 | gem 'faraday_middleware'
6 | gem 'json'
7 | gem 'pg'
8 | gem 'multipart-post'
9 |
--------------------------------------------------------------------------------
/server/dataimport/ndw_traveltimeams.logrotate:
--------------------------------------------------------------------------------
1 | LOG_FILE {
2 | rotate 14
3 | daily
4 | compress
5 | copytruncate
6 | missingok
7 | notifempty
8 | size 1M
9 | }
10 |
--------------------------------------------------------------------------------
/server/mosquitto-agent/Gemfile:
--------------------------------------------------------------------------------
1 | # A sample Gemfile
2 | source "https://rubygems.org"
3 |
4 | # gem "rails"
5 | gem "sinatra"
6 | gem "sinatra-contrib"
7 | gem "pg"
8 | gem "json"
9 | gem "mqtt"
10 | gem "backports"
11 | gem "faraday"
12 | gem "faraday_middleware"
13 |
--------------------------------------------------------------------------------
/server/mosquitto-agent/airq-agent.logrotate:
--------------------------------------------------------------------------------
1 | LOG_FILE {
2 | rotate 14
3 | daily
4 | compress
5 | copytruncate
6 | missingok
7 | notifempty
8 | size 1M
9 | }
10 |
--------------------------------------------------------------------------------
/server/mosquitto-agent/smartkids-agent.logrotate:
--------------------------------------------------------------------------------
1 | /home/stefano/making-sensor/server/mosquitto-agent/screenlog.0 {
2 | rotate 7
3 | daily
4 | compress
5 | copytruncate
6 | missingok
7 | notifempty
8 | size 1M
9 | }
10 |
--------------------------------------------------------------------------------
/statistics/Statistics.Rproj:
--------------------------------------------------------------------------------
1 | Version: 1.0
2 |
3 | RestoreWorkspace: Default
4 | SaveWorkspace: Default
5 | AlwaysSaveHistory: Default
6 |
7 | EnableCodeIndexing: Yes
8 | UseSpacesForTab: Yes
9 | NumSpacesForTab: 2
10 | Encoding: UTF-8
11 |
12 | RnwWeave: Sweave
13 | LaTeX: pdfLaTeX
14 |
--------------------------------------------------------------------------------