Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Browsing all 6104 articles
Browse latest View live
↧

r10k overwriting local modifications

Hi all Everytime I run r10k (version 2.4.3) it completes with the warning: Overwriting local modifications to /etc/puppetlabs/code/environments/development. I'm 100% sure that there aren't any manual...

View Article


Need more info on Puppet Noop Testing!

Hi, I am looking into some community puppet tests. I have some knowledge on Puppet Rspec, but I have never come across code like below. Can some one help in pointing me in correct direction to learn...

View Article


How to write rspec-test for a class that uses 'create_resources' function

Can't figure out how to write a puppet-Rspec test for the class, that takes parameters and calls 'create_resources' for defined type, passing resources to that function. **Update**: Looks like that I...

View Article

Error: Syntax error at 'Boolean'; expected ')' in Artifactory OSS Puppet Module

Hi, Trying to use [this](https://forge.puppet.com/autostructure/artifactory) module, it breaks with syntax error: Error: Syntax error at 'Boolean'; expected ')' at...

View Article

Are conditionals parsed by the puppet master for catalog compilation purposes?

Let's say I have a conditional like: exec { "run this command": unless => "test -f /var/run/somefile", ... } When the puppet master compiles the catalog for the agent, is the conditional evaluated...

View Article


Are conditionals parsed by the puppet master for catalog compilation purposes?

Let's say I have a conditional like: exec { "run this command": unless => "test -f /var/run/somefile", ... } When the puppet master compiles the catalog for the agent, is the conditional evaluated...

View Article

Ensure docker_compose builds images if docker-compose.yml changed

I have simple manifest that should instantiate application defined docker-compose.yml. I use https://forge.puppet.com/puppetlabs/docker_platform and my manifest looks like this: include 'docker' class...

View Article

Display console output while running exec

How can I display the console output in the screen while running the exec to run a command line?

View Article


Will puppet continue to apply changes if it cannot reach the server again?

This is probably a no-brainer, but at this point it is more of a sanity check. I was under the impression it will only make changes if it can successfully pull down a catalog from the Puppet server....

View Article


Puppet variables are really constants?

If a variable cannot be reassigned with different value then how can it be called as variables? Shouldn't it be called constants? As I know Puppet's variables cannot be reassigned in the single scope.

View Article

example of project build containing distinct application with corelation

Hello There, As i understand I can write manifests and assign distinct nodes to distinct manifests. I have an ask to build solution project environment (multi-tire/vm) with 5+ different applications...

View Article

Puppet manage server ports

Hi, Can we use puppet to manage server ports? Say I want port 80 to not listen and only enable port 443. A small example to do this? Thanks! A

View Article

I was installing puppet enterprise master on ubuntu 14.04 via text mode...

I was installing puppet enterprise master on ubuntu 14.04 via text mode editor and it is going on loop.The loop screen is shown : 2017-01-16 14:51:45,593 Running command:...

View Article


Hi, what would be the best practice or infra for such: 3 Environments. Dev /...

Hi, what would be the best practice or infra for such: 3 Environments. Dev / Stage / Prod, code gets released by branches, we need to be able to stream line all environments so they are identical, and...

View Article

Hi, what would be the best practice or infra for such: 3 Environments. Dev /...

Hi, what would be the best practice or infra for such: 3 Environments. Dev / Stage / Prod, code gets released by branches, we need to be able to stream line all environments so they are identical, and...

View Article


Facts not found from world.json

Hi Guys, see files etc below, but basically it can't seem to see ANY vars in world.json... ?(File shown is subset of the full thing) Why? Chris puppet.conf [master] vardir =...

View Article

Using a JAVA REST API i want to initiate a command to install tomcat on VM in...

I am starting to learn Puppet for my new project. Please provide some guidelines to quick start on Puppet

View Article


puppet agent : '--test' flag documentation

Hi all, Currently building automated tests using puppet agent(s), I am puzzled about the '--test' flag. The official documentation states : * --test: Enable the most common options used for testing....

View Article

How to access custom facts from command line?

i installed the [puppetlabs-lvm][1] module which provides some custom facts like `lvm_pv_0` having the `warning($facts['lvm_pv_0'])` in my `site.pp` correctly outputs `/dev/md0` but running`facter |...

View Article

Wanted files being deleted automatically

I am trying learn Puppet by setting up my various Raspberry Pis. These come with a standard user (pi) and a standard password (raspberry). Until this password is changed, a security warning appears...

View Article
Browsing all 6104 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>