├── .gitattributes ├── .gitignore ├── Vagrantfile ├── puphpet ├── config.yaml ├── files │ ├── dot │ │ ├── .bash_aliases │ │ ├── .bash_git │ │ ├── .vimrc │ │ └── ssh │ │ │ ├── id_rsa │ │ │ ├── id_rsa.ppk │ │ │ ├── id_rsa.pub │ │ │ ├── insecure_private_key │ │ │ ├── root_id_rsa │ │ │ ├── root_id_rsa.ppk │ │ │ └── root_id_rsa.pub │ ├── exec-always-unprivileged │ │ └── empty │ ├── exec-always │ │ └── empty │ ├── exec-once-unprivileged │ │ └── empty │ ├── exec-once │ │ └── empty │ ├── startup-always-unprivileged │ │ └── empty │ ├── startup-always │ │ └── empty │ ├── startup-once-unprivileged │ │ ├── setup.sh │ │ └── src │ │ │ └── serve.sh │ └── startup-once │ │ └── empty ├── puppet │ ├── Puppetfile │ ├── Puppetfile.lock │ ├── hiera.yaml │ ├── modules │ │ ├── LICENSE │ │ ├── README.md │ │ ├── apache │ │ │ ├── .fixtures.yml │ │ │ ├── .geppetto-rc.json │ │ │ ├── .nodeset.yml │ │ │ ├── .puppet-lint.rc │ │ │ ├── .sync.yml │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── CONTRIBUTING.md │ │ │ ├── Gemfile │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── README.passenger.md │ │ │ ├── Rakefile │ │ │ ├── files │ │ │ │ └── httpd │ │ │ ├── lib │ │ │ │ └── puppet │ │ │ │ │ ├── parser │ │ │ │ │ └── functions │ │ │ │ │ │ └── bool2httpd.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 │ │ │ │ │ ├── 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 │ │ │ │ │ ├── fastcgi.pp │ │ │ │ │ ├── fcgid.pp │ │ │ │ │ ├── filter.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 │ │ │ │ │ ├── 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 │ │ │ │ │ ├── basic_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-59-x64.yml │ │ │ │ │ │ ├── centos-64-x64-pe.yml │ │ │ │ │ │ ├── centos-64-x64.yml │ │ │ │ │ │ ├── centos-65-x64.yml │ │ │ │ │ │ ├── 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 │ │ │ │ │ │ ├── authnz_ldap_spec.rb │ │ │ │ │ │ ├── dav_svn_spec.rb │ │ │ │ │ │ ├── deflate_spec.rb │ │ │ │ │ │ ├── dev_spec.rb │ │ │ │ │ │ ├── dir_spec.rb │ │ │ │ │ │ ├── event_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 │ │ │ │ │ │ ├── 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 │ │ │ │ ├── fixtures │ │ │ │ │ ├── files │ │ │ │ │ │ ├── negotiation.conf │ │ │ │ │ │ └── spec │ │ │ │ │ ├── modules │ │ │ │ │ │ └── site_apache │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ └── fake.conf.erb │ │ │ │ │ └── templates │ │ │ │ │ │ └── negotiation.conf.erb │ │ │ │ ├── spec.opts │ │ │ │ ├── spec_helper.rb │ │ │ │ ├── spec_helper_acceptance.rb │ │ │ │ └── unit │ │ │ │ │ ├── provider │ │ │ │ │ └── a2mod │ │ │ │ │ │ └── gentoo_spec.rb │ │ │ │ │ └── puppet │ │ │ │ │ └── parser │ │ │ │ │ └── functions │ │ │ │ │ └── bool2httpd_spec.rb │ │ │ ├── templates │ │ │ │ ├── confd │ │ │ │ │ └── no-accf.conf.erb │ │ │ │ ├── fastcgi │ │ │ │ │ └── server.erb │ │ │ │ ├── httpd.conf.erb │ │ │ │ ├── listen.erb │ │ │ │ ├── mod │ │ │ │ │ ├── alias.conf.erb │ │ │ │ │ ├── auth_cas.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 │ │ │ │ │ ├── fastcgi.conf.erb │ │ │ │ │ ├── fcgid.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 │ │ │ │ │ ├── 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 │ │ │ │ │ ├── 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 │ │ │ │ │ ├── _block.erb │ │ │ │ │ ├── _charsets.erb │ │ │ │ │ ├── _custom_fragment.erb │ │ │ │ │ ├── _directories.erb │ │ │ │ │ ├── _docroot.erb │ │ │ │ │ ├── _error_document.erb │ │ │ │ │ ├── _fallbackresource.erb │ │ │ │ │ ├── _fastcgi.erb │ │ │ │ │ ├── _file_footer.erb │ │ │ │ │ ├── _file_header.erb │ │ │ │ │ ├── _header.erb │ │ │ │ │ ├── _itk.erb │ │ │ │ │ ├── _logging.erb │ │ │ │ │ ├── _passenger.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 │ │ │ └── tests │ │ │ │ ├── apache.pp │ │ │ │ ├── dev.pp │ │ │ │ ├── init.pp │ │ │ │ ├── mod_load_params.pp │ │ │ │ ├── mods.pp │ │ │ │ ├── mods_custom.pp │ │ │ │ ├── php.pp │ │ │ │ ├── vhost.pp │ │ │ │ ├── vhost_directories.pp │ │ │ │ ├── vhost_ip_based.pp │ │ │ │ ├── vhost_proxypass.pp │ │ │ │ ├── vhost_ssl.pp │ │ │ │ └── vhosts_without_listen.pp │ │ ├── apt │ │ │ ├── .fixtures.yml │ │ │ ├── .project │ │ │ ├── .puppet-lint.rc │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── Gemfile │ │ │ ├── LICENSE │ │ │ ├── Modulefile │ │ │ ├── README.md │ │ │ ├── Rakefile │ │ │ ├── manifests │ │ │ │ ├── backports.pp │ │ │ │ ├── builddep.pp │ │ │ │ ├── conf.pp │ │ │ │ ├── debian │ │ │ │ │ ├── testing.pp │ │ │ │ │ └── unstable.pp │ │ │ │ ├── force.pp │ │ │ │ ├── init.pp │ │ │ │ ├── key.pp │ │ │ │ ├── params.pp │ │ │ │ ├── pin.pp │ │ │ │ ├── ppa.pp │ │ │ │ ├── release.pp │ │ │ │ ├── source.pp │ │ │ │ ├── unattended_upgrades.pp │ │ │ │ └── update.pp │ │ │ ├── metadata.json │ │ │ ├── spec │ │ │ │ ├── acceptance │ │ │ │ │ ├── apt_builddep_spec.rb │ │ │ │ │ ├── apt_key_spec.rb │ │ │ │ │ ├── apt_ppa_spec.rb │ │ │ │ │ ├── apt_source_spec.rb │ │ │ │ │ ├── apt_spec.rb │ │ │ │ │ ├── backports_spec.rb │ │ │ │ │ ├── class_spec.rb │ │ │ │ │ ├── conf_spec.rb │ │ │ │ │ ├── force_spec.rb │ │ │ │ │ ├── nodesets │ │ │ │ │ │ ├── debian-70rc1-x64.yml │ │ │ │ │ │ ├── default.yml │ │ │ │ │ │ ├── ubuntu-server-10044-x64.yml │ │ │ │ │ │ └── ubuntu-server-12042-x64.yml │ │ │ │ │ ├── pin_spec.rb │ │ │ │ │ ├── release_spec.rb │ │ │ │ │ ├── unattended_upgrade_spec.rb │ │ │ │ │ └── unsupported_spec.rb │ │ │ │ ├── classes │ │ │ │ │ ├── apt_spec.rb │ │ │ │ │ ├── backports_spec.rb │ │ │ │ │ ├── debian_testing_spec.rb │ │ │ │ │ ├── debian_unstable_spec.rb │ │ │ │ │ ├── params_spec.rb │ │ │ │ │ ├── release_spec.rb │ │ │ │ │ └── unattended_upgrades_spec.rb │ │ │ │ ├── defines │ │ │ │ │ ├── builddep_spec.rb │ │ │ │ │ ├── conf_spec.rb │ │ │ │ │ ├── force_spec.rb │ │ │ │ │ ├── key_spec.rb │ │ │ │ │ ├── pin_spec.rb │ │ │ │ │ ├── ppa_spec.rb │ │ │ │ │ └── source_spec.rb │ │ │ │ ├── spec_helper.rb │ │ │ │ └── spec_helper_acceptance.rb │ │ │ ├── templates │ │ │ │ ├── 10periodic.erb │ │ │ │ ├── 50unattended-upgrades.erb │ │ │ │ ├── pin.pref.erb │ │ │ │ └── source.list.erb │ │ │ └── tests │ │ │ │ ├── builddep.pp │ │ │ │ ├── debian │ │ │ │ ├── testing.pp │ │ │ │ └── unstable.pp │ │ │ │ ├── force.pp │ │ │ │ ├── init.pp │ │ │ │ ├── key.pp │ │ │ │ ├── params.pp │ │ │ │ ├── pin.pp │ │ │ │ ├── ppa.pp │ │ │ │ ├── release.pp │ │ │ │ ├── source.pp │ │ │ │ └── unattended_upgrades.pp │ │ ├── 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_default.erb │ │ │ │ │ │ └── redhat │ │ │ │ │ │ └── beanstalkd_sysconfig.erb │ │ │ │ └── spec_helper.rb │ │ │ └── templates │ │ │ │ ├── debian │ │ │ │ └── beanstalkd_default.erb │ │ │ │ └── redhat │ │ │ │ └── beanstalkd_sysconfig.erb │ │ ├── blackfire │ │ │ ├── .fixtures.yml │ │ │ ├── .pmtignore │ │ │ ├── .travis.yml │ │ │ ├── Gemfile │ │ │ ├── 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 │ │ │ │ │ │ ├── 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 │ │ │ ├── .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 │ │ │ ├── .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 │ │ ├── elasticsearch │ │ │ ├── .fixtures.yml │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG │ │ │ ├── CONTRIBUTING.md │ │ │ ├── CONTRIBUTORS │ │ │ ├── Gemfile │ │ │ ├── LICENSE │ │ │ ├── Modulefile │ │ │ ├── README.md │ │ │ ├── Rakefile │ │ │ ├── manifests │ │ │ │ ├── config.pp │ │ │ │ ├── init.pp │ │ │ │ ├── java.pp │ │ │ │ ├── package.pp │ │ │ │ ├── params.pp │ │ │ │ ├── plugin.pp │ │ │ │ ├── python.pp │ │ │ │ ├── ruby.pp │ │ │ │ ├── service.pp │ │ │ │ ├── service │ │ │ │ │ └── init.pp │ │ │ │ └── template.pp │ │ │ ├── spec │ │ │ │ ├── classes │ │ │ │ │ ├── 001_elasticsearch_init_debian_spec.rb │ │ │ │ │ ├── 002_elasticsearch_init_redhat_spec.rb │ │ │ │ │ ├── 003_elasticsearch_init_unknown_spec.rb │ │ │ │ │ ├── 004_elasticsearch_init_config_spec.rb │ │ │ │ │ └── 005_elasticsearch_java_spec.rb │ │ │ │ ├── defines │ │ │ │ │ ├── 001_elasticsearch_python_spec.rb │ │ │ │ │ ├── 002_elasticsearch_ruby_spec.rb │ │ │ │ │ ├── 003_elasticsearch_template_spec.rb │ │ │ │ │ └── 004_elasticsearch_plugin_spec.rb │ │ │ │ ├── lib │ │ │ │ │ ├── parser_validate_task.rb │ │ │ │ │ └── template_check_task.rb │ │ │ │ └── spec_helper.rb │ │ │ └── templates │ │ │ │ └── etc │ │ │ │ ├── elasticsearch │ │ │ │ └── elasticsearch.yml.erb │ │ │ │ ├── init.d │ │ │ │ ├── elasticsearch.Debian.erb │ │ │ │ └── elasticsearch.RedHat.erb │ │ │ │ └── sysconfig │ │ │ │ └── defaults.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 │ │ │ ├── .nodeset.yml │ │ │ ├── .rspec │ │ │ ├── .travis.yml │ │ │ ├── Gemfile │ │ │ ├── Gemfile.lock │ │ │ ├── LICENSE │ │ │ ├── Modulefile │ │ │ ├── README.md │ │ │ ├── Rakefile │ │ │ ├── manifests │ │ │ │ ├── init.pp │ │ │ │ ├── params.pp │ │ │ │ └── repo │ │ │ │ │ ├── apt.pp │ │ │ │ │ └── yum.pp │ │ │ └── spec │ │ │ │ ├── classes │ │ │ │ └── erlang_spec.rb │ │ │ │ ├── spec_helper.rb │ │ │ │ ├── spec_helper_system.rb │ │ │ │ └── system │ │ │ │ └── erlang_spec.rb │ │ ├── firewall │ │ │ ├── .fixtures.yml │ │ │ ├── .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 │ │ ├── inifile │ │ │ ├── .fixtures.yml │ │ │ ├── .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 │ │ │ │ ├── fixtures │ │ │ │ │ ├── modules │ │ │ │ │ │ ├── inherit_ini_setting │ │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ │ └── puppet │ │ │ │ │ │ │ │ ├── provider │ │ │ │ │ │ │ │ └── inherit_ini_setting │ │ │ │ │ │ │ │ │ └── ini_setting.rb │ │ │ │ │ │ │ │ └── type │ │ │ │ │ │ │ │ └── inherit_ini_setting.rb │ │ │ │ │ │ └── inherit_test1 │ │ │ │ │ │ │ └── manifests │ │ │ │ │ │ │ └── init.pp │ │ │ │ │ └── tmp │ │ │ │ │ │ └── .empty │ │ │ │ ├── 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 │ │ │ ├── .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 │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTING.md │ │ │ ├── Gemfile │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── Rakefile │ │ │ ├── manifests │ │ │ │ └── init.pp │ │ │ ├── metadata.json │ │ │ ├── spec │ │ │ │ ├── spec.opts │ │ │ │ └── spec_helper.rb │ │ │ ├── templates │ │ │ │ └── default_locales.erb │ │ │ └── tests │ │ │ │ └── init.pp │ │ ├── mailcatcher │ │ │ ├── .fixtures.yml │ │ │ ├── .travis.yml │ │ │ ├── Gemfile │ │ │ ├── Modulefile │ │ │ ├── README.md │ │ │ ├── Rakefile │ │ │ ├── manifests │ │ │ │ ├── config.pp │ │ │ │ ├── init.pp │ │ │ │ ├── package.pp │ │ │ │ └── params.pp │ │ │ ├── spec │ │ │ │ ├── classes │ │ │ │ │ └── mailcatcher_spec.rb │ │ │ │ └── spec_helper.rb │ │ │ ├── templates │ │ │ │ └── etc │ │ │ │ │ └── init │ │ │ │ │ └── mailcatcher.conf.erb │ │ │ └── tests │ │ │ │ └── init.pp │ │ ├── mongodb │ │ │ ├── .fixtures.yml │ │ │ ├── .nodeset.yml │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG │ │ │ ├── Gemfile │ │ │ ├── LICENSE │ │ │ ├── Modulefile │ │ │ ├── README.md │ │ │ ├── Rakefile │ │ │ ├── lib │ │ │ │ └── puppet │ │ │ │ │ ├── parser │ │ │ │ │ └── functions │ │ │ │ │ │ └── mongodb_password.rb │ │ │ │ │ ├── provider │ │ │ │ │ ├── mongodb_database │ │ │ │ │ │ └── mongodb.rb │ │ │ │ │ ├── mongodb_replset │ │ │ │ │ │ └── mongo.rb │ │ │ │ │ └── mongodb_user │ │ │ │ │ │ └── mongodb.rb │ │ │ │ │ └── type │ │ │ │ │ ├── mongodb_database.rb │ │ │ │ │ ├── mongodb_replset.rb │ │ │ │ │ └── mongodb_user.rb │ │ │ ├── manifests │ │ │ │ ├── client.pp │ │ │ │ ├── client │ │ │ │ │ └── install.pp │ │ │ │ ├── db.pp │ │ │ │ ├── globals.pp │ │ │ │ ├── init.pp │ │ │ │ ├── params.pp │ │ │ │ ├── replset.pp │ │ │ │ ├── repo.pp │ │ │ │ ├── repo │ │ │ │ │ ├── apt.pp │ │ │ │ │ └── yum.pp │ │ │ │ ├── server.pp │ │ │ │ └── server │ │ │ │ │ ├── config.pp │ │ │ │ │ ├── install.pp │ │ │ │ │ └── service.pp │ │ │ ├── spec │ │ │ │ ├── acceptance │ │ │ │ │ ├── nodesets │ │ │ │ │ │ ├── centos-6-vcloud.yml │ │ │ │ │ │ ├── centos-64-x64-pe.yml │ │ │ │ │ │ ├── centos-64-x64.yml │ │ │ │ │ │ ├── default.yml │ │ │ │ │ │ ├── fedora-18-x64.yml │ │ │ │ │ │ ├── multi-centos-6-vcloud.yml │ │ │ │ │ │ ├── multi-centos-64-x64.yml │ │ │ │ │ │ ├── sles-11-x64.yml │ │ │ │ │ │ ├── ubuntu-server-10044-x64.yml │ │ │ │ │ │ └── ubuntu-server-12042-x64.yml │ │ │ │ │ ├── replset_spec.rb │ │ │ │ │ └── server_spec.rb │ │ │ │ ├── classes │ │ │ │ │ ├── client_install_spec.rb │ │ │ │ │ ├── repo_spec.rb │ │ │ │ │ ├── server_config_spec.rb │ │ │ │ │ ├── server_install_spec.rb │ │ │ │ │ └── server_spec.rb │ │ │ │ ├── defines │ │ │ │ │ └── db_spec.rb │ │ │ │ ├── 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_user │ │ │ │ │ │ └── mongodb_spec.rb │ │ │ │ │ └── type │ │ │ │ │ ├── mongodb_database_spec.rb │ │ │ │ │ ├── mongodb_replset_spec.rb │ │ │ │ │ └── mongodb_user_spec.rb │ │ │ ├── templates │ │ │ │ └── mongodb.conf.erb │ │ │ └── tests │ │ │ │ ├── globals.pp │ │ │ │ ├── init.pp │ │ │ │ ├── replicaset.pp │ │ │ │ └── server.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 │ │ │ ├── .nodeset.yml │ │ │ ├── .sync.yml │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── CONTRIBUTING.md │ │ │ ├── Gemfile │ │ │ ├── LICENSE │ │ │ ├── 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 │ │ │ │ └── puppet │ │ │ │ │ ├── parser │ │ │ │ │ └── functions │ │ │ │ │ │ ├── mysql_deepmerge.rb │ │ │ │ │ │ ├── mysql_dirname.rb │ │ │ │ │ │ ├── mysql_password.rb │ │ │ │ │ │ └── mysql_strip_hash.rb │ │ │ │ │ ├── provider │ │ │ │ │ ├── mysql.rb │ │ │ │ │ ├── mysql_database │ │ │ │ │ │ └── mysql.rb │ │ │ │ │ ├── mysql_grant │ │ │ │ │ │ └── mysql.rb │ │ │ │ │ ├── mysql_plugin │ │ │ │ │ │ └── mysql.rb │ │ │ │ │ └── mysql_user │ │ │ │ │ │ └── mysql.rb │ │ │ │ │ └── type │ │ │ │ │ ├── mysql_database.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 │ │ │ │ │ ├── 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 │ │ │ │ └── unit │ │ │ │ │ └── puppet │ │ │ │ │ ├── functions │ │ │ │ │ ├── mysql_deepmerge_spec.rb │ │ │ │ │ └── mysql_password_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 │ │ ├── nginx │ │ │ ├── .fixtures.yml │ │ │ ├── .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 │ │ │ │ │ └── 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 │ │ │ ├── .nodeset.yml │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── CONTRIBUTING.md │ │ │ ├── Gemfile │ │ │ ├── LICENSE │ │ │ ├── Modulefile │ │ │ ├── README.markdown │ │ │ ├── Rakefile │ │ │ ├── manifests │ │ │ │ ├── config.pp │ │ │ │ ├── init.pp │ │ │ │ ├── install.pp │ │ │ │ ├── params.pp │ │ │ │ └── service.pp │ │ │ ├── metadata.json │ │ │ ├── spec │ │ │ │ ├── acceptance │ │ │ │ │ ├── class_spec.rb │ │ │ │ │ ├── nodesets │ │ │ │ │ │ ├── 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 │ │ │ │ │ ├── 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 │ │ │ │ ├── fixtures │ │ │ │ │ └── modules │ │ │ │ │ │ └── my_ntp │ │ │ │ │ │ └── templates │ │ │ │ │ │ └── ntp.conf.erb │ │ │ │ ├── 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 │ │ │ ├── .project │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── Modulefile │ │ │ ├── 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 │ │ │ │ ├── module.pp │ │ │ │ ├── params.pp │ │ │ │ ├── pear.pp │ │ │ │ ├── pear │ │ │ │ │ ├── config.pp │ │ │ │ │ └── module.pp │ │ │ │ ├── pecl │ │ │ │ │ ├── config.pp │ │ │ │ │ └── module.pp │ │ │ │ └── spec.pp │ │ │ ├── spec │ │ │ │ ├── classes │ │ │ │ │ └── php_spec.rb │ │ │ │ ├── defines │ │ │ │ │ ├── php_module_spec.rb │ │ │ │ │ └── php_pear_module_spec.rb │ │ │ │ └── spec_helper.rb │ │ │ └── templates │ │ │ │ ├── extra-ini.erb │ │ │ │ └── spec.erb │ │ ├── postgresql │ │ │ ├── .fixtures.yml │ │ │ ├── .geppetto-rc.json │ │ │ ├── .nodeset.yml │ │ │ ├── .project │ │ │ ├── .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 │ │ │ │ │ └── type │ │ │ │ │ ├── postgresql_conf.rb │ │ │ │ │ └── postgresql_psql.rb │ │ │ ├── manifests │ │ │ │ ├── client.pp │ │ │ │ ├── globals.pp │ │ │ │ ├── lib │ │ │ │ │ ├── devel.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 │ │ │ │ │ ├── postgis.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 │ │ │ │ │ │ └── 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 │ │ │ │ │ │ └── python_spec.rb │ │ │ │ │ ├── params_spec.rb │ │ │ │ │ ├── repo_spec.rb │ │ │ │ │ ├── server │ │ │ │ │ │ ├── contrib_spec.rb │ │ │ │ │ │ ├── initdb_spec.rb │ │ │ │ │ │ ├── plperl_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 │ │ │ │ │ │ ├── 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 │ │ │ │ │ └── type │ │ │ │ │ │ └── postgresql_psql_spec.rb │ │ │ │ │ └── type │ │ │ │ │ └── postgresql_conf_spec.rb │ │ │ └── templates │ │ │ │ ├── pg_hba_rule.conf │ │ │ │ ├── pg_ident_rule.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 │ │ │ │ ├── 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 │ │ │ │ │ └── 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 │ │ │ ├── .gemfile │ │ │ ├── .project │ │ │ ├── .travis.yml │ │ │ ├── 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 │ │ │ │ │ ├── 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 │ │ │ │ │ └── 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 │ │ │ │ │ ├── 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 │ │ │ ├── .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 │ │ │ ├── .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_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_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_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_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 │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG │ │ │ ├── Gemfile │ │ │ ├── LICENSE │ │ │ ├── Modulefile │ │ │ ├── README.md │ │ │ ├── Rakefile │ │ │ ├── Vagrantfile │ │ │ ├── manifests │ │ │ │ ├── init.pp │ │ │ │ └── params.pp │ │ │ ├── spec │ │ │ │ └── spec_helper.rb │ │ │ ├── templates │ │ │ │ ├── redis.debian.conf.erb │ │ │ │ ├── redis.logrotate.erb │ │ │ │ └── redis.rhel.conf.erb │ │ │ └── tests │ │ │ │ └── init.pp │ │ ├── rvm │ │ │ ├── Gemfile │ │ │ ├── Gemfile.lock │ │ │ ├── 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 │ │ │ │ ├── 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 │ │ │ │ │ ├── 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 │ │ │ ├── .project │ │ │ ├── .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 │ │ │ ├── .project │ │ │ ├── .rspec │ │ │ ├── .sync.yml │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── CONTRIBUTING.md │ │ │ ├── Gemfile │ │ │ ├── LICENSE │ │ │ ├── README.markdown │ │ │ ├── README_DEVELOPER.markdown │ │ │ ├── README_SPECS.markdown │ │ │ ├── RELEASE_PROCESS.markdown │ │ │ ├── Rakefile │ │ │ ├── lib │ │ │ │ ├── facter │ │ │ │ │ ├── facter_dot_d.rb │ │ │ │ │ ├── pe_version.rb │ │ │ │ │ ├── puppet_vardir.rb │ │ │ │ │ ├── root_home.rb │ │ │ │ │ └── util │ │ │ │ │ │ └── puppet_settings.rb │ │ │ │ └── puppet │ │ │ │ │ ├── functions │ │ │ │ │ └── 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 │ │ │ │ │ │ ├── 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 │ │ │ │ │ │ ├── downcase.rb │ │ │ │ │ │ ├── empty.rb │ │ │ │ │ │ ├── ensure_packages.rb │ │ │ │ │ │ ├── ensure_resource.rb │ │ │ │ │ │ ├── flatten.rb │ │ │ │ │ │ ├── floor.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_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 │ │ │ │ │ │ ├── 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 │ │ │ │ │ │ ├── range.rb │ │ │ │ │ │ ├── reject.rb │ │ │ │ │ │ ├── reverse.rb │ │ │ │ │ │ ├── rstrip.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 │ │ │ │ │ │ ├── type.rb │ │ │ │ │ │ ├── type3x.rb │ │ │ │ │ │ ├── union.rb │ │ │ │ │ │ ├── unique.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_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 │ │ │ │ │ ├── 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_packages_spec.rb │ │ │ │ │ ├── ensure_resource_spec.rb │ │ │ │ │ ├── flatten_spec.rb │ │ │ │ │ ├── floor_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_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 │ │ │ │ │ ├── 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 │ │ │ │ │ ├── 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 │ │ │ │ ├── classes │ │ │ │ │ └── anchor_spec.rb │ │ │ │ ├── fixtures │ │ │ │ │ └── dscacheutil │ │ │ │ │ │ └── root │ │ │ │ ├── functions │ │ │ │ │ ├── abs_spec.rb │ │ │ │ │ ├── any2array_spec.rb │ │ │ │ │ ├── assert_private_spec.rb │ │ │ │ │ ├── base64_spec.rb │ │ │ │ │ ├── bool2num_spec.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_packages_spec.rb │ │ │ │ │ ├── ensure_resource_spec.rb │ │ │ │ │ ├── flatten_spec.rb │ │ │ │ │ ├── floor_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_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 │ │ │ │ │ ├── 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 │ │ │ │ │ ├── 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 │ │ │ │ │ ├── type3x_spec.rb │ │ │ │ │ ├── type_spec.rb │ │ │ │ │ ├── union_spec.rb │ │ │ │ │ ├── unique_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_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 │ │ │ │ ├── lib │ │ │ │ │ └── puppet_spec │ │ │ │ │ │ ├── compiler.rb │ │ │ │ │ │ ├── database.rb │ │ │ │ │ │ ├── files.rb │ │ │ │ │ │ ├── fixtures.rb │ │ │ │ │ │ ├── matchers.rb │ │ │ │ │ │ ├── modules.rb │ │ │ │ │ │ ├── pops.rb │ │ │ │ │ │ ├── scope.rb │ │ │ │ │ │ ├── settings.rb │ │ │ │ │ │ └── verbose.rb │ │ │ │ ├── monkey_patches │ │ │ │ │ ├── alias_should_to_must.rb │ │ │ │ │ └── publicize_methods.rb │ │ │ │ ├── spec.opts │ │ │ │ ├── spec_helper.rb │ │ │ │ ├── spec_helper_acceptance.rb │ │ │ │ └── unit │ │ │ │ │ ├── facter │ │ │ │ │ ├── facter_dot_d_spec.rb │ │ │ │ │ ├── pe_version_spec.rb │ │ │ │ │ ├── root_home_spec.rb │ │ │ │ │ └── util │ │ │ │ │ │ └── puppet_settings_spec.rb │ │ │ │ │ └── puppet │ │ │ │ │ ├── functions │ │ │ │ │ └── type_of_spec.rb │ │ │ │ │ ├── parser │ │ │ │ │ └── functions │ │ │ │ │ │ ├── basename_spec.rb │ │ │ │ │ │ ├── bool2str_spec.rb │ │ │ │ │ │ └── camelcase_spec.rb │ │ │ │ │ ├── provider │ │ │ │ │ └── file_line │ │ │ │ │ │ └── ruby_spec.rb │ │ │ │ │ └── type │ │ │ │ │ ├── anchor_spec.rb │ │ │ │ │ └── file_line_spec.rb │ │ │ └── tests │ │ │ │ ├── file_line.pp │ │ │ │ ├── has_interface_with.pp │ │ │ │ ├── has_ip_address.pp │ │ │ │ ├── has_ip_network.pp │ │ │ │ └── init.pp │ │ ├── supervisord │ │ │ ├── .fixtures.yml │ │ │ ├── .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 │ │ │ ├── .rspec │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── CONTRIBUTING.md │ │ │ ├── CONTRIBUTORS │ │ │ ├── Gemfile │ │ │ ├── Gemfile.lock │ │ │ ├── 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 │ │ ├── vcsrepo │ │ │ ├── .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 │ │ │ ├── .project │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── Modulefile │ │ │ ├── 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 │ │ │ ├── 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-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-elrepo.org │ │ │ │ ├── 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.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 │ │ │ ├── prerequisites.pp │ │ │ ├── repo │ │ │ │ ├── 10gen.pp │ │ │ │ ├── atomic.pp │ │ │ │ ├── atrpms.pp │ │ │ │ ├── centalt.pp │ │ │ │ ├── centos4.pp │ │ │ │ ├── centos5.pp │ │ │ │ ├── centos6.pp │ │ │ │ ├── centos_testing.pp │ │ │ │ ├── ceph.pp │ │ │ │ ├── devtools.pp │ │ │ │ ├── elasticsearch10.pp │ │ │ │ ├── elasticsearch90.pp │ │ │ │ ├── elastix.pp │ │ │ │ ├── elrepo.pp │ │ │ │ ├── epel.pp │ │ │ │ ├── esl.pp │ │ │ │ ├── foreman.pp │ │ │ │ ├── integ_ganeti.pp │ │ │ │ ├── jenkins.pp │ │ │ │ ├── jpackage5.pp │ │ │ │ ├── jpackage6.pp │ │ │ │ ├── karan.pp │ │ │ │ ├── logstash13.pp │ │ │ │ ├── logstash14.pp │ │ │ │ ├── mod_pagespeed.pp │ │ │ │ ├── mongodb.pp │ │ │ │ ├── monitoringsucks.pp │ │ │ │ ├── mysql_community.pp │ │ │ │ ├── newrelic.pp │ │ │ │ ├── nginx.pp │ │ │ │ ├── openstack_grizzly.pp │ │ │ │ ├── passenger.pp │ │ │ │ ├── pgdg91.pp │ │ │ │ ├── pgdg92.pp │ │ │ │ ├── pgdg93.pp │ │ │ │ ├── puppetdevel.pp │ │ │ │ ├── puppetlabs.pp │ │ │ │ ├── rbel.pp │ │ │ │ ├── remi.pp │ │ │ │ ├── remi_php55.pp │ │ │ │ ├── remi_php56.pp │ │ │ │ ├── repoforge.pp │ │ │ │ ├── repoforgeextras.pp │ │ │ │ ├── rpmforge.pp │ │ │ │ ├── rsyslog_v7.pp │ │ │ │ ├── rundeck1.pp │ │ │ │ ├── rundeck2.pp │ │ │ │ ├── scl.pp │ │ │ │ ├── sl5.pp │ │ │ │ ├── sl6.pp │ │ │ │ ├── tmz.pp │ │ │ │ ├── varnish.pp │ │ │ │ ├── vfabric.pp │ │ │ │ ├── virtualbox.pp │ │ │ │ ├── vmware_tools.pp │ │ │ │ ├── webtatic.pp │ │ │ │ ├── zabbix18.pp │ │ │ │ ├── zabbix20.pp │ │ │ │ └── zabbix22.pp │ │ │ └── updatesd.pp │ │ │ ├── spec │ │ │ ├── classes │ │ │ │ └── yum_spec.rb │ │ │ └── spec_helper.rb │ │ │ └── templates │ │ │ ├── yum-cron-rhel7.erb │ │ │ └── yum-cron.erb │ ├── nodes │ │ ├── Apache.pp │ │ ├── Beanstalkd.pp │ │ ├── Blackfire.pp │ │ ├── Cron.pp │ │ ├── Drush.pp │ │ ├── ElasticSearch.pp │ │ ├── Firewall.pp │ │ ├── Hhvm.pp │ │ ├── MailCatcher.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 ├── ruby │ └── deep_merge.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 │ ├── install-ruby.sh │ ├── os-detect.sh │ └── ssh-keygen.sh └── vagrant │ ├── Vagrantfile-aws │ ├── Vagrantfile-digitalocean │ ├── Vagrantfile-gce │ ├── Vagrantfile-ikoulacloud │ ├── Vagrantfile-linode │ ├── Vagrantfile-local │ ├── Vagrantfile-rackspace │ └── Vagrantfile-softlayer └── readme.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Autodetect text files 2 | * text=auto 3 | 4 | # Force the following filetypes to have unix eols, so Windows does not break them 5 | *.* text eol=lf 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant -------------------------------------------------------------------------------- /puphpet/files/dot/ssh/id_rsa.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCvy+BpTrJf90ZlElADW6TCZE57FCKzK6y7rFd1RMhXHFGIbKGWOa76PwXPKXFyea1uufMKNUomK2ew3/Oe2TRE3y091k007BgVQ+zvqDTcIcn7fdnknWeyAKflhiGiATtyF53M08oSO7/jkqwS8dXUGkoqyMIdZLs1qyY6moazP44MAT4bdjzTR4ayKYo0xgvf0oAZSgNnX4GAdraPNbjTHRNY5pMeFoEvjP0eztPqh/LfNgcbxmLK0yjIKddqC1+gOC1ZdTFMg7C795rURZYM9FytKeu7oTM61AoyZdNEP19F3eAZHuI2l60RsM7qBRqu8Puf3D1H62LGjZcm/KR7 root@project-name 2 | -------------------------------------------------------------------------------- /puphpet/files/dot/ssh/root_id_rsa.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCv1kQEhIcdzT8D43nMAzzCupH0dvMCWJ5jrPMjkJbwldHNftohaACqUBPY3B7OnfTYE2SiBFZFvr8scUf4sbsUP1XZzrLLtft+H6au3wio1yB6CkCwzREJ51GeFkxS4J7cU1rYlKxJ5+s3QZJ2MA5/kU3nzSdpg9lh4l02yC2TDpNmqW5xhAMnsk2iqmeDj/UvgXoZya/56m4JJgU8sa6rzUhfEVFdFqrBopl8+dSFDNE6gfCo/5gUIwRdSFL0r3M5T1pjSOMKAPmTljsIBBtittGVk9A2J1W/zCHfQ+i3ZPQSatiaahhxMGrRCI6hf2cCUkDg83dplUt8QbseXEnd root@project-name 2 | -------------------------------------------------------------------------------- /puphpet/files/exec-always-unprivileged/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/puphpet/files/exec-always-unprivileged/empty -------------------------------------------------------------------------------- /puphpet/files/exec-always/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/puphpet/files/exec-always/empty -------------------------------------------------------------------------------- /puphpet/files/exec-once-unprivileged/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/puphpet/files/exec-once-unprivileged/empty -------------------------------------------------------------------------------- /puphpet/files/exec-once/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/puphpet/files/exec-once/empty -------------------------------------------------------------------------------- /puphpet/files/startup-always-unprivileged/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/puphpet/files/startup-always-unprivileged/empty -------------------------------------------------------------------------------- /puphpet/files/startup-always/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/puphpet/files/startup-always/empty -------------------------------------------------------------------------------- /puphpet/files/startup-once/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/puphpet/files/startup-once/empty -------------------------------------------------------------------------------- /puphpet/puppet/hiera.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | :backends: yaml 3 | :yaml: 4 | :datadir: '/vagrant/puphpet' 5 | :hierarchy: 6 | - config-custom 7 | - config 8 | :merge_behavior: deeper 9 | :logger: console 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: "git://github.com/puppetlabs/puppetlabs-concat.git" 5 | portage: "git://github.com/gentoo/puppet-portage.git" 6 | symlinks: 7 | apache: "#{source_dir}" 8 | -------------------------------------------------------------------------------- /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/.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 | extras: 4 | - rvm: 1.9.3 5 | env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes" 6 | - rvm: 2.0.0 7 | env: PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES="yes" 8 | Rakefile: 9 | extra_disabled_lint_checks: 10 | - 'disable_only_variable_string' 11 | spec/spec_helper.rb: 12 | unmanaged: true 13 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/manifests/confd/no_accf.pp: -------------------------------------------------------------------------------- 1 | class apache::confd::no_accf { 2 | # Template uses no variables 3 | file { 'no-accf.conf': 4 | ensure => 'file', 5 | path => "${::apache::confd_dir}/no-accf.conf", 6 | content => template('apache/confd/no-accf.conf.erb'), 7 | require => Exec["mkdir ${::apache::confd_dir}"], 8 | before => File[$::apache::confd_dir], 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/manifests/default_confd_files.pp: -------------------------------------------------------------------------------- 1 | class apache::default_confd_files ( 2 | $all = true, 3 | ) { 4 | # The rest of the conf.d/* files only get loaded if we want them 5 | if $all { 6 | case $::osfamily { 7 | 'freebsd': { 8 | include ::apache::confd::no_accf 9 | } 10 | default: { 11 | # do nothing 12 | } 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /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/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_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::mod { 'authz_default': } 3 | } 4 | -------------------------------------------------------------------------------- /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/expires.pp: -------------------------------------------------------------------------------- 1 | class apache::mod::expires { 2 | ::apache::mod { 'expires': } 3 | } 4 | -------------------------------------------------------------------------------- /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_balancer.pp: -------------------------------------------------------------------------------- 1 | class apache::mod::proxy_balancer { 2 | 3 | include ::apache::mod::proxy 4 | include ::apache::mod::proxy_http 5 | 6 | Class['::apache::mod::proxy'] -> Class['::apache::mod::proxy_balancer'] 7 | Class['::apache::mod::proxy_http'] -> Class['::apache::mod::proxy_balancer'] 8 | ::apache::mod { 'proxy_balancer': } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /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.4') >= 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/shib.pp: -------------------------------------------------------------------------------- 1 | class apache::mod::shib ( 2 | $suppress_warning = false, 3 | ) { 4 | 5 | if $::osfamily == 'RedHat' and ! $suppress_warning { 6 | warning('RedHat distributions do not have Apache mod_shib in their default package repositories.') 7 | } 8 | 9 | $mod_shib = 'shib2' 10 | 11 | apache::mod {$mod_shib: 12 | id => 'mod_shib', 13 | } 14 | 15 | } -------------------------------------------------------------------------------- /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/php.pp: -------------------------------------------------------------------------------- 1 | # Class: apache::php 2 | # 3 | # This class installs PHP for Apache 4 | # 5 | # Parameters: 6 | # - $php_package 7 | # 8 | # Actions: 9 | # - Install Apache PHP package 10 | # 11 | # Requires: 12 | # 13 | # Sample Usage: 14 | # 15 | class apache::php { 16 | warning('apache::php is deprecated; please use apache::mod::php') 17 | include ::apache::mod::php 18 | } 19 | -------------------------------------------------------------------------------- /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/manifests/python.pp: -------------------------------------------------------------------------------- 1 | # Class: apache::python 2 | # 3 | # This class installs Python for Apache 4 | # 5 | # Parameters: 6 | # - $php_package 7 | # 8 | # Actions: 9 | # - Install Apache Python package 10 | # 11 | # Requires: 12 | # 13 | # Sample Usage: 14 | # 15 | class apache::python { 16 | warning('apache::python is deprecated; please use apache::mod::python') 17 | include ::apache::mod::python 18 | } 19 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/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/apache/spec/acceptance/nodesets/centos-64-x64-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/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/apache/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/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-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 | 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-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/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/acceptance/nodesets/ubuntu-server-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/spec/acceptance/nodesets/ubuntu-server-1310-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-1310-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-13.10-amd64 6 | box : ubuntu-server-1310-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-1310-x64-virtualbox-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | log_level : debug 11 | type: git 12 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/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/apache/spec/fixtures/files/negotiation.conf: -------------------------------------------------------------------------------- 1 | # This is a file only for spec testing 2 | 3 | LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW 4 | ForceLanguagePriority Prefer Fallback 5 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/spec/fixtures/files/spec: -------------------------------------------------------------------------------- 1 | # This is a file only for spec testing 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/spec/fixtures/modules/site_apache/templates/fake.conf.erb: -------------------------------------------------------------------------------- 1 | Fake template for rspec. 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/spec/fixtures/templates/negotiation.conf.erb: -------------------------------------------------------------------------------- 1 | # This is a template only for spec testing 2 | 3 | LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW 4 | ForceLanguagePriority Prefer Fallback 5 | -------------------------------------------------------------------------------- /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 | 2 | 3 | CacheEnable disk / 4 | CacheRoot "<%= @cache_root %>" 5 | CacheDirLevels 2 6 | CacheDirLength 1 7 | 8 | 9 | -------------------------------------------------------------------------------- /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/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/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/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 | 10 | <% end -%> 11 | -------------------------------------------------------------------------------- /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 | <% else -%> 6 | DocumentRoot "<%= @docroot %>" 7 | <% end -%> 8 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/templates/vhost/_error_document.erb: -------------------------------------------------------------------------------- 1 | <% if @error_documents and ! @error_documents.empty? -%> 2 | <%- [@error_documents].flatten.compact.each do |error_document| -%> 3 | <%- if error_document["error_code"] != '' and error_document["document"] != '' -%> 4 | ErrorDocument <%= error_document["error_code"] %> <%= error_document["document"] %> 5 | <%- end -%> 6 | <%- end -%> 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/_file_header.erb: -------------------------------------------------------------------------------- 1 | # ************************************ 2 | # Vhost template in module puppetlabs-apache 3 | # Managed by Puppet 4 | # ************************************ 5 | 6 | > 7 | ServerName <%= @servername %> 8 | <% if @serveradmin -%> 9 | ServerAdmin <%= @serveradmin %> 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/_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/_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/_setenv.erb: -------------------------------------------------------------------------------- 1 | <% if @setenv and ! @setenv.empty? -%> 2 | 3 | ## SetEnv/SetEnvIf for environment variables 4 | <%- Array(@setenv).each do |envvar| -%> 5 | SetEnv <%= envvar %> 6 | <%- end -%> 7 | <% end -%> 8 | <% if @setenvif and ! @setenvif.empty? -%> 9 | <%- Array(@setenvif).each do |envifvar| -%> 10 | SetEnvIf <%= envifvar %> 11 | <%- end -%> 12 | <% end -%> 13 | -------------------------------------------------------------------------------- /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/apache/templates/vhost/_suphp.erb: -------------------------------------------------------------------------------- 1 | <% if @suphp_engine == 'on' -%> 2 | <%- if @suphp_addhandler -%> 3 | suPHP_AddHandler <%= @suphp_addhandler %> 4 | <%- end -%> 5 | <%- if @suphp_engine -%> 6 | suPHP_Engine <%= @suphp_engine %> 7 | <%- end -%> 8 | <%- if @suphp_configpath -%> 9 | suPHP_ConfigPath "<%= @suphp_configpath %>" 10 | <%- end -%> 11 | <% end -%> 12 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/tests/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/tests/dev.pp: -------------------------------------------------------------------------------- 1 | include apache::mod::dev 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/tests/init.pp: -------------------------------------------------------------------------------- 1 | include apache 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/tests/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/tests/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/tests/mods_custom.pp: -------------------------------------------------------------------------------- 1 | ## custom 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 a custom set of modules. 6 | class { 'apache': 7 | default_mods => [ 8 | 'info', 9 | 'alias', 10 | 'mime', 11 | 'env', 12 | 'setenv', 13 | 'expires', 14 | ], 15 | } 16 | 17 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apache/tests/php.pp: -------------------------------------------------------------------------------- 1 | class { 'apache': 2 | mpm_module => 'prefork', 3 | } 4 | include apache::mod::php 5 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/.fixtures.yml: -------------------------------------------------------------------------------- 1 | fixtures: 2 | repositories: 3 | "stdlib": 4 | "repo": "git://github.com/puppetlabs/puppetlabs-stdlib.git" 5 | "ref": "v2.2.1" 6 | symlinks: 7 | "apt": "#{source_dir}" 8 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/.puppet-lint.rc: -------------------------------------------------------------------------------- 1 | --no-single_quote_string_with_variables-check 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/Rakefile: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/rake_tasks' 2 | require 'puppet-lint/tasks/puppet-lint' 3 | 4 | PuppetLint.configuration.send('disable_single_quote_string_with_variables') 5 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/manifests/conf.pp: -------------------------------------------------------------------------------- 1 | define apt::conf ( 2 | $content, 3 | $ensure = present, 4 | $priority = '50' 5 | ) { 6 | 7 | include apt::params 8 | 9 | $apt_conf_d = $apt::params::apt_conf_d 10 | 11 | file { "${apt_conf_d}/${priority}${name}": 12 | ensure => $ensure, 13 | content => $content, 14 | owner => root, 15 | group => root, 16 | mode => '0644', 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/manifests/release.pp: -------------------------------------------------------------------------------- 1 | # release.pp 2 | 3 | class apt::release ( 4 | $release_id 5 | ) { 6 | 7 | include apt::params 8 | 9 | $root = $apt::params::root 10 | 11 | file { "${root}/apt.conf.d/01release": 12 | owner => root, 13 | group => root, 14 | mode => '0644', 15 | content => "APT::Default-Release \"${release_id}\";" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/manifests/update.pp: -------------------------------------------------------------------------------- 1 | class apt::update { 2 | include apt::params 3 | 4 | exec { 'apt_update': 5 | command => "${apt::params::provider} update", 6 | logoutput => 'on_failure', 7 | refreshonly => true, 8 | timeout => $apt::update_timeout, 9 | } 10 | } 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/default.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-server-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/spec/acceptance/nodesets/ubuntu-server-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | log_level: debug 11 | type: git 12 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-server-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/spec/acceptance/unsupported_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper_acceptance' 2 | 3 | describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do 4 | it 'class apt fails' do 5 | pp = <<-EOS 6 | class { 'apt': } 7 | EOS 8 | expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/unsupported/i) 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/module_spec_helper' 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/templates/source.list.erb: -------------------------------------------------------------------------------- 1 | # <%= @name %> 2 | deb <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %> 3 | <%- if @include_src then -%> 4 | deb-src <% if @architecture %>[arch=<%= @architecture %>] <% end %><%= @location %> <%= @release_real %> <%= @repos %> 5 | <%- end -%> 6 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/tests/builddep.pp: -------------------------------------------------------------------------------- 1 | class { 'apt': } 2 | apt::builddep{ 'glusterfs-server': } 3 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/tests/debian/testing.pp: -------------------------------------------------------------------------------- 1 | class { 'apt': } 2 | class { 'apt::debian::testing': } 3 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/tests/debian/unstable.pp: -------------------------------------------------------------------------------- 1 | class { 'apt': } 2 | class { 'apt::debian::unstable': } 3 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/tests/init.pp: -------------------------------------------------------------------------------- 1 | class { 'apt': } 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/tests/key.pp: -------------------------------------------------------------------------------- 1 | # Declare Apt key for apt.puppetlabs.com source 2 | apt::key { 'puppetlabs': 3 | key => '4BD6EC30', 4 | key_server => 'pgp.mit.edu', 5 | key_options => 'http-proxy="http://proxyuser:proxypass@example.org:3128"', 6 | } 7 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/tests/params.pp: -------------------------------------------------------------------------------- 1 | include apt::params 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/tests/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/tests/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/tests/release.pp: -------------------------------------------------------------------------------- 1 | class { 'apt': } 2 | class { 'apt::release': 3 | release_id => 'karmic' 4 | } 5 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/apt/tests/unattended_upgrades.pp: -------------------------------------------------------------------------------- 1 | include apt::unattended_upgrades 2 | -------------------------------------------------------------------------------- /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/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/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: "git://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/.pmtignore: -------------------------------------------------------------------------------- 1 | junit/ 2 | log/ 3 | spec/ 4 | Gemfile.lock 5 | Rakefile 6 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/blackfire/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | puppetversion = ENV.key?('PUPPET_VERSION') ? ENV['PUPPET_VERSION'] : ['>= 3.4'] 4 | gem 'puppet', puppetversion 5 | gem 'puppetlabs_spec_helper', '>= 0.1.0' 6 | gem 'puppet-lint', '>= 0.3.2' 7 | gem 'metadata-json-lint' 8 | gem 'rspec-puppet' 9 | gem 'rspec-puppet-facts' 10 | gem 'beaker' 11 | gem 'beaker-rspec' 12 | gem 'pry' 13 | -------------------------------------------------------------------------------- /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/centos-66-x64.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 | box_url: https://vagrantcloud.com/puppetlabs/boxes/centos-6.6-64-nocm 8 | hypervisor: vagrant 9 | CONFIG: 10 | log_level: verbose 11 | type: foss 12 | php_cli_package: php-cli 13 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/blackfire/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 | php_cli_package: php-cli 13 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/blackfire/spec/acceptance/nodesets/debian-60-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | debian-60-x64: 3 | roles: 4 | - master 5 | platform: debian-6-amd64 6 | box: puppetlabs/debian-6.0.10-64-nocm 7 | box_url: https://vagrantcloud.com/puppetlabs/boxes/debian-6.0.10-64-nocm 8 | hypervisor: vagrant 9 | CONFIG: 10 | log_level: verbose 11 | type: foss 12 | php_cli_package: php5-cli 13 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/blackfire/spec/acceptance/nodesets/debian-78-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | debian-78-x64: 3 | roles: 4 | - master 5 | platform: debian-7-amd64 6 | box: puppetlabs/debian-7.8-64-nocm 7 | box_url: https://vagrantcloud.com/puppetlabs/boxes/debian-7.8-64-nocm 8 | hypervisor: vagrant 9 | CONFIG: 10 | log_level: verbose 11 | type: foss 12 | php_cli_package: php5-cli 13 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/blackfire/spec/acceptance/nodesets/default.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/boxes/ubuntu-14.04-64-nocm 8 | hypervisor: vagrant 9 | CONFIG: 10 | log_level: verbose 11 | type: foss 12 | php_cli_package: php5-cli 13 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/blackfire/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/boxes/ubuntu-14.04-64-nocm 8 | hypervisor: vagrant 9 | CONFIG: 10 | log_level: verbose 11 | type: foss 12 | php_cli_package: php5-cli 13 | -------------------------------------------------------------------------------- /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/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/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/boxes/ubuntu-14.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/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/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/.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-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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/debian-73-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | debian-73-x64.localhost: 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: foss 12 | -------------------------------------------------------------------------------- /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/acceptance/nodesets/ubuntu-server-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: git 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/concat/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: git 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/concat/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/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/elasticsearch/.fixtures.yml: -------------------------------------------------------------------------------- 1 | fixtures: 2 | repositories: 3 | stdlib: git://github.com/puppetlabs/puppetlabs-stdlib.git 4 | symlinks: 5 | elasticsearch: "#{source_dir}" 6 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/elasticsearch/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-puppet' 7 | gem 'puppetlabs_spec_helper', '>= 0.1.0' 8 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/elasticsearch/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'puppetlabs_spec_helper/rake_tasks' 3 | require 'puppet-lint' 4 | require './spec/lib/template_check_task.rb' 5 | require './spec/lib/parser_validate_task.rb' 6 | PuppetLint.configuration.send("disable_80chars") 7 | PuppetLint.configuration.send("disable_class_inherits_from_params_class") 8 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/elasticsearch/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'puppetlabs_spec_helper/module_spec_helper' 3 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/elasticsearch/templates/etc/sysconfig/defaults.erb: -------------------------------------------------------------------------------- 1 | ### MANAGED BY PUPPET ### 2 | 3 | <% scope.lookupvar('elasticsearch::init_defaults').sort.map do |key, value| -%> 4 | <%= key %>=<%= value %> 5 | <% end -%> 6 | -------------------------------------------------------------------------------- /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/.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/erlang/Gemfile: -------------------------------------------------------------------------------- 1 | source "http://rubygems.org" 2 | 3 | 4 | gem "rake" 5 | gem "puppet", ENV['PUPPET_VERSION'] || '~> 3.2.0' 6 | gem "puppet-lint" 7 | gem "rspec-puppet", '~> 1.0.0' 8 | gem "puppetlabs_spec_helper" 9 | gem "rspec-system-puppet" 10 | gem "vagrant-wrapper" 11 | gem "puppet-syntax" 12 | 13 | group :development do 14 | gem "puppet-blacksmith" 15 | end 16 | -------------------------------------------------------------------------------- /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/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-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-59-x64: 3 | roles: 4 | - master 5 | - database 6 | - console 7 | platform: el-5-x86_64 8 | box : centos-59-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: git 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/firewall/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 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/inifile/.fixtures.yml: -------------------------------------------------------------------------------- 1 | fixtures: 2 | symlinks: 3 | inifile: "#{source_dir}" 4 | -------------------------------------------------------------------------------- /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-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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/acceptance/nodesets/ubuntu-server-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/inifile/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/inifile/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/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/fixtures/modules/inherit_ini_setting/lib/puppet/type/inherit_ini_setting.rb: -------------------------------------------------------------------------------- 1 | Puppet::Type.newtype(:inherit_ini_setting) do 2 | ensurable 3 | newparam(:setting, :namevar => true) 4 | newproperty(:value) 5 | end 6 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/inifile/spec/fixtures/modules/inherit_test1/manifests/init.pp: -------------------------------------------------------------------------------- 1 | class inherit_test1 { 2 | inherit_ini_setting { 'valid_type': 3 | value => true, 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/inifile/spec/fixtures/tmp/.empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/puphpet/puppet/modules/inifile/spec/fixtures/tmp/.empty -------------------------------------------------------------------------------- /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/spec/acceptance/nodesets/centos-59-x64-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-59-x64: 3 | roles: 4 | - master 5 | - database 6 | - console 7 | platform: el-5-x86_64 8 | box : centos-59-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/java/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 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/spec/spec.opts: -------------------------------------------------------------------------------- 1 | --format 2 | s 3 | --colour 4 | --loadby 5 | mtime 6 | --backtrace 7 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/locales/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/module_spec_helper' 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/locales/templates/default_locales.erb: -------------------------------------------------------------------------------- 1 | LANG=<%= @default_value %> 2 | LC_CTYPE=<%= @default_value %> 3 | LC_ALL=<%= @default_value %> 4 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/locales/tests/init.pp: -------------------------------------------------------------------------------- 1 | class { 'locales': 2 | default_value => 'en_US.UTF-8', 3 | available => ['en_GB.UTF-8 UTF-8'] 4 | } -------------------------------------------------------------------------------- /puphpet/puppet/modules/mailcatcher/.fixtures.yml: -------------------------------------------------------------------------------- 1 | fixtures: 2 | repositories: 3 | stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git" 4 | symlinks: 5 | mailcatcher: "#{source_dir}" 6 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mailcatcher/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7'] 3 | 4 | gem 'puppet', puppetversion 5 | 6 | group :test do 7 | gem 'rake', '>= 0.9.0' 8 | gem 'rspec', '>= 2.8.0' 9 | gem 'rspec-puppet', '>= 0.1.1' 10 | gem 'puppetlabs_spec_helper', '>= 0.4.1' 11 | gem 'puppet-lint' 12 | end 13 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mailcatcher/Rakefile: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/rake_tasks' 2 | require 'puppet-lint/tasks/puppet-lint' 3 | 4 | PuppetLint.configuration.send('disable_class_inherits_from_params_class') 5 | PuppetLint.configuration.send("disable_80chars") 6 | PuppetLint.configuration.log_format = "%{path}:%{linenumber}:%{check}:%{KIND}:%{message}" 7 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mailcatcher/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/module_spec_helper' -------------------------------------------------------------------------------- /puphpet/puppet/modules/mongodb/.fixtures.yml: -------------------------------------------------------------------------------- 1 | fixtures: 2 | repositories: 3 | "stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git" 4 | "apt": "git://github.com/puppetlabs/puppetlabs-apt.git" 5 | symlinks: 6 | "mongodb": "#{source_dir}" 7 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mongodb/Rakefile: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/rake_tasks' 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mongodb/manifests/replset.pp: -------------------------------------------------------------------------------- 1 | # Wrapper class useful for hiera based deployments 2 | 3 | class mongodb::replset( 4 | $sets = undef 5 | ) { 6 | 7 | if $sets { 8 | create_resources(mongodb_replset, $sets) 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/centos-64-x64-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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/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/multi-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/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/acceptance/nodesets/ubuntu-server-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mongodb/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mongodb/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/module_spec_helper' 2 | -------------------------------------------------------------------------------- /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/.sync.yml: -------------------------------------------------------------------------------- 1 | --- 2 | spec/spec_helper.rb: 3 | unmanaged: true 4 | -------------------------------------------------------------------------------- /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/manifests/bindings/java.pp: -------------------------------------------------------------------------------- 1 | # Private class 2 | class mysql::bindings::java { 3 | 4 | package { 'mysql-connector-java': 5 | ensure => $mysql::bindings::java_package_ensure, 6 | install_options => $mysql::bindings::install_options, 7 | name => $mysql::bindings::java_package_name, 8 | provider => $mysql::bindings::java_package_provider, 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mysql/manifests/bindings/perl.pp: -------------------------------------------------------------------------------- 1 | # Private class 2 | class mysql::bindings::perl { 3 | 4 | package{ 'perl_mysql': 5 | ensure => $mysql::bindings::perl_package_ensure, 6 | install_options => $mysql::bindings::install_options, 7 | name => $mysql::bindings::perl_package_name, 8 | provider => $mysql::bindings::perl_package_provider, 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mysql/manifests/bindings/php.pp: -------------------------------------------------------------------------------- 1 | # Private class: See README.md 2 | class mysql::bindings::php { 3 | 4 | package { 'php-mysql': 5 | ensure => $mysql::bindings::php_package_ensure, 6 | install_options => $mysql::bindings::install_options, 7 | name => $mysql::bindings::php_package_name, 8 | provider => $mysql::bindings::php_package_provider, 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mysql/manifests/bindings/python.pp: -------------------------------------------------------------------------------- 1 | # Private class 2 | class mysql::bindings::python { 3 | 4 | package { 'python-mysqldb': 5 | ensure => $mysql::bindings::python_package_ensure, 6 | install_options => $mysql::bindings::install_options, 7 | name => $mysql::bindings::python_package_name, 8 | provider => $mysql::bindings::python_package_provider, 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mysql/manifests/bindings/ruby.pp: -------------------------------------------------------------------------------- 1 | # Private class 2 | class mysql::bindings::ruby { 3 | 4 | package{ 'ruby_mysql': 5 | ensure => $mysql::bindings::ruby_package_ensure, 6 | install_options => $mysql::bindings::install_options, 7 | name => $mysql::bindings::ruby_package_name, 8 | provider => $mysql::bindings::ruby_package_provider, 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mysql/manifests/client/install.pp: -------------------------------------------------------------------------------- 1 | class mysql::client::install { 2 | 3 | if $mysql::client::package_manage { 4 | 5 | package { 'mysql_client': 6 | ensure => $mysql::client::package_ensure, 7 | install_options => $mysql::client::install_options, 8 | name => $mysql::client::package_name, 9 | } 10 | 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mysql/manifests/server/providers.pp: -------------------------------------------------------------------------------- 1 | # Convenience class to call each of the three providers with the corresponding 2 | # hashes provided in mysql::server. 3 | # See README.md for details. 4 | class mysql::server::providers { 5 | create_resources('mysql_user', $mysql::server::users) 6 | create_resources('mysql_grant', $mysql::server::grants) 7 | create_resources('mysql_database', $mysql::server::databases) 8 | } 9 | -------------------------------------------------------------------------------- /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-64-x64-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mysql/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-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 | require 'puppetlabs_spec_helper/module_spec_helper' 2 | require 'puppet_facts' 3 | include PuppetFacts 4 | RSpec.configure do |c| 5 | c.formatter = :documentation 6 | end 7 | 8 | # The default set of platforms to test again. 9 | ENV['UNIT_TEST_PLATFORMS'] = 'centos-6-x86_64 ubuntu-1404-x86_64' 10 | PLATFORMS = ENV['UNIT_TEST_PLATFORMS'].split(' ') 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/mysql/templates/my.cnf.pass.erb: -------------------------------------------------------------------------------- 1 | [client] 2 | user=root 3 | host=localhost 4 | <% unless scope.lookupvar('mysql::server::root_password') == 'UNSET' -%> 5 | password='<%= scope.lookupvar('mysql::server::root_password') %>' 6 | <% end -%> 7 | socket=<%= @options['client']['socket'] -%> 8 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/nginx/.fixtures.yml: -------------------------------------------------------------------------------- 1 | fixtures: 2 | symlinks: 3 | nginx: "#{source_dir}" 4 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/nginx/.travis/Rakefile: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/rake_tasks' 2 | 3 | # use librarian-puppet to manage fixtures instead of .fixtures.yml 4 | # offers more possibilities like explicit version management, forge downloads,... 5 | task :librarian_spec_prep do 6 | sh "librarian-puppet install --path=$PWD/spec/fixtures/modules/" 7 | end 8 | task :spec_prep => :librarian_spec_prep 9 | -------------------------------------------------------------------------------- /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/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jfryman/puppet-nginx", 3 | "type": "project", 4 | "description": "Puppet module for nginx installation", 5 | "keywords": ["puppet", "nginx"], 6 | "license": "Apache-2.0", 7 | "require": { 8 | }, 9 | "extra": { 10 | "branch-alias": { 11 | "dev-master": "1.x-dev" 12 | } 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/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/Rakefile: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/rake_tasks' 2 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/ntp/manifests/install.pp: -------------------------------------------------------------------------------- 1 | # 2 | class ntp::install inherits ntp { 3 | 4 | package { 'ntp': 5 | ensure => $package_ensure, 6 | name => $package_name, 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/ntp/spec/acceptance/nodesets/centos-64-x64-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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/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/acceptance/nodesets/ubuntu-server-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/ntp/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/ntp/spec/acceptance/unsupported_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper_acceptance' 2 | 3 | describe 'unsupported distributions and OSes', :if => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do 4 | it 'should fail' do 5 | pp = <<-EOS 6 | class { 'ntp': } 7 | EOS 8 | expect(apply_manifest(pp, :expect_failures => true).stderr).to match(/is not supported on an/i) 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/ntp/spec/fixtures/modules/my_ntp/templates/ntp.conf.erb: -------------------------------------------------------------------------------- 1 | #my uber ntp config 2 | # 3 | 4 | server foobar 5 | -------------------------------------------------------------------------------- /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/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/module_spec_helper' 2 | -------------------------------------------------------------------------------- /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 :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/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-config --extension-dir') || 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-config --version') || nil 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/php/manifests/devel.pp: -------------------------------------------------------------------------------- 1 | # Class php::devel 2 | # 3 | # Installs php devel package 4 | # 5 | class php::devel { 6 | 7 | if $php::package_devel != '' 8 | and ! defined(Package[$php::package_devel]) { 9 | package { $php::package_devel : 10 | ensure => $php::manage_package, 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /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/postgresql/.fixtures.yml: -------------------------------------------------------------------------------- 1 | fixtures: 2 | repositories: 3 | apt: "https://github.com/puppetlabs/puppetlabs-apt.git" 4 | stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git" 5 | firewall: "https://github.com/puppetlabs/puppetlabs-firewall.git" 6 | concat: "https://github.com/puppetlabs/puppetlabs-concat.git" 7 | symlinks: 8 | postgresql: "#{source_dir}" 9 | -------------------------------------------------------------------------------- /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/.sync.yml: -------------------------------------------------------------------------------- 1 | --- 2 | .travis.yml: 3 | extras: 4 | - rvm: 1.9.3 5 | env: PUPPET_GEM_VERSION="~> 3.5" STRICT_VARIABLES="yes" 6 | - rvm: 2.0.0 7 | env: PUPPET_GEM_VERSION="~> 3.5" STRICT_VARIABLES="yes" 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-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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/acceptance/nodesets/ubuntu-server-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/postgresql/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/postgresql/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/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_escape_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe 'postgresql_escape', :type => :puppet_function do 4 | it { is_expected.to run.with_params('foo'). 5 | and_return('$$foo$$') } 6 | end 7 | describe 'postgresql_escape', :type => :puppet_function do 8 | it { is_expected.to run.with_params('fo$$o'). 9 | and_return('$ed$fo$$o$ed$') } 10 | end 11 | -------------------------------------------------------------------------------- /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 | .include /lib/systemd/system/postgresql.service 2 | [Service] 3 | Environment=PGPORT=<%= @port %> 4 | Environment=PGDATA=<%= @datadir %> 5 | -------------------------------------------------------------------------------- /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/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/.gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 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 | gem 'puppet-blacksmith', '>= 2.0.0' 8 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/puppi/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'puppetlabs_spec_helper/rake_tasks' 3 | require 'puppet_blacksmith/rake_tasks' 4 | require 'puppet-lint' 5 | PuppetLint.configuration.send("disable_80chars") 6 | PuppetLint.configuration.send('disable_class_parameter_defaults') 7 | -------------------------------------------------------------------------------- /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') 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/puppi/lib/facter/puppi_projects.rb: -------------------------------------------------------------------------------- 1 | require 'facter' 2 | Facter.add("puppi_projects") do 3 | confine :kernel => [ 'Linux' , 'SunOS' , 'FreeBSD' , 'Darwin' ] 4 | setcode do 5 | Facter::Util::Resolution.exec('ls `grep projectsdir /etc/puppi/puppi.conf | sed \'s/projectsdir="\([^"]*\)"/\1/\'` | tr \'\n\' \',\' | sed \'s/,$//\'') if File.exists?("/etc/puppi/puppi.conf") 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/helpers.pp: -------------------------------------------------------------------------------- 1 | # Class puppi::helpers 2 | # 3 | # A class that defines all the default helpers used by Example42 4 | # modules 5 | # 6 | # == Usage 7 | # Automatically included by Puppi 8 | # 9 | class puppi::helpers { 10 | 11 | # Standard helper for Example42 modules 12 | puppi::helper { 'standard': 13 | template => 'puppi/helpers/standard.yml.erb', 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /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/.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/Rakefile: -------------------------------------------------------------------------------- 1 | require 'puppet-lint/tasks/puppet-lint' 2 | 3 | # Be extremely pedantic 4 | PuppetLint.configuration.fail_on_warnings = true 5 | 6 | # Disable some idiotic checks 7 | PuppetLint.configuration.send('disable_class_inherits_from_params_class') 8 | PuppetLint.configuration.send('disable_class_parameter_defaults') 9 | PuppetLint.configuration.send('disable_documentation') 10 | -------------------------------------------------------------------------------- /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/files/plugins/amqp_client-2.3.1.ez: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/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/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/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-64-x64-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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/acceptance/nodesets/ubuntu-server-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/rabbitmq/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/rabbitmq/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/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 -%> 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/Gemfile: -------------------------------------------------------------------------------- 1 | source :rubygems 2 | 3 | puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7'] 4 | 5 | gem 'rake' 6 | gem 'puppet-lint' 7 | gem 'puppet', puppetversion 8 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/redis/Rakefile: -------------------------------------------------------------------------------- 1 | require 'puppet-lint/tasks/puppet-lint' 2 | 3 | PuppetLint.configuration.send("disable_80chars") 4 | PuppetLint.configuration.send('disable_class_parameter_defaults') 5 | 6 | task :default => :lint 7 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/redis/templates/redis.logrotate.erb: -------------------------------------------------------------------------------- 1 | <%= @conf_logfile_real %> { 2 | weekly 3 | rotate 10 4 | copytruncate 5 | delaycompress 6 | compress 7 | notifempty 8 | missingok 9 | } 10 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/redis/tests/init.pp: -------------------------------------------------------------------------------- 1 | node default { 2 | 3 | package { 'epel-release': 4 | ensure => present, 5 | source => 'http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm', 6 | provider => rpm, 7 | } 8 | 9 | class { 'redis': 10 | conf_port => '6379', 11 | conf_bind => '0.0.0.0', 12 | system_sysctl => true, 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /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/Puppetfile.lock: -------------------------------------------------------------------------------- 1 | FORGE 2 | remote: https://forgeapi.puppetlabs.com 3 | specs: 4 | puppetlabs-apache (1.1.0) 5 | puppetlabs-concat (>= 1.0.0) 6 | puppetlabs-stdlib (>= 2.4.0) 7 | puppetlabs-concat (1.1.0) 8 | puppetlabs-stdlib (>= 4.0.0) 9 | puppetlabs-stdlib (4.5.1) 10 | 11 | DEPENDENCIES 12 | puppetlabs-apache (>= 1.1.0) 13 | puppetlabs-stdlib (>= 4.2.0) 14 | 15 | -------------------------------------------------------------------------------- /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 | ensure_packages([$package]) 5 | } 6 | -------------------------------------------------------------------------------- /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/params.pp: -------------------------------------------------------------------------------- 1 | # Default module parameters 2 | class rvm::params($manage_group = true) { 3 | 4 | $group = $::operatingsystem ? { 5 | default => 'rvm', 6 | } 7 | 8 | $proxy_url = undef 9 | $no_proxy = undef 10 | $key_server = 'keys.gnupg.net' 11 | 12 | $gpg_package = $::kernel ? { 13 | /(Linux|Darwin)/ => 'gnupg2', 14 | default => undef, 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /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/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/README.md: -------------------------------------------------------------------------------- 1 | 2 | [![Build Status](https://travis-ci.org/example42/puppet-solr.png?branch=master)](https://travis-ci.org/example42/puppet-solr) 3 | -------------------------------------------------------------------------------- /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/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/puphpet/puppet/modules/staging/files/sample.tar.bz2 -------------------------------------------------------------------------------- /puphpet/puppet/modules/staging/files/sample.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/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/oriceon/vagrant-virtual-machine-for-web-development/83f054626239ffb2b23ebf46adc6690c3dbb8885/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/file.pp: -------------------------------------------------------------------------------- 1 | $caller_module_name = 'demo' 2 | 3 | class { 'staging': 4 | path => '/tmp/staging', 5 | } 6 | 7 | staging::file { 'sample': 8 | source => 'puppet:///modules/staging/sample', 9 | } 10 | 11 | staging::file { 'passwd': 12 | source => '/etc/passwd', 13 | } 14 | 15 | staging::file { 'manpage.html': 16 | source => 'http://curl.haxx.se/docs/manpage.html', 17 | } 18 | -------------------------------------------------------------------------------- /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/.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/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-pe.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | centos-64-x64: 3 | roles: 4 | - master 5 | - database 6 | - dashboard 7 | platform: el-6-x86_64 8 | box : centos-64-x64-vbox4210-nocm 9 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box 10 | hypervisor : vagrant 11 | CONFIG: 12 | type: pe 13 | -------------------------------------------------------------------------------- /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/acceptance/nodesets/ubuntu-server-10044-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-10044-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-10.04-amd64 6 | box : ubuntu-server-10044-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/stdlib/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box : ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url : http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor : vagrant 9 | CONFIG: 10 | type: foss 11 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/stdlib/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/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/lib/puppet_spec/verbose.rb: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env ruby -S rspec 2 | # Support code for running stuff with warnings disabled. 3 | module Kernel 4 | def with_verbose_disabled 5 | verbose, $VERBOSE = $VERBOSE, nil 6 | result = yield 7 | $VERBOSE = verbose 8 | return result 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /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/stdlib/tests/file_line.pp: -------------------------------------------------------------------------------- 1 | # This is a simple smoke test 2 | # of the file_line resource type. 3 | file { '/tmp/dansfile': 4 | ensure => present 5 | }-> 6 | file_line { 'dans_line': 7 | line => 'dan is awesome', 8 | path => '/tmp/dansfile', 9 | } 10 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/stdlib/tests/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/tests/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 | 5 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/stdlib/tests/init.pp: -------------------------------------------------------------------------------- 1 | include stdlib 2 | -------------------------------------------------------------------------------- /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/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/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/module_spec_helper' 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 | 10 | at_exit { RSpec::Puppet::Coverage.report! } 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/.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/acceptance/nodesets/default.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box: ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url: http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box 8 | hypervisor: vagrant 9 | CONFIG: 10 | log_level: verbose 11 | type: foss 12 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/swap_file/spec/acceptance/nodesets/ubuntu-server-12042-x64.yml: -------------------------------------------------------------------------------- 1 | HOSTS: 2 | ubuntu-server-12042-x64: 3 | roles: 4 | - master 5 | platform: ubuntu-12.04-amd64 6 | box: ubuntu-server-12042-x64-vbox4210-nocm 7 | box_url: http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-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/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 'puppetlabs_spec_helper', '>= 0.1.0' 7 | gem 'rspec-puppet', '0.1.6' 8 | -------------------------------------------------------------------------------- /puphpet/puppet/modules/yum/Modulefile: -------------------------------------------------------------------------------- 1 | name 'example42-yum' 2 | version '2.1.16' 3 | author 'Alessandro Franceschi' 4 | license 'Apache2' 5 | project_page 'http://www.example42.com' 6 | source 'https://github.com/example42/puppet-yum' 7 | summary 'Puppet module for yum' 8 | description 'This module installs and manages yum and yum repositories' 9 | dependency 'example42/puppi', '> 2.0.0' 10 | -------------------------------------------------------------------------------- /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/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'puppetlabs_spec_helper/module_spec_helper' 2 | -------------------------------------------------------------------------------- /puphpet/puppet/nodes/Cron.pp: -------------------------------------------------------------------------------- 1 | if $cron_values == undef { $cron_values = hiera_hash('cron', false) } 2 | 3 | each( $cron_values['jobs'] ) |$key, $job| { 4 | # Deletes empty cron jobs 5 | $job_values = delete_values($job, '') 6 | 7 | create_resources(cron, { "${key}" => $job_values }) 8 | } 9 | -------------------------------------------------------------------------------- /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 | --------------------------------------------------------------------------------