"Unable to fetch my node definition" and "Could not find terminus rest for...
After upgrading our Puppet environment from 3.8 to 4.7 (`puppetserver-2.6.0-1` and `puppet-agent-1.7.0-1`), I'm seeing reports from the agents like the following: 2016-09-28 09:37:06 -0500 Puppet...
View ArticleUpgrade question to for Puppet
We are planning to upgrade current Puppet to a latest one. Instead of doing it on the running master, we are opting for a new fresh install and then migrate over.>Is this a good idea?>Are there...
View ArticleHow do I enter a hash in Puppet Enterprise Console?
Hi, I've used puppet open source but we are now looking into the use of puppet enterprise. I'm battling with the console at the moment to enter some specific parameters. In particular for mysql...
View ArticleDuplicate declaration: Apache::Mod[expires]
Hello all, I've written an puppet module to configure my apache webservers, I have the following parameter set: default_mods => true I'd like to instert the following code: class {...
View ArticleAugeas[sudousers]: Could not evaluate: missing string argument 2 for set when...
Hello, Firstly, let me say that I'm not a puppet or augeas expert so apologies if this is code is a bit of a dogs breakfast!! I've hit a problem and I was wondering if anyone could help? I've cobbled...
View Articlepuppet hiera lookup
Hi, i've jsut added a new client to my puppet 4.6 master. The Client retrieves the catalog and also connection is all fine. In the mail manifest i'll try to use a variable $test = hiera('testvar')...
View Articlemerging arrays with the same key
Heya - i've got these in hiera: profiles::apache::vhosts::vhostsappcommon : - docroot: /a/path docroot_owner : a user docroot_group : a group docroot_mode : 'a mode' log_level: debug ip_based: true...
View ArticleWhat's the easiest way to apply a class to all nodes
I believe it is creating a all nodes nodegroup in PE console and then adding the class to it. The second way is through mcollective. The third is hiera.yaml, common But are there any other methods to...
View ArticleProblem in agent runs after configuring Code Manager
After configuring Code Manager and deploying a small environment, every run of the puppet agent fails silently. By failing silently I mean it does not apply any changes defined in `site.pp`( a test run...
View Articlepuppet.conf add hostname var environment
I am a Puppet beginner and I can't figure out how I could use an environnent variable in /etc/puppetlab/puppet/puppet.conf to set the certname variable. I would like to use the hostname environnent...
View ArticlePuppet fails to ensure file is present
I am using the following configuration in a module. It only has to ensure the file `sysctl.conf` is present in `/etc` folder. But it doesn't do that. class sysctl::config{ file{ "/etc/sysctl.conf":...
View ArticlePackage APT provider specify target-release
How do I achieve in PP a ``` apt-get install -t jessie-backports systemd ``` Only systemd and its dependencies shall come from `jessie-backports`. Everything else still comes from stable. No, I...
View ArticleI'm trying to start the puppet application using the apache service but...
[vagrant@puppetmaster puppet-fundamentals-puppetmaster]$ sudo service httpd start Starting httpd: Syntax error on line 22 of /etc/httpd/conf.d/puppetmaster.conf: SSLCertificateFile: file...
View ArticleConfigure puppet razor kickstart templates/variables with hiera from puppet...
Hello, My ultimate goal is to have puppet master take care of node deployment configuration even before OS gets deployed. That is puppet master configuring kickstart templates/disk partitions of a node...
View ArticleRuby issue for installing "google-api-client" gem
Issue: Unable to install required gems (google-api-client) to use custom resource modules. we require some way to handle the ruby issue for installing "google-api-client" gem. Version details...
View ArticleData type is valid hash but create_resources function refuses to accept it.
Thanks in advance for your time and attention.> ENV Details:>> Puppet Master Enterprise 3.2.3>> Puppet Agent Enterprise 3.2.3>> OS: SLES 11SP4 (Suse Linux Enterprise> Server 11...
View Articlepostgresql error in puppet
Has anyone seen these errors while using puppetlabs-puppetdb module to install puppetdb and postgresql and the related packages for puppetdb. Notice:...
View Articlepossibility of Resource duplication error
Hi I'm trying to add a new line with string 'scheduler_available_filters=openstack.plugins.nova.valet_filter.ValetFilter' below "scheduler_available_filters=nova.scheduler.filters.all_filters" in...
View ArticleHow should I tune Passenger to run Puppet?
The [default Passenger/vhost config](https://github.com/puppetlabs/puppet/blob/master/ext/rack/example-passenger-vhost.conf) example provided by Puppet doesn't work with Passenger 4 unless modified....
View Articleexec "git clone" fails.
I have /etc/ under version control, and want to clone it to a shared dir (/opt/backup). for this I use the following code: exec {'git.clone': path => '/usr/bin', cwd => '/etc', creates =>...
View Article