Puppet agent slow on "Starting connection for https://puppet:8140"
Version 4 setup on both master and agents. My Puppet agents have been running slowly, and debug seems to be pointing to: Debug: Starting connection for https://puppet:8140 It seems to pause for up to...
View ArticleError add user in group
Hi, i want add user in group. I add in site.pp:> user { 'admin': groups => 'wheel'} When run puppet agent --test i have it: WS0000:~ root# puppet agent --test Info: Using configured environment...
View ArticleError with PuppetDB 4.1 (PE 2016.2) HTTP API with RBAC token authentication
I am trying to use RBAC token to access the PuppetDB HTTP API with the following command: curl -X GET https://learning.puppetlabs.vm:8081/pdb/query/v4/nodes -H "X-Authentication: $TOKEN" --cacert...
View Articlepuppet can'd find launchd job when using service resource
Hi, I am trying to register a service on a mac. I have had puppet create the plist file in /Library/LaunchDaemons. Here is my puppet code: file { '/Library/LaunchDaemons/com.elastic.filebeat.plist':...
View ArticleWhy would one use "resource collectors"?
I was looking at the OpenStack modules on Puppet Forge. These modules make use of "resource collectors" so I was reading up on "resource collectors" here:...
View ArticleUnable to open PE Console (502 Bad Gateway)
I've set up Puppet Learning VM on VirtualBox, with port forwarding. I'm able to access Quest on http://localhost:8080 But when I try to access https://localhost:8443 for PE console, it throws Bad...
View ArticleHow to apply GNOME settings to current session?
This procedure makes windows in the background raise (that is, appear in the foreground) when clicked: 1. Log in to Fedora 24 1. Open a terminal 1. Run `gsettings set org.gnome.desktop.wm.preferences...
View Articlehow do i include module dependencies in beaker
I am having a module 'consul' which depends on module 'addrepo' in order to work. Both of these modules are in git repositories. How do i make beaker tests successful by include module's dependencies...
View ArticleCan metadata.json include dependencies of git modules
Module 'A' depends on module 'B' and they both are in git - Is there a way to include them in metadata.json - Or does metadata.json only accept dependencies of modules that are in the puppet forge?...
View Article/opt/puppetlabs/puppet/cache/state/classes.txt and duplicate entries !
Hi, perhaps someone stumbled upon the problem of double classes in **classes.txt**. I searched for a possibility to list all classes that have been applied on a node. So i read the manpage and found...
View ArticleMonitoring Puppet Enterprise Server Components with Nagios
I have the latest Puppet Enterprise installed on a CentOS 7 system, and am wondering which of the many Puppet related processes I should monitor with Nagios. Obviously I'm not really interested in...
View ArticlePostgreSQL not applying all parts of minifest
Hello, Please see my manifest below. Keep in mind this is my first ever puppet manifest :) I've got an older environment which I've setup by hand, but am now trying to automate parts of it with Puppet....
View ArticleUnable to start puppetserver after "yum update"
Hi Guys, I had a good running puppetserver daemon but after sudo yum update -y It is not running, complaining Specified bootstrap config file does not exist:...
View Articlecustomzied type: trigger owner&mode change when ensure present
I am writing a puppet module to download artifacts from nexus repo, it also support changing ownership and also changing file permission. When puppet find the file mode/owner is not in sync, it will...
View ArticleExtending the functionality of an already existing module
IF, lets say one would want to create a new module and then a class within that module, but would also like to use a class from a module from puppet-forge . The goal is then; to create a new class...
View Articlehow to add the ssl_client_dn to the puppet server log file running puppet 4.6
Hello, In passenger i can add the client certificate name to the logging file by using the %{SSL_CLIENT_S_DN}e LogFormat "%v %h %l %u %t \"%r\" %>s %b %{SSL_CLIENT_S_DN}e" I found the config file...
View Articlehiera only finding common.yaml and fqdn.yaml
Hi All, I'm working on a new Puppet setup and I'm running into an issue with hiera where it only applies classes found in common.yaml or $fqdn.yaml. The Puppet Server is CentOS 6.8 running...
View ArticlePuppet master 4 without Java
How do I install just the puppet master service 4.x without Java required by the puppetserver package? root@puppet:~# free -m total used free shared buffers cached Mem: 241 212 29 0 20 84 -/+...
View Articleessay writing services affordable or not?
The essay writing services are affordable and they write your essay and article within the time limit. The price for their essays is based on the type of work, academic level and time period or...
View ArticlePuppet Without agent
Hi guys, I wonder if I can use the Puppet without agent. I only need the Puppet connect on some servers through SSH and run some command lines. Do you know if Puppet do this? Thanks a lot. Silvestri
View Article