Skip to content

Commit

Permalink
set group ownership to 'root' instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Hoblitt committed Sep 14, 2013
1 parent 8b17d03 commit 819db0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@

file { $config_file:
ensure => $file_ensure,
owner => root,
group => 0,
owner => 'root',
group => 'root',
mode => '0644',
content => template('smartd/smartd.conf'),
require => Package[$package_name],
Expand Down
6 changes: 3 additions & 3 deletions spec/classes/smartd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
it { should contain_file('/etc/smartd.conf').with(
:ensure => 'present',
:owner => 'root',
:group => '0',
:group => 'root',
:mode => '0644',
:notify => 'Service[smartd]'
)}
Expand All @@ -57,7 +57,7 @@
it { should contain_file('/etc/smartd.conf').with(
:ensure => 'present',
:owner => 'root',
:group => '0',
:group => 'root',
:mode => '0644',
:require => 'Package[smartmontools]',
:notify => 'Service[smartd]'
Expand Down Expand Up @@ -90,7 +90,7 @@
it { should contain_file('/usr/local/etc/smartd.conf').with(
:ensure => 'present',
:owner => 'root',
:group => '0',
:group => 'root',
:mode => '0644',
:require => 'Package[smartmontools]',
:notify => 'Service[smartd]'
Expand Down

0 comments on commit 819db0b

Please sign in to comment.