Skip to content

Commit

Permalink
Cleanup inconsistent indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Thor77 committed Apr 19, 2020
1 parent 7f908d1 commit dce54d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
12 changes: 6 additions & 6 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
}

group { 'znc':
ensure => 'present',
ensure => 'present',
} -> user { 'znc':
ensure => 'present',
gid => 'znc',
system => true,
home => '/var/lib/znc',
managehome => true,
ensure => 'present',
gid => 'znc',
system => true,
home => '/var/lib/znc',
managehome => true,
}
}
7 changes: 4 additions & 3 deletions manifests/service.pp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @summary Manage ZNC service
class znc::service {
systemd::unit_file { 'znc.service':
$service_active = $znc::service_ensure == 'running'
systemd::unit_file { "${znc::service_name}.service":
source => 'puppet:///modules/znc/znc.service',
enable => true,
active => true,
enable => $service_active,
active => $service_active,
require => [
Package[$znc::package_name],
User['znc'],
Expand Down

0 comments on commit dce54d1

Please sign in to comment.