diff --git a/pkg/eyp-audit-0.1.0.tar.gz b/pkg/eyp-audit-0.1.0.tar.gz deleted file mode 100644 index 9b97554..0000000 Binary files a/pkg/eyp-audit-0.1.0.tar.gz and /dev/null differ diff --git a/pkg/eyp-audit-0.1.0/Gemfile b/pkg/eyp-audit-0.1.0/Gemfile deleted file mode 100644 index be325d9..0000000 --- a/pkg/eyp-audit-0.1.0/Gemfile +++ /dev/null @@ -1,18 +0,0 @@ -source 'https://rubygems.org' - -puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 3.3'] -gem 'puppet', puppetversion -gem 'puppetlabs_spec_helper', '>= 0.1.0' -gem 'puppet-lint', '>= 0.3.2' -gem 'facter', '>= 1.7.0' - -group :system_tests do - gem 'beaker', :require => false - gem 'beaker-rspec', :require => false - gem 'beaker_spec_helper', :require => false - gem 'beaker-puppet_install_helper', :require => false - gem 'serverspec', :require => false - gem 'rspec', '< 3.2', :require => false if RUBY_VERSION =~ /^1\.8/ - gem 'rspec-puppet', :require => false - gem 'metadata-json-lint', :require => false -end diff --git a/pkg/eyp-audit-0.1.0/README.md b/pkg/eyp-audit-0.1.0/README.md deleted file mode 100644 index 541bbd9..0000000 --- a/pkg/eyp-audit-0.1.0/README.md +++ /dev/null @@ -1,79 +0,0 @@ -# audit - -#### Table of Contents - -1. [Overview](#overview) -2. [Module Description - What the module does and why it is useful](#module-description) -3. [Setup - The basics of getting started with audit](#setup) - * [What audit affects](#what-audit-affects) - * [Setup requirements](#setup-requirements) - * [Beginning with audit](#beginning-with-audit) -4. [Usage - Configuration options and additional functionality](#usage) -5. [Reference - An under-the-hood peek at what the module is doing and how](#reference) -5. [Limitations - OS compatibility, etc.](#limitations) -6. [Development - Guide for contributing to the module](#development) - -## Overview - -A one-maybe-two sentence summary of what the module does/what problem it solves. -This is your 30 second elevator pitch for your module. Consider including -OS/Puppet version it works with. - -## Module Description - -If applicable, this section should have a brief description of the technology -the module integrates with and what that integration enables. This section -should answer the questions: "What does this module *do*?" and "Why would I use -it?" - -If your module has a range of functionality (installation, configuration, -management, etc.) this is the time to mention it. - -## Setup - -### What audit affects - -* A list of files, packages, services, or operations that the module will alter, - impact, or execute on the system it's installed on. -* This is a great place to stick any warnings. -* Can be in list or paragraph form. - -### Setup Requirements **OPTIONAL** - -If your module requires anything extra before setting up (pluginsync enabled, -etc.), mention it here. - -### Beginning with audit - -The very basic steps needed for a user to get the module up and running. - -If your most recent release breaks compatibility or requires particular steps -for upgrading, you may wish to include an additional section here: Upgrading -(For an example, see http://forge.puppetlabs.com/puppetlabs/firewall). - -## Usage - -Put the classes, types, and resources for customizing, configuring, and doing -the fancy stuff with your module here. - -## Reference - -Here, list the classes, types, providers, facts, etc contained in your module. -This section should include all of the under-the-hood workings of your module so -people know what the module is touching on their system but don't need to mess -with things. (We are working on automating this section!) - -## Limitations - -This is where you list OS compatibility, version compatibility, etc. - -## Development - -Since your module is awesome, other users will want to play with it. Let them -know what the ground rules for contributing are. - -## Release Notes/Contributors/Etc **Optional** - -If you aren't using changelog, put your release notes here (though you should -consider using changelog). You may also add any additional sections you feel are -necessary or important to include here. Please use the `## ` header. diff --git a/pkg/eyp-audit-0.1.0/Rakefile b/pkg/eyp-audit-0.1.0/Rakefile deleted file mode 100644 index 0cb1bcd..0000000 --- a/pkg/eyp-audit-0.1.0/Rakefile +++ /dev/null @@ -1,21 +0,0 @@ -require 'rubygems' -require 'puppetlabs_spec_helper/rake_tasks' -require 'puppet-lint/tasks/puppet-lint' -require 'metadata-json-lint/rake_task' -PuppetLint.configuration.send('disable_80chars') -PuppetLint.configuration.send('disable_documentation') -PuppetLint.configuration.send('disable_class_inherits_from_params_class') -PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"] - -desc "Validate manifests, templates, and ruby files" -task :validate do - Dir['manifests/**/*.pp'].each do |manifest| - sh "puppet parser validate --noop #{manifest}" - end - Dir['spec/**/*.rb','lib/**/*.rb'].each do |ruby_file| - sh "ruby -c #{ruby_file}" unless ruby_file =~ /spec\/fixtures/ - end - Dir['templates/**/*.erb'].each do |template| - sh "erb -P -x -T '-' #{template} | ruby -c" - end -end diff --git a/pkg/eyp-audit-0.1.0/checksums.json b/pkg/eyp-audit-0.1.0/checksums.json deleted file mode 100644 index d68a7ca..0000000 --- a/pkg/eyp-audit-0.1.0/checksums.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "Gemfile": "b54cb481a014e5393e6c5318048e2cdf", - "README.md": "75380476b39aa10e921b53429d3d274f", - "Rakefile": "f0fb635c344dc3e9edb9ec6cbd2e4a02", - "manifests/init.pp": "d8b8b0ddccd0fbe2dbf65016dee275c1", - "manifests/params.pp": "2c57c6fee3e2d5131f9d5839521f11bd", - "manifests/tty.pp": "cdb4e90863581cf08f230e165034b917", - "metadata.json": "7bed79421cdda9c780b1d7545f81472b", - "spec/classes/init_spec.rb": "723f8e27314e3e23d9e56884a212ace8", - "spec/spec_helper.rb": "0db89c9a486df193c0e40095422e19dc", - "tests/init.pp": "afc3911e76805797083836f818f886d4" -} \ No newline at end of file diff --git a/pkg/eyp-audit-0.1.0/manifests/init.pp b/pkg/eyp-audit-0.1.0/manifests/init.pp deleted file mode 100644 index d2ce76e..0000000 --- a/pkg/eyp-audit-0.1.0/manifests/init.pp +++ /dev/null @@ -1,16 +0,0 @@ -# == Class: audit -# -class audit inherits audit::params { - - package { $pkg_audit: - ensure => 'installed', - } - - service { 'auditd': - ensure => 'running', - enable => true, - require => Package[$pkg_audit], - } - - -} diff --git a/pkg/eyp-audit-0.1.0/manifests/params.pp b/pkg/eyp-audit-0.1.0/manifests/params.pp deleted file mode 100644 index 853a385..0000000 --- a/pkg/eyp-audit-0.1.0/manifests/params.pp +++ /dev/null @@ -1,40 +0,0 @@ -# == Class: audit::params -# -class audit::params { - - case $::osfamily - { - 'redhat': - { - case $::operatingsystemrelease - { - /^6.*$/: - { - $pkg_audit='audit' - } - default: { fail("Unsupported RHEL/CentOS version! - $::operatingsystemrelease") } - } - - } - 'Debian': - { - case $::operatingsystem - { - 'Ubuntu': - { - case $::operatingsystemrelease - { - /^14.*$/: - { - $pkg_audit='auditd' - } - default: { fail("Unsupported Ubuntu version! - $::operatingsystemrelease") } - } - } - 'Debian': { fail("Unsupported") } - default: { fail("Unsupported Debian flavour!") } - } - } - default: { fail("Unsupported OS!") } - } -} diff --git a/pkg/eyp-audit-0.1.0/manifests/tty.pp b/pkg/eyp-audit-0.1.0/manifests/tty.pp deleted file mode 100644 index 5429974..0000000 --- a/pkg/eyp-audit-0.1.0/manifests/tty.pp +++ /dev/null @@ -1,15 +0,0 @@ -# == Class: tty -# -class audit::tty($enable='*') inherits audit::params { - - Exec { - path => '/sbin:/bin:/usr/sbin:/usr/bin', - } - - exec { 'afegint pam_tty_audit sshd': - command => "sed '/pam_tty_audit.so/d' -i /etc/pam.d/sshd; echo 'session required pam_tty_audit.so enable=${enable}' >> /etc/pam.d/sshd", - unless => "grep 'session required pam_tty_audit.so enable=${enable}' /etc/pam.d/sshd", - } - - -} diff --git a/pkg/eyp-audit-0.1.0/metadata.json b/pkg/eyp-audit-0.1.0/metadata.json deleted file mode 100644 index 59cd3bd..0000000 --- a/pkg/eyp-audit-0.1.0/metadata.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "eyp-audit", - "version": "0.1.0", - "author": "eyp", - "summary": "auditd", - "license": "Apache-2.0", - "source": "", - "project_page": null, - "issues_url": null, - "dependencies": [ - {"name":"puppetlabs/stdlib","version_requirement":">= 1.0.0"} - ] -} diff --git a/pkg/eyp-audit-0.1.0/spec/classes/init_spec.rb b/pkg/eyp-audit-0.1.0/spec/classes/init_spec.rb deleted file mode 100644 index bbcc702..0000000 --- a/pkg/eyp-audit-0.1.0/spec/classes/init_spec.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'spec_helper' -describe 'audit' do - - context 'with defaults for all parameters' do - it { should contain_class('audit') } - end -end diff --git a/pkg/eyp-audit-0.1.0/spec/spec_helper.rb b/pkg/eyp-audit-0.1.0/spec/spec_helper.rb deleted file mode 100644 index 2c6f566..0000000 --- a/pkg/eyp-audit-0.1.0/spec/spec_helper.rb +++ /dev/null @@ -1 +0,0 @@ -require 'puppetlabs_spec_helper/module_spec_helper' diff --git a/pkg/eyp-audit-0.1.0/tests/init.pp b/pkg/eyp-audit-0.1.0/tests/init.pp deleted file mode 100644 index bfad823..0000000 --- a/pkg/eyp-audit-0.1.0/tests/init.pp +++ /dev/null @@ -1,12 +0,0 @@ -# The baseline for module testing used by Puppet Labs is that each manifest -# should have a corresponding test manifest that declares that class or defined -# type. -# -# Tests are then run by using puppet apply --noop (to check for compilation -# errors and view a log of events) or by fully applying the test in a virtual -# environment (to compare the resulting system state to the desired state). -# -# Learn more about module testing here: -# http://docs.puppetlabs.com/guides/tests_smoke.html -# -include audit