I am new to Puppet and currently following this blog post to get a basic...
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class ntp for node01.example.com on node node01.example.com I am able to run sudo puppet cert list --all and...
View ArticleWhat's the difference between include and contain?
class ntp { file { '/etc/ntp.conf': ... require => Package['ntp'], notify => Class['ntp::service'], } contain ntp::service package { 'ntp': ... } } class ntp { file { '/etc/ntp.conf': ......
View ArticleAugeas: key containing whitespace
Hi, I have flat file having strings separated by whitespace as: set key1 value1 set key2 value2 I want to update the value part only e,g. value1 should be replaced by value3. I have used different...
View Articlerspec ArgumentError: wrong number of arguments (2 for 1)
I have used simple test case to write Rspec. but while executing i am getting the below error. Code: require 'spec_helper' describe "nginx" do it do is_expected.to...
View ArticleNeed help Installing and configuration puppet-agent on Mac OS X 10.12.5
Hi. I ask for help in properly installing the agent on the version of Mac OS X 10.12.5. Application downloaded from here:...
View ArticleHow to install puppet agents on multiple machine via one single script
How to install puppet agents on multiple machine via one single script. I have 500+ linux RedHat machine that I need to install Puppet agents on.. Any script that I can use or tools, I appreciate all...
View ArticleWhat am i doing wrong on this puppet code to install jenkins?
Please help, I am trying to automate installation of jenkins on a vagrant machine but I cant get the code below to work. I get an SSH error and the port is not set to 9999. Sorry the post looks...
View Articlepuppet-glance gets error with puppet agent -t but no error with puppet apply?
Hi, I have run into a strange problem. I have been experimenting with moving from PE to open source puppet for building out an Mitaka OpenStack cloud. RIght now I have a puppet master, most-ppt-01, and...
View Article[Error]: Failed to apply catalog: Connection refused - connect(2) for...
I have been getting this error for quite long time. I added 2 GB of RAM , making it to total 4Gigs, which was intialy 2GB only. Even after that getting this error. Please note the following also- 1)...
View ArticleCode Manager Setup/Environments
We currently manually promote code through environments each user has his own dev environment that he can pull test branches to. See below: Production Staging dev_user1 dev_user2 Its my understanding...
View ArticleHow to install puppet agent 3.8.x on Ubuntu 17.04
My puppet master server is 3.8.x , but the default puppet version is 4.8 on Ubuntu 17.04, the certificate can't be support. Also server version can't upgrade, so how to install puppet agent 3.8.x on...
View Articlemodule license
Hi All I am new to puppet . I am trying to install Oracle Module from https://forge.puppet.com/biemond/oradb One question , is it free to download this module ? Please help me here Or if you feel this...
View ArticleHow to log puppet agent output to a custom file?
Hi, My puppet agent (4.10.1) is installed on AIX box and reporting to PE 2017.2. I have a requirement to collect the log of puppet agent run in some separate other than `/var/log/syslog_all.log`where...
View ArticleCheck if a resource has been collected
Hi, It's possible to check if a resource has been collected in <<| |>> or <| |> sentences ? Use case: node 1: export a resource with self-info (like hostname in an augeas...
View Articlecommand line hiera not work after switch to hiera5 hiera.yaml
Hi, I am switching to hiera5. My opensource puppet master and nodes are working fine and are able to consume the hiera data, but I would like to be able to run `hiera` from the command line on my...
View ArticleFirst time connecting agent to master, Could not request certificate: ...404
I'm sure that this is a configuration issue somewhere, but I don't know what needs to be changed. I have three servers all running Oracle Linux 7.3, one running Foreman, one running puppet-server as...
View ArticleIssues with puppet 4 migration
Hi, I just upgraded my puppet server to debian stretch (and so puppet 4), also my clients. I have an issue with all nodes which are not converging with error on client's side: ```Warning: Unable to...
View Articlerealistic catalog testing
I would like to perform catalog tests using `puppet master --compile nb18.int.our --environment our_workstations` as a precondition to perform major refactorings in our huge puppet setup. Catalog...
View ArticleCan I write a class to make sure a software package is at a minimum level...
Due to security issues, we have to make sure various RPMs are at a minimum level IF they are installed. Can I write a class to check to see if the RPM is installed, and if so, that it is at (or...
View Article