Displaying 1 result from an estimated 1 matches for "recurese".
Did you mean:
recures
2007 May 21
2
Puppet newbie: using defines
...ode basenode {
include yumrepos
}
###### classes/yumrepos.pp
class yumrepos {
yumrepo { dag: }
}
###### definitions/yumrepo.pp
define yumrepo () {
file { "/etc/yum.repos.d/$name.repo":
mode => 644,
owner => root,
group => root,
backup => true,
recurese => false,
ensure => file,
source =>
"puppet://puppet/files/os/$operatingsystem/yum/repos/$name.repo"
}
}
############
When I replace ''yumrepo{ dag: } from classes/yumrepos.pp with the ''file
{...}'' section from definitions/yumrepo.pp everythin...