Hi Friends,

Kindly guide me in configuring the correct syntax of this module with
foreman 1.2


When executing puppet agent --test getting below error :


Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
config is not a hash or array when accessing it with servers at
/etc/puppet/environments/production/modules/system/manifests/ntp.pp:6 on
node icinga-test.synapse.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

ALso configuration is mention below for NTP also if anyone configure other
parameter of this module like system:files kindly provided syntax of it .

On foreman :

parameter type : string ( when changing to hash or array getting error from
foreman itself)

config box I put configuration like :

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

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

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to