[Puppet Users] Struggling with hiera 5 and puppet 4.10
Hi, I'm working to prototype an upgrade of our environment to puppet 4.10 and use hiera 5 data layers. Today, we're running puppet 3, and I've refactored a our main modules to use hiera module data instead of params.pp. It better suits our needs to have the data layers setup this way. This prototype is also leveraging r10k, so the environment data is stored in a control repo branch for each puppet environment. Anyway, I'm struggling because the when I run puppet lookup on the puppet master, I get a value for a parameter that hiera should be serving data. In the module data layer, the parameter defaults to facts.hostname. When I run puppet agent or puppet lookup on a node that this module is applied to, I get nothing...e.g. if I use that piece of data in an apache::vhost define, the config file in /etc/httpd/conf.d/ is 25-.mydomain.com.conf where it should be 25-www.mydomain.com.conf because www is the value parameter hiera is looking up. The same result holds true even when I override the default value with something specific at the environment layer, the lookup on the puppet master produces the right value but the lookup on the agent returns nothing. I'm something at a loss of what could cause this with out any errors or useful information produced. Might anyone have an idea where I've gone wrong? 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/31f68898-9b99-4b8b-8362-b588c5ea0eae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Re: "puppet agent -t" is not working in my agent node
I think you're going to have to provide more information than that. Is anything appearing in the logfiles on agent and master? Which versions are you running? What has changed (was it working before)? What did you try already? Etc. Regards, Martijn Op woensdag 17 mei 2017 14:35:39 UTC+2 schreef Sudhansu Swain: > > while i am typing this command in agent its not working. Nothing is > happening. > > Cannot generate the certificate at all. Pls help > > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/62e9045d-6428-4f45-bc7e-628628334e1a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] facing problem in setting up puppet master agent/proxy/device and a backend device.
hello all, This is first time i am setting up puppet infra. Where i have two linux centos machines and one backend device on which my puppet agent will route actions. I have been able to setup basic master -agent communication. I tested it with - running site.pp on puppet agent, by fetching site.pp puppet file, kept on puppet master machine. its working fine. Next step i want to setup is, a device to which puppet agent will connect and apply actions on. Here i need to download/install puppetforge specific module too written specific for that backend device. My doubts start here - 1) Puppet module install -- Do i have to install module on puppet master or on puppet agent or on both ? 2) node { some puppet resource action } this is my site.pp on puppet master. This node-name in site.pp in puppet master - this will be name of puppet agent or my backend device name ? i think it will be name of puppet agent - kindly confirm. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/3d58185c-5232-4ddb-9cb1-5ea95ab7a487%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.