Skip to content

Commit

Permalink
moved definition of directory /etc/polkit-1/localauthority/50-local.d…
Browse files Browse the repository at this point in the history
… from define to class

Signed-off-by: Steven Armstrong <[email protected]>
  • Loading branch information
Steven Armstrong committed Aug 10, 2010
1 parent a5e3be7 commit 85f8fa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@

package { 'policykit-1': alias => 'policykit', ensure => latest }

file { '/etc/polkit-1/localauthority/50-local.d':
ensure => directory,
require => Package['policykit'],
}

}

5 changes: 0 additions & 5 deletions manifests/localauthority.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@

File { owner => 'root', group => 'root' }

file { '/etc/polkit-1/localauthority/50-local.d':
ensure => directory,
require => Package['policykit'],
}

$safe_name = regsubst($name, '[^a-zA-Z-]', '_', 'G')
$config_file = "/etc/polkit-1/localauthority/50-local.d/${safe_name}.pkla"

Expand Down

0 comments on commit 85f8fa1

Please sign in to comment.