proper configuration for puppet ntp module

Latest response

Hi,

I want to configure the puppet module for ntp into rhel satellite 6. I tried to follow this guide:

http://www.areyouroot.com/2015/01/red-hat-satellite-6-puppet-what-hell-do.html

A technician for rhel give a guide to ocnfigure the puppet module but I got some erros regarding the configuration. What is the best way to configure the module and get it work in satellite and see if the server got a difference in the time zone and the module can resolve it.

REgards

Responses

Hello, which version of the module did you try? What errors did you get?

I suggest do not use version later than 3.3.0 as Satellite 6.2 supports Puppet 3.8 Release Notes, Release Information.

I took a look at that procedure you linked to and suggest you try it with the default settings first, do not override any of the settings at first, but then you must install all the classes. If you take a look at the files in the manifest you can see it uses parameters for many values, and I think some of those parameters are in the other classes.

HTH

P.S.: Did someone refer you to another guide? If so, provide the link please.

Any update on this? i'm in the same boat here trying to get puppet configured on sat 6.2 to manage ntp, dns etc. just basics right now.

there seems to be a lot of confusion out there as the puppet way vs. the satellite way tend to differ. which is advised?

Generally speaking in Satellite 6, if you don't already have a workflow, I'd following the Content Managment Guide, which basically states

  • Create a custom product for Puppet.
  • Create a repo of type puppet associated with the product above and use the URL of https://forge.puppetlabs.com
  • Sync said repo.
  • Add one or more puppet modules to a content view of your choosing.
  • Republish & repromote the content view as needed.

well i've hit a wall. i got the ntp module uploaded to a custom repository and published it to a test content view. i go to Configure -> Classes -> NTP and there is nothing on the smart parameters tab. says i need to import.

Here lies the gap in my knowledge of puppet modules. there must be a file where these parameters need defined but i dont know where. Stuck again.

Hello, what parameter would you like to verify or change?

I have just installed module 3.3.0 (because I am not sure later versions will work) to take a look.

If I go to Configure -> Classes I can see ntp and four other ntp:: classes

If I select NTP -> Smart Class Paramter I can see all the "key" names. If I select "servers" I can see that the default value is "${$ntp::params::servers}".

If I open or extract the tar file and look in puppetlabs-ntp-3.3.0/manifests/params.pp I can see the code. I can see a section RedHat and there are some X.centos.pool.ntp.org server names there, where X is 0 to 2. You could edit this, and the version number, build a new manifest, load and publish etc., or just specify an override in the web UI.

For example, in the "Specify matchers" section I could select fqdn, enter test-server.example.com, and then enter three or more servers to use in the "value" field.

I'll give this a shot and report back, thank you for your response.

that url will sync all 4000+ labs. I cant seem to find a url just for ntp, do you know?

edit: nevermind. i grabbed the tar and uploaded rather than use the url. will report back for those interested.

I'm using 3.3.0 version as you suggested but I cannot see the base ntp class in the list. I can see ::params, ::config, ::install and ::service classes tough. What am I missing?

Satellite is 6.2.9 version just if it helps.

Thanks!

i should mention, i gave up on the puppet integrated into satellite and have shifted my time to configuring ansible. take a look at it. i'm thoroughly impressed.

I ran in to this issue. Used puppetlabs/ntp 3.3.0 as suggested. Saw no Smart Class Parameters. Removed the module from my content view. Published. Then re-added the module, and the Smart Class Parameters appeared. Hope this helps someone.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.