Hi
I am trying to use nested classes but for whatever reason it doesn't work.
Here's my site.pp file:
include stdlib
include apt
node 'zenoss.example.com' {
include mock
}
class mock {
class my_file {
file { '/tmp/test':
ensure => present,
content => "Just testing to see if 'This' is working",
}
}
apt::source { "debian-squeeze":
location => "http://ftp.jp.debian.org/debian/",
release => "squeeze",
repos => "main contrib non-free",
include_src => false,
}
}
The problem is when I run it, the apt repository is added but the file is
not. What am I doing wrong?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/XW0wKLEL1CgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.