Is the module below correct?
class nginx {
if defined(Package['nginx']) {
file { "/tmp/puppet-nginx.sh":
ensure => "present",
owner => "root",
group => "root",
mode => 0755,
source =>
"puppet://$puppetserver/modules/nginx/puppet-nginx.sh",
require => Package['nginx'],
}
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.