package: package resource is titled "nginx"
This commit is contained in:
parent
1a10a23c1b
commit
3cec62042e
2 changed files with 5 additions and 3 deletions
|
@ -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'],
|
||||
}
|
||||
|
||||
|
|
|
@ -71,8 +71,9 @@ class nginx::package::redhat (
|
|||
}
|
||||
}
|
||||
|
||||
package { $package_name:
|
||||
ensure => $package_ensure,
|
||||
package { 'nginx':
|
||||
ensure => $package_ensure,
|
||||
name => $package_name,
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue