Most of the classes take a config hash parameter so this would be:

$ntp = {
  'servers' => ['ntp1.domain.com'],
}

class { 'system::ntp':
  config => $ntp,
}

I use this internally and Byron showed me an example of how he used it with
Foreman.

  - Keith


On 22 March 2013 18:46, John Smith <burnncrash...@gmail.com> wrote:

>
>
> On Friday, March 22, 2013 8:54:50 AM UTC-7, Keith Burdis wrote:
>>
>> Good news.  I'd encourage people to file bug or feature requests on
>> GitHub if they run into problems or have ideas for improvements.  Tutorial
>> documentation is coming Real Soon Now (TM) :-)
>>
>>    - Keith
>>
> Keith,
>
> What's the equivalent non-hiera command to use ntp with your system module
> instead?
>
> If I try
> class { 'system::ntp': servers => [ 'ntp1.domain.com' ], }
> I get
> Invalid parameter servers at /etc/puppet/manifests/site.pp:36
>
> Thanks!
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to