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

Property values constrained by feature -vs- parameter constrained by feature

Hey all, Just wondering: Is there a reason I'm not understanding for why a custom type's property values that include a `:required_features` option will raise a puppet error if the feature is not...

View Article


Puppet fails with key mismatch only sometimes

Apr 4 08:14:26 server puppet-agent[19535]: Unable to fetch my node definition, but the agent run will continue: Apr 4 08:14:26 server puppet-agent[19535]: The certificate retrieved from the master...

View Article


How to specify function dependency?

I want to make sure that statement will be executed before other class declaration. ensure_packages(['python']) (ensure_packages is a function from...

View Article

rspec-puppet tests with additional class/resource

I have a question.. Say I have some autorequires functionality built into a class.. if defined( File[$parent_dir]) { $require_parent = File[$parent_dir] } ... exec { '/some/command': ... require =>...

View Article

Puppet class orders break using defines

I have a level of dependency in the order of modules being applied: class build() { # define order Class['base'] -> Class['config'] -> Class['app'] -> Class['sso'] class { 'base' : ... }...

View Article


Puppet PE 2015.2 Timezone

Hi, again, there's an issue with the timezone. The old solution doesn't work, because there's a new webfront written in java. I don't find any references in the release nodes and admin guide how to...

View Article

How resolve :No connection made Target machine actively refusing ?

Puppet Master 3.4.3 on ubuntu13.04 Puppet agent 3.3.1 on windows 7 i configured /etc/hosts files on both machines with hostnames properly. I also open the ports in puppetmaster (port 8140) but still...

View Article

can't able to pass a variable with same name in different manifest in puppet...

In previous i used puppet 2015.v.3.1, in that i pass a variable from one class to another by the same name. Eg: In Hiera, currentgen::prodequ_backup_path: 'C:\Backup' I got a hiera value to...

View Article


Error 400: Could not find class

Hello, I try to include the module [docsf][1] on my `Foreman/Puppet`-System. I cloned the git and moved the content to the modules-path `/etc/puppet/environments/production/modules`. If I assign the...

View Article


How to dynamically query PuppetDB for a list of certnames with a fact.

Hi folks, I want to get a list of certnames that have a certain title. I can get a list with this query: ["=", "title", "Roles::Example_role"] on resources but it has a lot of extra data. I can parse...

View Article

Is it possible to specify a source for an array of files

I would like to manage the attributes for an array of files but cannot figure out how to set the source. What I have tried so far bombs with the error: Parameter source failed on File[/foo1]: Could not...

View Article

how to set environment?

Hi All, How do set the environment in puppet server like if i a m having below scenario. Production > Linux> Windows> AIX Dev > Windows>Linux> AIX UAT > Windows> Linux also can...

View Article

rspec and windows symlinks

Is there any way to handle rspec symlinks in a good way on both Linux and Windows. On Linux, this is simple. Unfortunately symlinks created on Linux do not work on Windows. Even worse, mklink, fsutil...

View Article


Chocolatey/Nuget/Hiera

Hi, We are planning on using ProGet, using different feeds containing certain packages for different departmental groups. We will be using Chocolatey with Puppet. We are using Hiera, so we will be...

View Article

Puppet run via Rest API

Hi, I have installed a PE with couple of nodes. I want to run puppet agent -t programmatically wither with Java or C#.Is there a REST API available for that or what is the programming interface available

View Article


Getting 'Error: Could not find a suitable provider' error message when...

Hi, I'm currently using open source puppet. One the puppetserver I have: [root@ip-10-0-130-13 manifests]# puppetserver --version puppetserver version: 2.3.1 [root@ip-10-0-130-13 manifests]#...

View Article

Can I make use of multiple datadir paths for hiera?

I want to make use of multiple hiera datadir, so I configured my hiera.yaml file to look like this: $ cat /etc/puppetlabs/code/hiera.yaml --- :backends: - yaml :hierarchy: - "%{::role}" - common :yaml:...

View Article


Puppet reports 'Applied' include failures?

In the [puppet reporting guide](https://docs.puppet.com/guides/reporting.html), it says: "Applied: How many resources were **attempted** (emphasis mine) to be fixed" does that mean that *failures* are...

View Article

rspec-puppet error during compilation: Invalid tag '::file'

I am attempting to add a define to the [staging module](https://github.com/voxpupuli/puppet-staging) and write a test for it. it contains a define staging::file. In my define, gepetto suggests that I...

View Article

beaker No such file or directory - vagrant

This is my first adventure with beaker. I downloaded the puppetlabs-mysql module. I ran bundle exec rspec spec/acceptance in the mysql folder and i get this error: [vagrant@localhost mysql]$ bundle...

View Article
Browsing all 6104 articles
Browse latest View live


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