Skip to content

Commit

Permalink
Merge pull request voxpupuli#643 from jfryman/revert-624-master
Browse files Browse the repository at this point in the history
Revert "Require base folder for resources"
  • Loading branch information
3flex committed Jun 13, 2015
2 parents 4a74552 + f200c85 commit f1d82e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions manifests/resource/upstream.pp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@
}

concat { "${::nginx::config::conf_dir}/conf.d/${name}-upstream.conf":
ensure => $ensure_real,
notify => Class['::nginx::service'],
require => File["${::nginx::config::conf_dir}/conf.d"]
ensure => $ensure_real,
notify => Class['::nginx::service'],
}

# Uses: $name, $upstream_cfg_prepend
Expand Down
9 changes: 4 additions & 5 deletions manifests/resource/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -518,11 +518,10 @@
}

concat { $config_file:
owner => $owner,
group => $group,
mode => $mode,
notify => Class['::nginx::service'],
require => File[$vhost_dir]
owner => $owner,
group => $group,
mode => $mode,
notify => Class['::nginx::service'],
}

$ssl_only = ($ssl == true) and ($ssl_port == $listen_port)
Expand Down

0 comments on commit f1d82e0

Please sign in to comment.