Questions tagged [librarian-puppet]
20 questions
                    
                    6
                    
            votes
                
                1 answer
            
        How to pass two or more variables to Define in Puppet
I struck to pass multiple arguments in define. 
The following is my code. I would like to pass two array inside the define, But I'm able to pass only one as like the following.
 class test {   
    $path = [$path1,$path2]
    $filename =…
        
        ArunRaj
        
- 1,780
 - 2
 - 26
 - 48
 
                    2
                    
            votes
                
                1 answer
            
        Unknown function pick at /tmp/vagrant-puppet/modules-84c36838170137b342ad08a194e8c35b/mongodb/manifests/params.pp:6 on node - Vagrant
While provision Vagrant VM  hashicorp/precise32 with puppetlabs-mongodb, I got an error:
Unknown function pick at
  /tmp/vagrant-puppet/modules-84c36838170137b342ad08a194e8c35b/mongodb/manifests/params.pp:6
  on node
When I looked at line no.6 of…
        
        Arpit Aggarwal
        
- 27,626
 - 16
 - 90
 - 108
 
                    1
                    
            vote
                
                1 answer
            
        How to chain classes with commands
I have the following class which installs mysql and sets up a user called user but when the create-database commands runs the user has not been created yet.
How do i chain the commands so that the user is created before create-database tries to use…
        
        Jason Quinn
        
- 2,443
 - 3
 - 28
 - 36
 
                    1
                    
            vote
                
                1 answer
            
        Node.js module won't reinstall using puppet / vagrant
Previously I had a similar configuration to this working but as soon as I added hiera to my puppet build I started having problems. The error I currently have after running vagrant provision is as follows:
==> default: [vagrant-hostsupdater]…
        
        James Murphy
        
- 800
 - 1
 - 15
 - 29
 
                    1
                    
            vote
                
                1 answer
            
        Handling Two Puppet Classes with the Same Name
I want to use the elasticsearch/elasticsearch module in my own module called rehan. The elasticsearch/elasticsearch module provides a class called elasticsearch. If I also want to create a class in my module that makes use of the one in…
        
        Muhammad Rehan Saeed
        
- 35,627
 - 39
 - 202
 - 311
 
                    1
                    
            vote
                
                1 answer
            
        How to write a wrapper class / Override configuration in pre existing Puppet Class
I would like to override the values of another class in another Puppet Modules. Please help me by suggesting ways.
Existing Class : ( Module Name : MySQL )
class mysql::server (
  $config_file             = $mysql::params::config_file,
  $includedir…
        
        ArunRaj
        
- 1,780
 - 2
 - 26
 - 48
 
                    1
                    
            vote
                
                1 answer
            
        Syntax error at '::nfs::server::export' in puppet
I am getting following syntax error: 
But I don't find any error in my code. Can anyone explain the cause and help me to fix it ?
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at '::nfs::server::export' at…
        
        ArunRaj
        
- 1,780
 - 2
 - 26
 - 48
 
                    0
                    
            votes
                
                1 answer
            
        puppet librarian Could not resolve the dependencies
I have a problem with puppet librarian resolving dependencies. When I run librarian-puppet install --verbose for this Puppetfile:
forge "https://forgeapi.puppetlabs.com"
mod "puppetlabs-java"
mod "puppetlabs-stdlib"
mod "puppetlabs-mysql"
mod…
        
        JL.Alex
        
- 1
 - 2
 
                    0
                    
            votes
                
                2 answers
            
        Artifactory Unable to find module with librarian-puppet
I'm trying to use the librarian-puppet to fetch forge modules from an Artifactory repository.
In my Puppetfile I have something like:
forge "https:///artifactory/api/puppet/" #From artifactory docs
# PuppetLabs…  
        
        Daniel Serrão
        
- 481
 - 1
 - 6
 - 17
 
                    0
                    
            votes
                
                1 answer
            
        Troubleshooting Puppet Manifests for Windows puppet Node
I have puppet manifests which would download exe file and get installed in windows server.I am getting an error while running command: puppet agent -t on windows server.
Manifests file: /etc/puppet/modules/mercury/manifests/iisserver.pp
class…
        
        varun
        
- 1
 - 2
 
                    0
                    
            votes
                
                1 answer
            
        librarian-puppet fails with 'Could not resolve the dependencies.'
I have two puppet servers and one is that was setup earlier. Now that i'm trying to get the other server ready and try to run librarian-puppet install it fails with Conflict between puppetlabs-apt (< 3.0.0, >= 2.1.0)…
        
        Saad Masood
        
- 11,036
 - 9
 - 32
 - 40
 
                    0
                    
            votes
                
                2 answers
            
        librarian-puppet - certificate verify failed (Faraday::SSLError)
I'm trying to use librarian-puppet to manage puppet modules, but when I run install, heres what happens:
When I run try to install the modules in Puppetfile, I get this error:
PS C:\wamp64\www\spider\bio\puppet> librarian-puppet install…
        
        Dominic Fagan
        
- 41
 - 1
 - 2
 - 7
 
                    0
                    
            votes
                
                0 answers
            
        MCollective Trigger Puppet agent from server failing
I'm using Puppet Opensource 4.6.1 with MCollective 2.9.0. I need to trigger the Puppet agent from the Puppet Master. However, I'm unable to find the puppet runonce command. Was this command deprecated, or is there a new command to trigger the Puppet…
        
        Dev
        
- 371
 - 1
 - 4
 - 19
 
                    0
                    
            votes
                
                0 answers
            
        Multiple control conditions validation in puppet
I need to validate agent like memory, processor, and port connectivity  before running my other manifest files. So I've created a manifest like following by keeping global facts with and statement and exec resource.
class vc {
#Validateing Infra…
        
        Dev
        
- 371
 - 1
 - 4
 - 19
 
                    0
                    
            votes
                
                0 answers
            
        Is it possible to update/ write new configuration in hiera_hash with facter or puppet code?
I would like to update and maintain my configurations in hiera_hash files. Already, The Hiera_Hash file holds some predefined values. Based on users input I would like to add/ update the new configurations in the hiera_hash file. To do that, I am…
        
        ArunRaj
        
- 1,780
 - 2
 - 26
 - 48