On Fri, 2012-08-24 at 11:13 -0700, Sandra Schlichting wrote:
Hi Ryan,
[snip]
This is equivalent to writing include ntp but without just accepting
node testsrv {
class { 'ntp':
server_list => [ 'server1', 'server2', 'etc' ],
}
}
but I would really like to have this instead
node testsrv { include ntp }
or
node testsrv { include myconfig::ntp }
Hi Ryan,
[snip]
This is equivalent to writing include ntp but without just accepting
the default behavior and data.
Yes, the following worksnode testsrv {
class { 'ntp':
server_list => [ 'server1', 'server2', 'etc' ],
}
}
but I would really like to have this instead
node testsrv { include ntp }
or
node testsrv { include myconfig::ntp }
'ntp_local', etc.) would work fine. This would look like
class myconfig::ntp {
class { 'ntp':
server_list => [ 'a.example.com', 'b.example.com' ]
}
}
note testsrv {
include myconfig::ntp
}
--
Calvin Walton <calvin.walton@kepstin.ca>
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
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.