package: package resource is titled "nginx"

This commit is contained in:
Matthew Haughton 2014-12-07 21:01:24 -05:00
parent 1a10a23c1b
commit 3cec62042e
2 changed files with 5 additions and 3 deletions

View file

@ -22,8 +22,9 @@ class nginx::package::debian(
$distro = downcase($::operatingsystem)
package { $package_name:
package { 'nginx':
ensure => $package_ensure,
name => $package_name,
require => Anchor['nginx::apt_repo'],
}

View file

@ -71,8 +71,9 @@ class nginx::package::redhat (
}
}
package { $package_name:
ensure => $package_ensure,
package { 'nginx':
ensure => $package_ensure,
name => $package_name,
}
}