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

How to create dynamic directories using virtual resources?

So I would like to create some directories with my puppet module. (puppet 3.8) something like /var/www/apps/app1 /var/www/apps/app2 var/www/apps/app3 etc I figured i could accomplish this by creating...

View Article


upgrade to 2017.2.1 -> Razor will not restart.">I am looking for good documentation on the following error....

Notice:...

View Article


How to avoid wetness in class inheritance?

Here is a contrived boiled down example analogous to a real more complex problem I am trying to solve. I want to use class inheritance to create a new role I have. On one node I set a fact...

View Article

Failed to find facts from PuppetDB at puppet:8140

I can't understand why this is failing, given puppet was working before installing puppetdb. Note: I'm using ports 9090 and 9091 for puppetdb as opposed to the default 8080 and 8081 as another...

View Article

multiple elsif-else in nrpe template file

Hi! I am trying to generate an nrpe template file that is used by all the servers on the network. I have a general command section which is used by all the servers to have a default set of commands,...

View Article


Puppet module install ignores requirements

I am trying to install a module via `puppet module install`. puppet module install puppetlabs/apt My current Puppet version is `3.7.2`. The downloaded module version of `puppetlabs/apt` at this point...

View Article

puppetdb export in open source puppet

Hello, I just upgrade to Puppet 5.0.X and I can't find "puppetdb export" or "puppet db export" for get facts from my puppetdb instance. How can I export data from my puppetdb now ? Regards

View Article

Exec with onlyif and bash if statement

Hello, I'd like to make the below onlyif work as expected. Due to certain dependencies, I can't use file resource to ensure the contents of one file into an other. exec { 'apply_new_cert': command...

View Article


Take a class parameter which contains a names

Hey, I am trying to create a module which accepts class parameters that specifies a list of files names to be created. The class will be written by someone else and how can I accept and use the names...

View Article


`dconf write` with puppet

I am using this command to regain control of the "Alt" key on Ubuntu Desktop (for use in Blender, GIMP, Inkscape, Unity, etc) dconf write /org/gnome/desktop/wm/preferences/mouse-button-modifier '""'...

View Article

puppetlabs-stdlib file_line not finding match

Using file_line below, the match is found in the default /etc/postfix/main.cf file and replaced. Of course, running again and it is appended to file as expected. If the "append_on_no_match is changed...

View Article

puppet-agent rpm breaks firewall module

If I have puppet-agent 1.10 or 5.1.0-1 installed and try to add iptables rules via puppetlabs-firewall module it fails saying journalctl log for iptables: -- Logs begin at Fri 2017-09-01 10:38:08 PDT,...

View Article

onlyif ignored in exec

Hello Why onlyif has no effect here ? it will run the command anyway. exec { 'splunk_app_unix_linux': command => "splunk install app ${opspk_repo_source}/${opspk_app_unix} -auth...

View Article


Exec with onlyif and bash if statement

Hello, I'd like to make the below onlyif work as expected. Due to certain dependencies I can't use file resource to ensure the contents of one file into an other. exec { 'apply_new_cert': command =>...

View Article

custom type: How to handle write only properties ?

Hi, I have a software that has write only properties (yes, indeed). So, I can set a password for an application user, but I can't read it. I would like to set this password with puppet (in my custom...

View Article


Triggering self.instances from a custom type ?

As far as I understand, the puppet agent runs self.instance on all configured types in the catalog and then does it actions. RIght ? I have some custom types - If I create an instance of one of them,...

View Article

file_line match malfunction

While checking the function of file_line as per the puppet document example is not working it's appending not replacing. Code as follows file_line { 'bashrc_proxy': ensure => present, path =>...

View Article


Buy Real Registered IELTS,TOEFL,Certificates,Passports,Drivers License,ID...

Buy Real Registered IELTS,TOEFL,Certificates,Passports,Drivers License,ID Cards,Visas, ((BestDocumentation@qualityservice.com)) We offer our exclusive clients the ability to gain IELTS,TOEFL,ESOL AUTO...

View Article

Puppet 4 facts hierarchies?

I have a node with Debian 9 and system Puppet 4.8.2 which has following hierarchy: operatingsystem: Debian operatingsystemmajrelease: '9' operatingsystemrelease: '9.1' os: name: Debian family: Debian...

View Article

Error 400 on Server: uninitialized constant Puppet::Pops when using...

Hello Before i open an issue, i want ask here if someone has a similar problem, cause i don't believe this is an issue from puppetlabs/stdlib. First i think, it is an error on my puppet server. I've...

View Article
Browsing all 6104 articles
Browse latest View live