Hi,
sorry for stupid question, but how I can specify package depends on class
with parameters?
class nginx::install (
$nginx = "nginx-light",
$ensure = 'installed'
) {
include nginx::service
package { $nginx :
ensure => $ensure,
notify => Class["nginx::service"],
}
}
Must depend on:
apt
Fixed by removing dependency File[$sources_list_d] in apt/manifests/ppa.pp
around line 33:
require => [
File[$sources_list_d],
Package["${package}"],
],
to
require => Package["${package}"],
среда, 26 декабря 2012 г., 4:22:35 UTC+2 пользователь Andrey Age
ependencies.
>
> --
> Brian Lalor
> bla...@bravo5.org
>
> On Dec 25, 2012, at 9:22 PM, Andrey Ageyev wrote:
>
>> The folder - /etc/apt/sources.list.d exists.
>> Does anybody know what's can be wrong?
>
>
> --
> You received this message because you are subsc
Greetings,
I'm trying to add ppa:nginx/stable repo for Ubuntu 12.04.1 LTS.
Server: puppetmaster-common 3.0.1-1puppetlabs1
Agent: puppet 2.7.11
And when I try to apply manifest - getting:
puppet agent -t
info: Caching catalog for wproxy71.tpnt.net
err: Failed to apply catalog: Could not find de
Hi everyone,
I'm learning Puppet and I want to configure ssh server with different
port on different nodes.
Puppet v2.7.1
I have created module ssh:
content of modules/ssh/manifests/install.pp
class ssh::install {
package { "ssh":
ensure => present,
}
}
content