Skip to content

Commit

Permalink
Merge pull request #3 from ajcrowe/develop
Browse files Browse the repository at this point in the history
fixed issue on debian wheezy with symlinked /run -> /var/run being remov...
  • Loading branch information
Alex Crowe committed Oct 31, 2013
2 parents 7b41eb1 + 5de30f7 commit e82fcc4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
class supervisord::config inherits supervisord {
file { ["${config_include}", "${run_path}", "${log_path}"]:
file { ["${config_include}", "${log_path}"]:
ensure => directory,
owner => 'root',
mode => '0755'
}

unless $run_path == '/var/run' {
file { $run_path:
ensure => directory,
owner => 'root',
mode => '0755'
}
}

if $install_init {

$osname = downcase($::osfamily)
Expand Down

0 comments on commit e82fcc4

Please sign in to comment.