Add Rakefile file and update puppet coding style

Add Rakefile file
Add class document
Replace the double quotes

Change-Id: I3f38ff0dc150c0cb260e0eb39655fcc351221bd6
Closes-Bug: #1334603
This commit is contained in:
Longgeek 2014-06-26 18:52:00 +08:00
parent 6443a1ef8f
commit b3d5477023
2 changed files with 16 additions and 4 deletions

6
Rakefile Normal file
View File

@ -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')

View File

@ -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,
}
}