Git Product home page Git Product logo

Comments (6)

gwarf avatar gwarf commented on July 17, 2024

Hello,
The hosts.conf file is populated using a script working on file created using exported/collected resources, on the manager node $apt_dater::manager_fragments_dir should contain a file by manged host, do they exist?
When using puppet 4 it is under /opt/puppetlabs/puppet/cache/apt-dater-fragments/, with puppet 3 it should be something like /var/lib/puppet/apt-dater-fragments.
If they exist the final hosts.conf file should be created by the /usr/local/bin/update-apt-dater-hosts script.

from puppet-apt_dater.

e-it avatar e-it commented on July 17, 2024

Hello,

this is my result:

[root@puppet apt-dater-fragments]# pwd
/var/lib/puppet/apt-dater-fragments
[root@puppet apt-dater-fragments]# ll
insgesamt 0
[root@puppet apt-dater-fragments]# 

Obviously there are no fragment files saved in this directory. What could be the reason?

from puppet-apt_dater.

gwarf avatar gwarf commented on July 17, 2024

Hi,
Did you enable storedconfigs/puppetdb ? It is required for exported resources, see https://docs.puppetlabs.com/puppet/3.8/reference/lang_exported.html for puppet 3.8.
What are the version of puppet and what is the Operating System?

from puppet-apt_dater.

e-it avatar e-it commented on July 17, 2024

Hello gwarf,

thanks for your answer. Well, I'm running puppet with foreman. I did not install puppetdb manually.

Is it save to install puppetdb on the same host puppet and foreman is running on?

from puppet-apt_dater.

gwarf avatar gwarf commented on July 17, 2024

I have never tested foreman, so I don't know... You could try to check this: http://projects.theforeman.org/projects/foreman/wiki/FAQ#How-does-Foreman-work-with-PuppetDB.
One other thing you could try is to add some simple code making use of exported resources, that would allow you to test if they are working and confirm/infirm if it is a bug with this module.
I am only using this code using a standard puppet 4 Open Source installation, but as the code was previously made for puppet3 it should probably still work.

from puppet-apt_dater.

gwarf avatar gwarf commented on July 17, 2024

From http://theforeman.org/manuals/1.1/index.html it seems that you can setup puppetdb with foreman 1.1

from puppet-apt_dater.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.