Here is a small exemple module :
class apache {
...
}
What is the difference between these two methods if i want to include my example module ?
node web1 {
include apache
}
node web1 {
class { 'apache:' }
}
What is the best practices to include a class ?