Skip to content

Commit

Permalink
fuck sles
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Sep 28, 2018
1 parent b41c9e3 commit 8a4f621
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
path => '/usr/sbin:/usr/bin:/sbin:/bin',
}

package { 'apparmor-utils':
package { $apparmor::params::packages:
ensure => 'installed',
}

Expand Down
2 changes: 2 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
}
'Debian':
{
$packages = [ 'apparmor-utils' ]
case $::operatingsystem
{
'Ubuntu':
Expand All @@ -28,6 +29,7 @@
}
'Suse':
{
$packages = [ 'apparmor-utils', 'apparmor-parser' ]
case $::operatingsystem
{
'SLES':
Expand Down

0 comments on commit 8a4f621

Please sign in to comment.