How To Age Beautifully In Today's World
Trying to age gracefully may sound nice, but its not as easy as it sounds. Aging can be as tough as any job, but there are more sick days and less vacation time! However there are things you can do to...
View ArticleError: Could not request certificate: Connection refused - connect(2) for...
I am new to puppet I am configuring connecting between puppet master "puppet" I have edited the host file on agent & client as well as I have edited the puppet.conf on agent node to resolve the...
View Articlefile_line cannot delete lines by regexp?
There seems to be a misleading example in the stdlib documentation: file_line { 'bashrc_proxy': ensure => absent, path => '/etc/bashrc', line => 'export...
View ArticleFetching program exit status by facter
I'm looking to check whether the Java package is installed on OSX by executing `pkgutil --pkgs=.+Java.+` and looking at its exit status. Based on that, I'll decide whether I should execute `java...
View ArticleHow to run Puppet Enterprise with multiple masters, for redundancy
I'm preparing to install a monolithic configuration (we have under 500 hosts). Since we have two separate environments (a redundant environment), I would like to run Puppet in a dual-master...
View ArticleDefault manifest searched at /home/user/.puppetlabs/ instead of /etc/puppetlabs/
Hi there, I've recently started to play with Puppet Open Source but I'm experiencing some unexpected behaviors. Following the documentation, when we want to open a manifest we have to place it inside...
View ArticleForcing user to change his unix login password
I am using `users' resource to create unix accounts and then set a default password. For this I have written the following manifest . node 'node2.example.com','node3.example.com' { user { 'askar':...
View Articlebest practice to manage private ssh keys
Dear all! I am wondering how I should manage my private keys of hosts/users. My setup: Infra is managed using puppet control repo with roles/profiles and r10k. I have a puppet master + puppetdb,...
View Articlepuppetlabs-registry module not showing up in console.
I am able to install using "puppet module install puppetlabs-registry" If I execute "puppet module list" I get the following. /etc/puppetlabs/puppet/environments/production/modules helloworld (???)...
View ArticleHow can I correctly restart the puppet master?
I think whilst trying to correct agent certificate on the master that I have caused another issue with the master not running correctly. **puppet agent -t** Warning: Unable to fetch my node definition,...
View Articleoradb for patching oracle- ocm.rsp file
I am experimenting with oradb to install Oracle patches to my Linux env. This is based on the fact that oracle response file is present at $ORACLE_HOME/OPatch directory. Is there any way to automate...
View ArticleProxy Configuration Question
We are in an environment where our puppet master is in the same VPC as the agents, and there is an external resource needed by our facter facts. I have seen similar issues with the master being in the...
View ArticleError: Could not run: Could not create PID file: /var/run/puppet/agent.pid
I'm completely new to Puppet. I'm running version 3.4.3 Command when running: puppet agent -t --server ubuntu --verbose --no-daemonize --waitforcert 10 I can't continue my course until I have this...
View ArticleTranslation in London
We are a language solution provider company based in London, England. For growing your business in the local or international market, you always need a trustworthy partner who deliver you perfect...
View ArticleService ':VersionedCodeService' not found
I recently saw this happen on a restart of puppetserver 2.3.0, but I have not seen this error show up in the googles before. Has anyone seen this? [rnelson0@puppet ~]$ sudo systemctl start puppetserver...
View ArticleHow to copy directory from master to hosts
I have been trying to copy a directory from my master to different hosts. I have a script that checks out a code and puts it in certain directory. My template script looks like below. #!/bin/bash...
View Articleservice attributes based off hiera - is this bone headed?
I would like modify service attributes based on a hiera lookup. So far I have tried the following and get an Invalid value "$foo::params::foo_ensure" Valid values are stopped and running." If this is a...
View ArticleWhat is the licensing model for multiple masters?
We have 2 environments with a master in each. Is it possible to share the licenses between the 2 masters as we have an excess number of agents licensed in environment 1 which we would like to use on...
View ArticlePE 2015.2 upgrade module from tar archive ?
Hi, installation from tar archive works. But how do i upgrade a module using a tar archive ? I write special modules for special cases using geppetto. So i export a tar archive. If i change the...
View Articlerunning Puppet on this node 2015.3 (API ?)
Hello, i noticed that there's a new section on every node called "running Puppet on this node". Right now i use mco for remote execution of an agent run but need this function to have integrated in my...
View Article