diff options
author | Saz <me@saz.sh> | 2011-11-07 18:42:58 +0100 |
---|---|---|
committer | Saz <me@saz.sh> | 2011-11-07 18:42:58 +0100 |
commit | a07478cc5c9178c6bffa7170b7c276b2b23cdb94 (patch) | |
tree | 539fd4c7d8def6c9eb6334d8f29f3cb9176697bd /pkg | |
parent | 8b16eb0ac2f9f11796cdca0e8c5dc910b2d4f836 (diff) | |
download | puppet-pureftpd-a07478cc5c9178c6bffa7170b7c276b2b23cdb94.tar.gz puppet-pureftpd-a07478cc5c9178c6bffa7170b7c276b2b23cdb94.tar.bz2 |
remove build files
Diffstat (limited to 'pkg')
57 files changed, 0 insertions, 504 deletions
diff --git a/pkg/.empty b/pkg/.empty new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/pkg/.empty diff --git a/pkg/saz-pureftpd-0.0.1.tar.gz b/pkg/saz-pureftpd-0.0.1.tar.gz Binary files differdeleted file mode 100644 index 91a5fd0..0000000 --- a/pkg/saz-pureftpd-0.0.1.tar.gz +++ /dev/null diff --git a/pkg/saz-pureftpd-0.0.1/Modulefile b/pkg/saz-pureftpd-0.0.1/Modulefile deleted file mode 100644 index 5efad63..0000000 --- a/pkg/saz-pureftpd-0.0.1/Modulefile +++ /dev/null @@ -1,8 +0,0 @@ -name 'saz-pureftpd' -version '0.0.1' -source 'UNKNOWN' -author 'saz' -license 'UNKNOWN' -summary 'UNKNOWN' -description 'Module for configuring pure-ftpd via puppet' -project_page 'https://github.com/saz/puppet-pureftpd' diff --git a/pkg/saz-pureftpd-0.0.1/README b/pkg/saz-pureftpd-0.0.1/README deleted file mode 100644 index 231fdac..0000000 --- a/pkg/saz-pureftpd-0.0.1/README +++ /dev/null @@ -1,3 +0,0 @@ -pureftpd - -This is the pureftpd module. diff --git a/pkg/saz-pureftpd-0.0.1/files/README.markdown b/pkg/saz-pureftpd-0.0.1/files/README.markdown deleted file mode 100644 index be52188..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/README.markdown +++ /dev/null @@ -1,22 +0,0 @@ -Files -===== - -Puppet comes with both a client and server for copying files around. The file -serving function is provided as part of the central Puppet daemon, -puppetmasterd, and the client function is used through the source attribute of -file objects. Learn more at -http://projects.puppetlabs.com/projects/puppet/wiki/File_Serving_Configuration - -You can use managed files like this: - - class myclass { - package { mypackage: ensure => latest } - service { myservice: ensure => running } - file { "/etc/myfile": - source => "puppet://$servername/modules/mymodule/myfile" - } - } - -The files are searched for in: - - $modulepath/mymodule/files/myfile diff --git a/pkg/saz-pureftpd-0.0.1/files/debian/AltLog b/pkg/saz-pureftpd-0.0.1/files/debian/AltLog deleted file mode 100644 index e7d518d..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/debian/AltLog +++ /dev/null @@ -1 +0,0 @@ -#clf:/var/log/pure-ftpd/transfer.log diff --git a/pkg/saz-pureftpd-0.0.1/files/debian/ChrootEveryone b/pkg/saz-pureftpd-0.0.1/files/debian/ChrootEveryone deleted file mode 100644 index 7cfab5b..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/debian/ChrootEveryone +++ /dev/null @@ -1 +0,0 @@ -yes diff --git a/pkg/saz-pureftpd-0.0.1/files/debian/DontResolve b/pkg/saz-pureftpd-0.0.1/files/debian/DontResolve deleted file mode 100644 index 7cfab5b..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/debian/DontResolve +++ /dev/null @@ -1 +0,0 @@ -yes diff --git a/pkg/saz-pureftpd-0.0.1/files/debian/MaxClientsNumber b/pkg/saz-pureftpd-0.0.1/files/debian/MaxClientsNumber deleted file mode 100644 index 7273c0f..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/debian/MaxClientsNumber +++ /dev/null @@ -1 +0,0 @@ -25 diff --git a/pkg/saz-pureftpd-0.0.1/files/debian/MinUID b/pkg/saz-pureftpd-0.0.1/files/debian/MinUID deleted file mode 100644 index bb95160..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/debian/MinUID +++ /dev/null @@ -1 +0,0 @@ -33 diff --git a/pkg/saz-pureftpd-0.0.1/files/debian/NoAnonymous b/pkg/saz-pureftpd-0.0.1/files/debian/NoAnonymous deleted file mode 100644 index 7cfab5b..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/debian/NoAnonymous +++ /dev/null @@ -1 +0,0 @@ -yes diff --git a/pkg/saz-pureftpd-0.0.1/files/debian/PAMAuthentication b/pkg/saz-pureftpd-0.0.1/files/debian/PAMAuthentication deleted file mode 100644 index 7cfab5b..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/debian/PAMAuthentication +++ /dev/null @@ -1 +0,0 @@ -yes diff --git a/pkg/saz-pureftpd-0.0.1/files/debian/PureDB b/pkg/saz-pureftpd-0.0.1/files/debian/PureDB deleted file mode 100644 index ee48061..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/debian/PureDB +++ /dev/null @@ -1 +0,0 @@ -/etc/pure-ftpd/pureftpd.pdb diff --git a/pkg/saz-pureftpd-0.0.1/files/debian/UnixAuthentication b/pkg/saz-pureftpd-0.0.1/files/debian/UnixAuthentication deleted file mode 100644 index 7cfab5b..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/debian/UnixAuthentication +++ /dev/null @@ -1 +0,0 @@ -yes diff --git a/pkg/saz-pureftpd-0.0.1/files/debian/VerboseLog b/pkg/saz-pureftpd-0.0.1/files/debian/VerboseLog deleted file mode 100644 index 54299a4..0000000 --- a/pkg/saz-pureftpd-0.0.1/files/debian/VerboseLog +++ /dev/null @@ -1 +0,0 @@ -no
\ No newline at end of file diff --git a/pkg/saz-pureftpd-0.0.1/manifests/config.pp b/pkg/saz-pureftpd-0.0.1/manifests/config.pp deleted file mode 100644 index 71e6bd8..0000000 --- a/pkg/saz-pureftpd-0.0.1/manifests/config.pp +++ /dev/null @@ -1,23 +0,0 @@ -class pureftpd::config { - file { "${pureftpd::params::config_dir}conf": - ensure => directory, - recurse => true, - purge => true, - force => true, - owner => root, - group => root, - source => $source ? { - undef => "puppet:///modules/${module_name}/${pureftpd::params::config_source}", - default => $pureftpd::config_source, - }, - require => Class['pureftpd::install'], - } - - file { $pureftpd::params::config_default_file: - ensure => present, - owner => root, - group => root, - content => template("${module_name}/default_config.erb"), - require => Class['pureftpd::install'], - } -} diff --git a/pkg/saz-pureftpd-0.0.1/manifests/init.pp b/pkg/saz-pureftpd-0.0.1/manifests/init.pp deleted file mode 100644 index 6590f4b..0000000 --- a/pkg/saz-pureftpd-0.0.1/manifests/init.pp +++ /dev/null @@ -1,16 +0,0 @@ -# Class: pureftpd -# -# This module manages pureftpd -# -# Parameters: -# -# Actions: -# -# Requires: -# -# Sample Usage: -# -# [Remember: No empty lines between comments and class definition] -class pureftpd ($auth_type = undef, $config_source = undef, $virtualchroot = false) { - include pureftpd::params, pureftpd::install, pureftpd::config, pureftpd::service -} diff --git a/pkg/saz-pureftpd-0.0.1/manifests/install.pp b/pkg/saz-pureftpd-0.0.1/manifests/install.pp deleted file mode 100644 index 8bf9a98..0000000 --- a/pkg/saz-pureftpd-0.0.1/manifests/install.pp +++ /dev/null @@ -1,5 +0,0 @@ -class pureftpd::install { - package { $pureftpd::params::package_name: - ensure => present, - } -} diff --git a/pkg/saz-pureftpd-0.0.1/manifests/params.pp b/pkg/saz-pureftpd-0.0.1/manifests/params.pp deleted file mode 100644 index 911da7e..0000000 --- a/pkg/saz-pureftpd-0.0.1/manifests/params.pp +++ /dev/null @@ -1,22 +0,0 @@ -class pureftpd::params { - case $operatingsystem { - /(Ubuntu|Debian)/: { - case $auth_type { - 'mysql': { $real_auth_type = '-mysql' } - 'ldap': { $real_auth_type = '-ldap' } - 'postgresql': { $real_auth_type = '-postgresql' } - default: { $real_auth_type = '' } - } - $package_name = "pure-ftpd${real_auth_type}" - $config_dir = '/etc/pure-ftpd/' - $service_name = "pure-ftpd${real_auth_type}" - $config_default_file = '/etc/default/pure-ftpd-common' - $config_source = 'debian' - } - } - - case $pureftpd::virtualchroot { - true: { $real_virtualchroot = true } - default: { $real_virtualchroot = false } - } -} diff --git a/pkg/saz-pureftpd-0.0.1/manifests/service.pp b/pkg/saz-pureftpd-0.0.1/manifests/service.pp deleted file mode 100644 index 039ca4f..0000000 --- a/pkg/saz-pureftpd-0.0.1/manifests/service.pp +++ /dev/null @@ -1,9 +0,0 @@ -class pureftpd::service { - service { $pureftpd::params::service_name: - ensure => running, - enable => true, - hasrestart => true, - hasstatus => false, - require => Class['pureftpd::config'], - } -} diff --git a/pkg/saz-pureftpd-0.0.1/metadata.json b/pkg/saz-pureftpd-0.0.1/metadata.json deleted file mode 100644 index 0707e20..0000000 --- a/pkg/saz-pureftpd-0.0.1/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "summary": "UNKNOWN", - "project_page": "https://github.com/saz/puppet-pureftpd", - "author": "saz", - "source": "UNKNOWN", - "dependencies": [ - - ], - "checksums": { - "manifests/params.pp": "e7b3cf3a6115e96a6f76d3ff2c545625", - "files/debian/AltLog": "a3d7f89dc916062234237acf75bde97d", - "files/debian/MinUID": "4fbafd6948b6529caa2b78e476359875", - "spec/spec_helper.rb": "ca19ec4f451ebc7fdb035b52eae6e909", - "files/debian/NoAnonymous": "eb4585ad9fe0426781ed7c49252f8225", - "spec/unit/puppet/provider/README.markdown": "e52668944ee6af2fb5d5b9e798342645", - "files/README.markdown": "3d44458cc68d8513b51e3b56c604eec4", - "files/debian/DontResolve": "eb4585ad9fe0426781ed7c49252f8225", - "files/debian/PureDB": "6db5965698527e1f140dfc73ed40d47c", - "files/debian/UnixAuthentication": "eb4585ad9fe0426781ed7c49252f8225", - "manifests/config.pp": "9a67980c30c5d3c0c0fd9ecfb81627a8", - "README": "34cdc51f71f626da2194b0bbf2e6a6e6", - "manifests/service.pp": "722d62651e6c61da4330332b6382f5a9", - "templates/README.markdown": "aada0a1952329e46b98695349dba6203", - "templates/default_config.erb": "222945189c5b8d4efa9fe2c3cc01f435", - "tests/init.pp": "5d6e84bd06e23c4d565782db67e333ec", - "files/debian/PAMAuthentication": "eb4585ad9fe0426781ed7c49252f8225", - "spec/README.markdown": "32a1fc0121c28aff554ef5d422b8b51e", - "manifests/install.pp": "51caa25f90a479cd501824362b9bdba1", - "files/debian/VerboseLog": "7fa3b767c460b54a2be4d49030b349c7", - "files/debian/MaxClientsNumber": "2a52a5e65fc3c43f409550dfad1f904f", - "metadata.json": "d34d0b70aba36510fbc2df4e667479ef", - "files/debian/ChrootEveryone": "eb4585ad9fe0426781ed7c49252f8225", - "spec/spec.opts": "a600ded995d948e393fbe2320ba8e51c", - "Modulefile": "001e56189832cdc6d7856a6baecd2443", - "manifests/init.pp": "61675a905c40641e70d6f74985fda8c8", - "spec/unit/puppet/type/README.markdown": "de26a7643813abd6c2e7e28071b1ef94" - }, - "license": "UNKNOWN", - "types": [ - - ], - "version": "0.0.1", - "name": "saz-pureftpd", - "description": "Module for configuring pure-ftpd via puppet" -}
\ No newline at end of file diff --git a/pkg/saz-pureftpd-0.0.1/spec/README.markdown b/pkg/saz-pureftpd-0.0.1/spec/README.markdown deleted file mode 100644 index 286d341..0000000 --- a/pkg/saz-pureftpd-0.0.1/spec/README.markdown +++ /dev/null @@ -1,7 +0,0 @@ -Specs -===== - -The Puppet project uses RSpec for testing. - -For more information on RSpec, see http://rspec.info/ - diff --git a/pkg/saz-pureftpd-0.0.1/spec/spec.opts b/pkg/saz-pureftpd-0.0.1/spec/spec.opts deleted file mode 100644 index 91cd642..0000000 --- a/pkg/saz-pureftpd-0.0.1/spec/spec.opts +++ /dev/null @@ -1,6 +0,0 @@ ---format -s ---colour ---loadby -mtime ---backtrace diff --git a/pkg/saz-pureftpd-0.0.1/spec/spec_helper.rb b/pkg/saz-pureftpd-0.0.1/spec/spec_helper.rb deleted file mode 100644 index a4aeeae..0000000 --- a/pkg/saz-pureftpd-0.0.1/spec/spec_helper.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'pathname' -dir = Pathname.new(__FILE__).parent -$LOAD_PATH.unshift(dir, dir + 'lib', dir + '../lib') - -require 'mocha' -require 'puppet' -gem 'rspec', '=1.2.9' -require 'spec/autorun' - -Spec::Runner.configure do |config| - config.mock_with :mocha -end - -# We need this because the RAL uses 'should' as a method. This -# allows us the same behaviour but with a different method name. -class Object - alias :must :should -end diff --git a/pkg/saz-pureftpd-0.0.1/spec/unit/puppet/provider/README.markdown b/pkg/saz-pureftpd-0.0.1/spec/unit/puppet/provider/README.markdown deleted file mode 100644 index 7025850..0000000 --- a/pkg/saz-pureftpd-0.0.1/spec/unit/puppet/provider/README.markdown +++ /dev/null @@ -1,4 +0,0 @@ -Provider Specs -============== - -Define specs for your providers under this directory. diff --git a/pkg/saz-pureftpd-0.0.1/spec/unit/puppet/type/README.markdown b/pkg/saz-pureftpd-0.0.1/spec/unit/puppet/type/README.markdown deleted file mode 100644 index 1ee19ac..0000000 --- a/pkg/saz-pureftpd-0.0.1/spec/unit/puppet/type/README.markdown +++ /dev/null @@ -1,4 +0,0 @@ -Resource Type Specs -=================== - -Define specs for your resource types in this directory. diff --git a/pkg/saz-pureftpd-0.0.1/templates/README.markdown b/pkg/saz-pureftpd-0.0.1/templates/README.markdown deleted file mode 100644 index 575bbea..0000000 --- a/pkg/saz-pureftpd-0.0.1/templates/README.markdown +++ /dev/null @@ -1,23 +0,0 @@ -Templates -========= - -Puppet supports templates and templating via ERB, which is part of the Ruby -standard library and is used for many other projects including Ruby on Rails. -Templates allow you to manage the content of template files, for example -configuration files that cannot yet be managed as a Puppet type. Learn more at -http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Templating - -You can use templates like this: - - class myclass { - package { mypackage: ensure => latest } - service { myservice: ensure => running } - file { "/etc/myfile": - content => template("mymodule/myfile.erb") - } - } - -The templates are searched for in: - - $templatedir/mymodule/myfile.erb - $modulepath/mymodule/templates/myfile.erb diff --git a/pkg/saz-pureftpd-0.0.1/templates/default_config.erb b/pkg/saz-pureftpd-0.0.1/templates/default_config.erb deleted file mode 100644 index 49b53eb..0000000 --- a/pkg/saz-pureftpd-0.0.1/templates/default_config.erb +++ /dev/null @@ -1,26 +0,0 @@ -# Configuration for pure-ftpd -# (this file is sourced by /bin/sh, edit accordingly) - -# STANDALONE_OR_INETD -# valid values are "standalone" and "inetd". -# Any change here overrides the setting in debconf. -STANDALONE_OR_INETD=standalone - -# VIRTUALCHROOT: -# whether to use binary with virtualchroot support -# valid values are "true" or "false" -# Any change here overrides the setting in debconf. -VIRTUALCHROOT=<%= scope.lookupvar('pureftpd::params::real_virtualchroot') %> - -# UPLOADSCRIPT: if this is set and the daemon is run in standalone mode, -# pure-uploadscript will also be run to spawn the program given below -# for handling uploads. see /usr/share/doc/pure-ftpd/README.gz or -# pure-uploadscript(8) - -# example: UPLOADSCRIPT=/usr/local/sbin/uploadhandler.pl -UPLOADSCRIPT= - -# if set, pure-uploadscript will spawn $UPLOADSCRIPT running as the -# given uid and gid -UPLOADUID= -UPLOADGID= diff --git a/pkg/saz-pureftpd-0.0.1/tests/init.pp b/pkg/saz-pureftpd-0.0.1/tests/init.pp deleted file mode 100644 index a2d2040..0000000 --- a/pkg/saz-pureftpd-0.0.1/tests/init.pp +++ /dev/null @@ -1 +0,0 @@ -include pureftpd diff --git a/pkg/saz-pureftpd-1.0.0.tar.gz b/pkg/saz-pureftpd-1.0.0.tar.gz Binary files differdeleted file mode 100644 index d50ec0b..0000000 --- a/pkg/saz-pureftpd-1.0.0.tar.gz +++ /dev/null diff --git a/pkg/saz-pureftpd-1.0.0/Modulefile b/pkg/saz-pureftpd-1.0.0/Modulefile deleted file mode 100644 index c8c1a65..0000000 --- a/pkg/saz-pureftpd-1.0.0/Modulefile +++ /dev/null @@ -1,8 +0,0 @@ -name 'saz-pureftpd' -version '1.0.0' -source 'UNKNOWN' -author 'saz' -license 'UNKNOWN' -summary 'UNKNOWN' -description 'Module for configuring pure-ftpd via puppet' -project_page 'https://github.com/saz/puppet-pureftpd' diff --git a/pkg/saz-pureftpd-1.0.0/README b/pkg/saz-pureftpd-1.0.0/README deleted file mode 100644 index 231fdac..0000000 --- a/pkg/saz-pureftpd-1.0.0/README +++ /dev/null @@ -1,3 +0,0 @@ -pureftpd - -This is the pureftpd module. diff --git a/pkg/saz-pureftpd-1.0.0/files/README.markdown b/pkg/saz-pureftpd-1.0.0/files/README.markdown deleted file mode 100644 index be52188..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/README.markdown +++ /dev/null @@ -1,22 +0,0 @@ -Files -===== - -Puppet comes with both a client and server for copying files around. The file -serving function is provided as part of the central Puppet daemon, -puppetmasterd, and the client function is used through the source attribute of -file objects. Learn more at -http://projects.puppetlabs.com/projects/puppet/wiki/File_Serving_Configuration - -You can use managed files like this: - - class myclass { - package { mypackage: ensure => latest } - service { myservice: ensure => running } - file { "/etc/myfile": - source => "puppet://$servername/modules/mymodule/myfile" - } - } - -The files are searched for in: - - $modulepath/mymodule/files/myfile diff --git a/pkg/saz-pureftpd-1.0.0/files/debian/AltLog b/pkg/saz-pureftpd-1.0.0/files/debian/AltLog deleted file mode 100644 index e7d518d..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/debian/AltLog +++ /dev/null @@ -1 +0,0 @@ -#clf:/var/log/pure-ftpd/transfer.log diff --git a/pkg/saz-pureftpd-1.0.0/files/debian/ChrootEveryone b/pkg/saz-pureftpd-1.0.0/files/debian/ChrootEveryone deleted file mode 100644 index 7cfab5b..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/debian/ChrootEveryone +++ /dev/null @@ -1 +0,0 @@ -yes diff --git a/pkg/saz-pureftpd-1.0.0/files/debian/DontResolve b/pkg/saz-pureftpd-1.0.0/files/debian/DontResolve deleted file mode 100644 index 7cfab5b..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/debian/DontResolve +++ /dev/null @@ -1 +0,0 @@ -yes diff --git a/pkg/saz-pureftpd-1.0.0/files/debian/MaxClientsNumber b/pkg/saz-pureftpd-1.0.0/files/debian/MaxClientsNumber deleted file mode 100644 index 7273c0f..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/debian/MaxClientsNumber +++ /dev/null @@ -1 +0,0 @@ -25 diff --git a/pkg/saz-pureftpd-1.0.0/files/debian/MinUID b/pkg/saz-pureftpd-1.0.0/files/debian/MinUID deleted file mode 100644 index bb95160..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/debian/MinUID +++ /dev/null @@ -1 +0,0 @@ -33 diff --git a/pkg/saz-pureftpd-1.0.0/files/debian/NoAnonymous b/pkg/saz-pureftpd-1.0.0/files/debian/NoAnonymous deleted file mode 100644 index 7cfab5b..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/debian/NoAnonymous +++ /dev/null @@ -1 +0,0 @@ -yes diff --git a/pkg/saz-pureftpd-1.0.0/files/debian/PAMAuthentication b/pkg/saz-pureftpd-1.0.0/files/debian/PAMAuthentication deleted file mode 100644 index 7cfab5b..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/debian/PAMAuthentication +++ /dev/null @@ -1 +0,0 @@ -yes diff --git a/pkg/saz-pureftpd-1.0.0/files/debian/PureDB b/pkg/saz-pureftpd-1.0.0/files/debian/PureDB deleted file mode 100644 index ee48061..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/debian/PureDB +++ /dev/null @@ -1 +0,0 @@ -/etc/pure-ftpd/pureftpd.pdb diff --git a/pkg/saz-pureftpd-1.0.0/files/debian/UnixAuthentication b/pkg/saz-pureftpd-1.0.0/files/debian/UnixAuthentication deleted file mode 100644 index 7cfab5b..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/debian/UnixAuthentication +++ /dev/null @@ -1 +0,0 @@ -yes diff --git a/pkg/saz-pureftpd-1.0.0/files/debian/VerboseLog b/pkg/saz-pureftpd-1.0.0/files/debian/VerboseLog deleted file mode 100644 index 54299a4..0000000 --- a/pkg/saz-pureftpd-1.0.0/files/debian/VerboseLog +++ /dev/null @@ -1 +0,0 @@ -no
\ No newline at end of file diff --git a/pkg/saz-pureftpd-1.0.0/manifests/config.pp b/pkg/saz-pureftpd-1.0.0/manifests/config.pp deleted file mode 100644 index 71e6bd8..0000000 --- a/pkg/saz-pureftpd-1.0.0/manifests/config.pp +++ /dev/null @@ -1,23 +0,0 @@ -class pureftpd::config { - file { "${pureftpd::params::config_dir}conf": - ensure => directory, - recurse => true, - purge => true, - force => true, - owner => root, - group => root, - source => $source ? { - undef => "puppet:///modules/${module_name}/${pureftpd::params::config_source}", - default => $pureftpd::config_source, - }, - require => Class['pureftpd::install'], - } - - file { $pureftpd::params::config_default_file: - ensure => present, - owner => root, - group => root, - content => template("${module_name}/default_config.erb"), - require => Class['pureftpd::install'], - } -} diff --git a/pkg/saz-pureftpd-1.0.0/manifests/init.pp b/pkg/saz-pureftpd-1.0.0/manifests/init.pp deleted file mode 100644 index 6590f4b..0000000 --- a/pkg/saz-pureftpd-1.0.0/manifests/init.pp +++ /dev/null @@ -1,16 +0,0 @@ -# Class: pureftpd -# -# This module manages pureftpd -# -# Parameters: -# -# Actions: -# -# Requires: -# -# Sample Usage: -# -# [Remember: No empty lines between comments and class definition] -class pureftpd ($auth_type = undef, $config_source = undef, $virtualchroot = false) { - include pureftpd::params, pureftpd::install, pureftpd::config, pureftpd::service -} diff --git a/pkg/saz-pureftpd-1.0.0/manifests/install.pp b/pkg/saz-pureftpd-1.0.0/manifests/install.pp deleted file mode 100644 index 8bf9a98..0000000 --- a/pkg/saz-pureftpd-1.0.0/manifests/install.pp +++ /dev/null @@ -1,5 +0,0 @@ -class pureftpd::install { - package { $pureftpd::params::package_name: - ensure => present, - } -} diff --git a/pkg/saz-pureftpd-1.0.0/manifests/params.pp b/pkg/saz-pureftpd-1.0.0/manifests/params.pp deleted file mode 100644 index 911da7e..0000000 --- a/pkg/saz-pureftpd-1.0.0/manifests/params.pp +++ /dev/null @@ -1,22 +0,0 @@ -class pureftpd::params { - case $operatingsystem { - /(Ubuntu|Debian)/: { - case $auth_type { - 'mysql': { $real_auth_type = '-mysql' } - 'ldap': { $real_auth_type = '-ldap' } - 'postgresql': { $real_auth_type = '-postgresql' } - default: { $real_auth_type = '' } - } - $package_name = "pure-ftpd${real_auth_type}" - $config_dir = '/etc/pure-ftpd/' - $service_name = "pure-ftpd${real_auth_type}" - $config_default_file = '/etc/default/pure-ftpd-common' - $config_source = 'debian' - } - } - - case $pureftpd::virtualchroot { - true: { $real_virtualchroot = true } - default: { $real_virtualchroot = false } - } -} diff --git a/pkg/saz-pureftpd-1.0.0/manifests/service.pp b/pkg/saz-pureftpd-1.0.0/manifests/service.pp deleted file mode 100644 index 039ca4f..0000000 --- a/pkg/saz-pureftpd-1.0.0/manifests/service.pp +++ /dev/null @@ -1,9 +0,0 @@ -class pureftpd::service { - service { $pureftpd::params::service_name: - ensure => running, - enable => true, - hasrestart => true, - hasstatus => false, - require => Class['pureftpd::config'], - } -} diff --git a/pkg/saz-pureftpd-1.0.0/metadata.json b/pkg/saz-pureftpd-1.0.0/metadata.json deleted file mode 100644 index 8f20daa..0000000 --- a/pkg/saz-pureftpd-1.0.0/metadata.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "summary": "UNKNOWN", - "project_page": "https://github.com/saz/puppet-pureftpd", - "author": "saz", - "source": "UNKNOWN", - "dependencies": [ - - ], - "checksums": { - "manifests/params.pp": "e7b3cf3a6115e96a6f76d3ff2c545625", - "files/debian/AltLog": "a3d7f89dc916062234237acf75bde97d", - "files/debian/MinUID": "4fbafd6948b6529caa2b78e476359875", - "spec/spec_helper.rb": "ca19ec4f451ebc7fdb035b52eae6e909", - "files/debian/NoAnonymous": "eb4585ad9fe0426781ed7c49252f8225", - "spec/unit/puppet/provider/README.markdown": "e52668944ee6af2fb5d5b9e798342645", - "files/README.markdown": "3d44458cc68d8513b51e3b56c604eec4", - "files/debian/DontResolve": "eb4585ad9fe0426781ed7c49252f8225", - "files/debian/PureDB": "6db5965698527e1f140dfc73ed40d47c", - "files/debian/UnixAuthentication": "eb4585ad9fe0426781ed7c49252f8225", - "manifests/config.pp": "9a67980c30c5d3c0c0fd9ecfb81627a8", - "README": "34cdc51f71f626da2194b0bbf2e6a6e6", - "manifests/service.pp": "722d62651e6c61da4330332b6382f5a9", - "templates/README.markdown": "aada0a1952329e46b98695349dba6203", - "templates/default_config.erb": "222945189c5b8d4efa9fe2c3cc01f435", - "tests/init.pp": "5d6e84bd06e23c4d565782db67e333ec", - "files/debian/PAMAuthentication": "eb4585ad9fe0426781ed7c49252f8225", - "spec/README.markdown": "32a1fc0121c28aff554ef5d422b8b51e", - "manifests/install.pp": "51caa25f90a479cd501824362b9bdba1", - "files/debian/VerboseLog": "7fa3b767c460b54a2be4d49030b349c7", - "files/debian/MaxClientsNumber": "2a52a5e65fc3c43f409550dfad1f904f", - "metadata.json": "d34d0b70aba36510fbc2df4e667479ef", - "files/debian/ChrootEveryone": "eb4585ad9fe0426781ed7c49252f8225", - "spec/spec.opts": "a600ded995d948e393fbe2320ba8e51c", - "Modulefile": "f8bddfe97a67a6d778a08b9b570a3ee1", - "manifests/init.pp": "61675a905c40641e70d6f74985fda8c8", - "spec/unit/puppet/type/README.markdown": "de26a7643813abd6c2e7e28071b1ef94" - }, - "license": "UNKNOWN", - "types": [ - - ], - "version": "1.0.0", - "name": "saz-pureftpd", - "description": "Module for configuring pure-ftpd via puppet" -}
\ No newline at end of file diff --git a/pkg/saz-pureftpd-1.0.0/spec/README.markdown b/pkg/saz-pureftpd-1.0.0/spec/README.markdown deleted file mode 100644 index 286d341..0000000 --- a/pkg/saz-pureftpd-1.0.0/spec/README.markdown +++ /dev/null @@ -1,7 +0,0 @@ -Specs -===== - -The Puppet project uses RSpec for testing. - -For more information on RSpec, see http://rspec.info/ - diff --git a/pkg/saz-pureftpd-1.0.0/spec/spec.opts b/pkg/saz-pureftpd-1.0.0/spec/spec.opts deleted file mode 100644 index 91cd642..0000000 --- a/pkg/saz-pureftpd-1.0.0/spec/spec.opts +++ /dev/null @@ -1,6 +0,0 @@ ---format -s ---colour ---loadby -mtime ---backtrace diff --git a/pkg/saz-pureftpd-1.0.0/spec/spec_helper.rb b/pkg/saz-pureftpd-1.0.0/spec/spec_helper.rb deleted file mode 100644 index a4aeeae..0000000 --- a/pkg/saz-pureftpd-1.0.0/spec/spec_helper.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'pathname' -dir = Pathname.new(__FILE__).parent -$LOAD_PATH.unshift(dir, dir + 'lib', dir + '../lib') - -require 'mocha' -require 'puppet' -gem 'rspec', '=1.2.9' -require 'spec/autorun' - -Spec::Runner.configure do |config| - config.mock_with :mocha -end - -# We need this because the RAL uses 'should' as a method. This -# allows us the same behaviour but with a different method name. -class Object - alias :must :should -end diff --git a/pkg/saz-pureftpd-1.0.0/spec/unit/puppet/provider/README.markdown b/pkg/saz-pureftpd-1.0.0/spec/unit/puppet/provider/README.markdown deleted file mode 100644 index 7025850..0000000 --- a/pkg/saz-pureftpd-1.0.0/spec/unit/puppet/provider/README.markdown +++ /dev/null @@ -1,4 +0,0 @@ -Provider Specs -============== - -Define specs for your providers under this directory. diff --git a/pkg/saz-pureftpd-1.0.0/spec/unit/puppet/type/README.markdown b/pkg/saz-pureftpd-1.0.0/spec/unit/puppet/type/README.markdown deleted file mode 100644 index 1ee19ac..0000000 --- a/pkg/saz-pureftpd-1.0.0/spec/unit/puppet/type/README.markdown +++ /dev/null @@ -1,4 +0,0 @@ -Resource Type Specs -=================== - -Define specs for your resource types in this directory. diff --git a/pkg/saz-pureftpd-1.0.0/templates/README.markdown b/pkg/saz-pureftpd-1.0.0/templates/README.markdown deleted file mode 100644 index 575bbea..0000000 --- a/pkg/saz-pureftpd-1.0.0/templates/README.markdown +++ /dev/null @@ -1,23 +0,0 @@ -Templates -========= - -Puppet supports templates and templating via ERB, which is part of the Ruby -standard library and is used for many other projects including Ruby on Rails. -Templates allow you to manage the content of template files, for example -configuration files that cannot yet be managed as a Puppet type. Learn more at -http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Templating - -You can use templates like this: - - class myclass { - package { mypackage: ensure => latest } - service { myservice: ensure => running } - file { "/etc/myfile": - content => template("mymodule/myfile.erb") - } - } - -The templates are searched for in: - - $templatedir/mymodule/myfile.erb - $modulepath/mymodule/templates/myfile.erb diff --git a/pkg/saz-pureftpd-1.0.0/templates/default_config.erb b/pkg/saz-pureftpd-1.0.0/templates/default_config.erb deleted file mode 100644 index 49b53eb..0000000 --- a/pkg/saz-pureftpd-1.0.0/templates/default_config.erb +++ /dev/null @@ -1,26 +0,0 @@ -# Configuration for pure-ftpd -# (this file is sourced by /bin/sh, edit accordingly) - -# STANDALONE_OR_INETD -# valid values are "standalone" and "inetd". -# Any change here overrides the setting in debconf. -STANDALONE_OR_INETD=standalone - -# VIRTUALCHROOT: -# whether to use binary with virtualchroot support -# valid values are "true" or "false" -# Any change here overrides the setting in debconf. -VIRTUALCHROOT=<%= scope.lookupvar('pureftpd::params::real_virtualchroot') %> - -# UPLOADSCRIPT: if this is set and the daemon is run in standalone mode, -# pure-uploadscript will also be run to spawn the program given below -# for handling uploads. see /usr/share/doc/pure-ftpd/README.gz or -# pure-uploadscript(8) - -# example: UPLOADSCRIPT=/usr/local/sbin/uploadhandler.pl -UPLOADSCRIPT= - -# if set, pure-uploadscript will spawn $UPLOADSCRIPT running as the -# given uid and gid -UPLOADUID= -UPLOADGID= diff --git a/pkg/saz-pureftpd-1.0.0/tests/init.pp b/pkg/saz-pureftpd-1.0.0/tests/init.pp deleted file mode 100644 index a2d2040..0000000 --- a/pkg/saz-pureftpd-1.0.0/tests/init.pp +++ /dev/null @@ -1 +0,0 @@ -include pureftpd |