diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..51eca37 --- /dev/null +++ b/Rakefile @@ -0,0 +1,6 @@ +require 'rubygems' +require 'puppetlabs_spec_helper/rake_tasks' +require 'puppet-lint/tasks/puppet-lint' +PuppetLint.configuration.fail_on_warnings = true +PuppetLint.configuration.send('disable_80chars') +PuppetLint.configuration.send('disable_class_inherits_from_params_class') diff --git a/manifests/init.pp b/manifests/init.pp index 2095c71..48ba110 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,8 +1,14 @@ +# == Class: apparmor +# +# This is the apparmor module. It simply manages the apparmor service. +# + class apparmor { - package { "apparmor": - ensure => present + package { 'apparmor': + ensure => present, } - service { "apparmor": - ensure => 'running'; + + service { 'apparmor': + ensure => running, } }