I want to do some code reuse, and modules seem overkill. Is it possible to
have something like this?
A file called myuser.pp
class myuser {
user {...}
file {...}
...
}
Then in site.pp have this:
node 'foo.example.com' {
include myuser
.. other things ..
}
node 'bar.example.com' {
include myuser
.. other things ..
}
When I try this, I get a class not found: myuser (HTTP/400) error. Is there
a simpler way to do this?
R,
rahul
--
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/-/XLD-NK_1wH0J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.