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:
parent
6443a1ef8f
commit
b3d5477023
6
Rakefile
Normal file
6
Rakefile
Normal 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')
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user