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

Puppet Agent reports "Failed to apply catalog: Could not find dependency File"

Hi All, I'm new to Puppet and I need your help please. --> I'm re-configuring puppet in manuscript but testing agent fails with dependency error: root@agent:~# puppet agent --test --noop --debug...

View Article


Puppet Agent reports "Failed to apply catalog: Could not find dependency File"

Hi All, I'm new to Puppet and I need your help please. --> I'm re-configuring puppet in manuscript but testing agent fails with dependency error: root@agent:~# puppet agent --test --noop --debug...

View Article


Puppet list files of certain type

Hi! I would like to know if it is possible to perform a file search using puppet which collects all the files of a certain type. I have seen an interesting puppet attribute named **tidy** [More info...

View Article

Puppet list files of certain type

Hi! I would like to know if it is possible to perform a file search using puppet which collects all the files of a certain type. I have seen an interesting puppet attribute named **tidy** [More info...

View Article

How can I pass multiple stings to file using augeas

I need to add the following line to a file using augeas: -u ntp:ntp -p argues is reading only first string.

View Article


Hiera Deep Merge inside create_resources

Hello, I'm trying to do a merge inside create_resources class but the hash is not being merged correctly, I think the guilty is the hash name for each instance to be configured. **Hiera Global...

View Article

How to disable the log warning messages in puppet 4.6.2

Hi all, Using the puppet version 4.6.2 In the environment for the linux and windows nodes getting the below mentioned puppet log warnings. Warning: ModuleLoader: module 'ntp' has unresolved...

View Article

puppet enterprise installation failing on RHEL 7.5

Hi, I am trying to install puppet enterprise 2016.1.2 on RHEL 7.5 through web console, but it is constantly failing with below error while Install Puppet Enterprise Failed to run PE installer Uploading...

View Article


Has Puppet Dashboard been deprecated?

I have this repo synced: https://yum.puppetlabs.com/el/6Server/products/x86_64 in my Red Hat Satellite. At the time of syncing probably about 6 months ago the puppet-dashboard package was available...

View Article


beaker step by step guide

Does anyone have a step by step documentation on beaker for testing? Like for a new Puppet user?

View Article

add character to first and last array elements in ruby

Hello I'm trying to format the output of a custom fact in ruby. I've got this array: array = [ "a", "b", "c", "d", "e", "f", "g", "h" ] what i'd like to do is add a character to the first and last...

View Article

Chown Recursively excluding a directory.

Murugan Ramaswamy 9:04 AM (0 minutes ago) to me My requirement is to run chown command recursively for a path except for one directory in that path. For example: Path:/opt/test/ Except for...

View Article

Help extracting full hash (with title) from a hash of hashes.

I have a YAML that looks like this: Cluster_list: server1.domain.com: port: 1234 ssl_port: 0987 server2:domain.com: port: 1234 ssl_port: 0987 server3.domain.com: port: 1234 ssl_port: 0987 The lookup...

View Article


Puppet Agent reports "Could not retrieve catalog from remote server: Error...

Hi All, I'm working on re-configuring Puppet on already configured environment but Puppet agents on windows machines are failing with error "Could not retrieve catalog from remote server: Error 400 on...

View Article

How do I create an acceptance test for a custom function ?

I am trying to help out on The Forge, and the folks running the pull requests/merges are asking for an acceptance test. https://github.com/voxpupuli/puppet-yum/pull/123

View Article


When i Run puppet agent -t i come across this error. I am not sure why. I did...

Error: '/usr/bin/printf ' pluginsync = true ' >> /etc/puppet/puppet.conf' returned 1 instead of one of [0] Error: /Stage[main]/Puppet_agent/Exec[puppetSync]/returns: change from 'notrun' to...

View Article

Is there a clear document outlining the backward compatibility of Puppet...

I'm having trouble finding in the documentation a CLEAR explanation of the backward compatibility statement of Puppet Enterprise and Puppet Agents. For example if an admin were running an Agent based...

View Article


puppetlabs/acl uninitialized constant Puppet::Util::Windows::String

Hi, When I run one rspec test that uses the module puppetlabs/acl on a RHEL6 server I get the following error: ``` error during compilation: Evaluation Error: Error while evaluating a Resource...

View Article

How can I create an environment file by copying an existing udm.Environment...

I am able to create new dictionaries and environment files in XL Deploy UI using puppet with below code: deployit_environment { "Environment/project/env/dev/$env-env": ensure => present, server...

View Article

How can I create an environment file by copying an existing udm.Environment...

I am able to create new dictionaries and environment files in XL Deploy UI using puppet with below code: deployit_environment { "Environment/project/env/dev/$env-env": ensure => present, server...

View Article
Browsing all 6104 articles
Browse latest View live