How to reinstall a package? (Ubuntu 16.04)
I have a package installed with puppet: apt::ppa { 'ppa:thopiekar/cura': ensure => present, } package { 'cura': ensure => latest, require => [ Class['apt::update'],...
View ArticleRazor Server set static IP
What is the standard way to set a static IP on a node after it has been deployed with Razor. I am doing a POC with Razor, I was able to deploy a CentOS server. However, I'm unsure of how to set the...
View ArticleHow to set a user password to be managed and encrypted?
I am new to puppet, I want to make a class that creates users and sets their password to be managed and **encrypted**. Is this possible? I cant seem to find anyway of doing it by default? e.g. class...
View Articlemanged and encrypted password for created users
I am new to puppet, I want to make a class that creates users and sets their password to be managed and **encrypted**. Is this possible? I cant seem to find anyway of doing it by default? e.g. class...
View ArticleSathya Sai Baba - A God Man Unparalalled
Millions of followers from all around the world, a huge organisational setup up carrying out service activities motivated and inspired by him in more than 120 countries, millions of dollars worth...
View ArticleTrying puppet/puppetserver docker image and getting Failed to open TCP...
Hi, I am trying the latest puppet/puppetserver docker image and while getting the following error: root@a25018447d66:/# puppet resource user `whoami` Error: Could not run: Failed to open TCP connection...
View Articleinstalling puppet modules without vagrant provisioning
I have a project where they are using Vagrant provision to load puppet modules. the modules are available in a directory inside the project most of them are git projects. I'm a beginner in using...
View ArticleGrep a string in puppet
I need to grep a string in a line using puppet using regular expressions. $var=['varms01' , 'varms02'] I need to run puppet exec onlyif varms01 and varms02 are not present in my config file. I am not...
View ArticleUnable to apply Puppetlabs tomcat 2.0.0
I am unable to successfully apply Puppetlabs/tomcat 2.0.0 to a CentOS apache server. Mod 'puppetlabs/apache', '1.6.0' was successfully applied. The errors suggest that the instance is trying to pick...
View Articleaugeas: sudo error
Hello, i have a problem with augeas and puppet. I'm trying to add a user in sudoers file, and in some servers it works perfectly but in others it doesn't (with same version centos 7 and...
View ArticleIs hostprivkey used in any way in puppet ?
As we were going through our masters' puppet.conf the other day we noticed the **hostprivkey** and **hostcert** settings set in the [master] section. This is some pretty old configuration that we 've...
View ArticleFully Qualified Domain Names come up as hostname.lan all the time?
Now this could be more of an issue with my router / dnsmasq configuration, but... I edited my `/etc/hosts` file on my Puppet agent host like so: 127.0.1.1 bareOSdirector.lan bareOSdirector...
View Articleinstall puppet as non root user
Hello, would like to know if we can install puppet master and agent as non-root user ? we would not have access to root as all the files will be owned by pe-puppet: pe-puppet what is the default...
View ArticlePuppet agent lock file exist - skipping...
Hello Friends, We have found `agent_catalog_run.lock` file is more than 24 hour old and not being deleted automatically and still it's pid exist . Puppet should heve advance enough to track such things...
View ArticleError 400 on SERVER The environment must be purely alphanumeric
Hi Trying to register a host with puppet enterprise and am getting this error Error: Could not request certificate: Error 400 on SERVER: The environment must be purely alphanumeric, not 'puppet-ca'...
View ArticleHiera 5 environment specific lookup of yaml (puppet lookup)
Hello, Can someone explain how new Hiera 5 works ? what is data in ? datadir : data is it a directory and is it looking for this directory in default path /etc/puppetlabs/puppet/data ? for hiera global...
View Articleerr: Could not request certificate: Error 400 on SERVER: unknown message...
Recently i have wrongly removed the client(Amazon linux) certificate in puppet master, to recreate it i have deleted the /var/lib/puppet/ssl directory and then run command #puppet agent -t on the...
View ArticleHo to custom install puppet master and agent ( non -root)
Hello, By default puppet (PE 4.x) master uses pe-puppet user for installation . can i install it as another user instead of pe-puppet ? can i perform a custom install on master ? is there any default...
View ArticleHow do you pin a node during cert request
I would like to pin a node to an environment and role when requesting a cert. I know you can use external facts, but changing some files on a disk may be a potential security issue. I have heard of a...
View ArticleOracle client Installation
Hi Team, Could you please help me out writing the oracle client installation using puppet manifest for both Linux and Solaris. Both version should include in single manifest(for both Linux and Solaris)...
View Article