Configure GCE instances after GCE-tags with hiera
Hi, I have just started with GCE. I noticed that you can specify certain tags to your instances. I would like that for example all instances that are tagged with the tag "webserver" will get the...
View ArticleHow do i file_line a file as a user other then root?
I wish to add a line to a file using file_user but root doesn't have access to it only a user does . . in exec you can use user => but not in file_line . ..
View Articlefile_user need to be copying a file as a user other then root
I wish to add a line to a file using file_user but root doesn't have access to it only a user does . . in exec you can use user => but not in file_line . ..
View ArticleCan't get Puppet Enterprise to work after initial install on Ubuntu 12.04
I am trying to install a 3 server setup, where the Master, Console and DB are separate virtual servers. I am following the installation instructions to the letter. Yet when I complete the install and...
View ArticleCould not find a suitable provider
Hi, We are using the puppetlabs-aws module to manage AWS resources, in our open source puppet installation. out of no where we started getting this errors> Failed to load library 'aws-sdk' for>...
View Articleepp adding equals sign to file
Here's a snip of my template... #!/bin/bash # This file is managed by Puppet. <% if $cisecurity::redhat7::security::remediate_home_directories_exist == 'enabled' {-%> # Control 6.2.7 - Ensure all...
View ArticleError 500 on SERVER : /scripts/config_version.sh" (in directory "."):...
Puppet Enterprise is running on the rhel amis . Puppet enterprise version is 2017 2.2 The node is running on amazon amis. Node has docker containers. There is a hiera classification involved which is...
View Articlepuppet parser validate * shows error at a resource with mutiple bodies
It feels like `tidy` is not working 100% reliable (at least my experience - one example: https://ask.puppet.com/question/32226/resource-tidy-does-not-notify-exec-resource-at-all/) in puppet version...
View ArticleError: Could not retrieve catalog from remote server: Error 400 on SERVER:...
If I run this command, which use a local hiera_config, then it will work: [root@shn-ops2 etc]# puppet apply -e 'include cds_master' --hiera_config=/etc/hiera.yaml.bak Warning: Variable access via...
View ArticleWhy do I parse metadata.json?
Hello, I want to run "puppet module build " and after I get next message: [LIN.FAKTORING.NET] [root@lisatellite1p swepps-sssd]$ puppet module build --debug /etc/puppet/modules/swepps-sssd Debug:...
View ArticleWhy can't run puppet module build?
Hello, I want to run "puppet module build " and after I get next message: [LIN.FAKTORING.NET] [root@lisatellite1p swepps-sssd]$ puppet module build --debug /etc/puppet/modules/swepps-sssd Debug:...
View ArticleInstalling puppet agent 5+ on OpenSuse
Hi guys, we are currently running a master/client infrastructure with a Ubuntu 16.04 master server with version 5.3.2 and OpenSuse 42.3 clients with version 3.8.7. Is there a way to install a newer...
View ArticleTesting Puppet code and deployment
I am new to puppet world.. Based on my project we have written manifests to configure Azure VM accordingly. But customer is expecting some testing tools for both Manifest and deployment. Any one used...
View ArticleBlock USB writes access while USB Keyboard/Mouse works
How to Block USB write access from Puppet Agent, but Agent should be able to use USB Keyboard/Mouse, Note:- Agent have root access. Can someone please tell what node is required to use in Puppet...
View ArticleHow do you use/v1/commands/unpin-from-all ?
when i try adding it to my shell script it always has an error when it gets to this part. IN my script i either have it look like /v1/commands/unpin-from-all or unpin-from-all.
View ArticleHow do you use /v1/commands/unpin-from-all in shell scripting?
When i try using this to unpin my nodes always get an error. I have use it in /v1/commands/unpin-from-all or unpin-from-all but neither work. What is the correct format in using this command.
View ArticleHow 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 ArticlePuppet Run Triggered from Resource Change
I'm working on my company's servers and am encountering a situation where turning off the puppet service on an agent will trigger a puppet run. Is this normal behavior? Can a changing a resource...
View ArticleHow to stop automatic puppet runs?
How do I stop automatic puppet runs which seem to be happening in less than the standard 30 minute window? I would like to be able to disable automatic puppet run on my nodes from the master with the...
View ArticleBe The Greatest Blogger You Will Be After Reading These Tips
Blogging is fairly simple and if you do a basic Google search, you will notice that countless blogs and forums are now being added everyday. It appears as though people have a blog currently. But you...
View Article