Re: [Puppet Users] custom facts

2014-12-26 Thread kaustubh chaudhari
Thanks for the Reply Felix. I found out my mistake. my script was not providing the data in the key=value format. I modified the script and now works fine. Thanks for asking!! Cheers and Happy Vacation! With Warm Regards Kaustubh.A.Chaudhari (M)-09373102619 On Tue, Dec 23, 2014 at 7:02 PM, Fel

Re: [Puppet Users] Reading configuration from UI.

2014-12-26 Thread glosterj9
Hi, Thanks a lot for your reply. MCollective is a separate PuppetLabs product that provides remote control of machines configured to respond to it. From what you have said so far, I don't see MCollective being relevant to your problem. On the other hand, I'm still not altogether clear on the

[Puppet Users] Use ftp as source for file

2014-12-26 Thread Илья Захаров
Hi there! I want to get files which are missing on the nodes on FTP So for test i write something like this: file { '/home/user1/conf/tempconf1.xml' : ensure => present, source => 'ftp:///192.168.209.23/temp', } and i have a error "Cannot use URLs of type 'ftp' as source for fileserv

[Puppet Users] puppet-server 0.4.1 - malformed DN provided by HTTP header x-client-dn

2014-12-26 Thread Kevin DeGraaf
Hello, I am evaluating Puppet Enterprise 3.7.1, which includes puppet-server 0.4.1. I am terminating SSL at an Nginx reverse proxy, using a configuration which works fine with the old Apache/Passenger stack: proxy_set_header X-Client-Verify $ssl_client_verify; proxy_set_header X-Client

[Puppet Users] Puppet Dead but pid file exists

2014-12-26 Thread Rushyang Darji
Hi Guys, I have setup Puppet Server Dashboard which so far worked fine. But while creating a Puppet Agent, I am facing an issue where puppet-server doesn't receive any certification requests. I googled and came to know that I should check if puppetmaster service is up and running on puppet-ser

[Puppet Users] Transferring files from node to node

2014-12-26 Thread Gin
Hello Everyone, I want to share a file across several nodes using exported resources. The example configuration that I use looks like this: http://pastebin.com/ZMEbBAW4 I've tried both, with source = file://XXX and source = XXX. I have a /tmp/input file on the "source_node" and expect it to be r

[Puppet Users] selinux / selboolean error

2014-12-26 Thread Paul Raines
In the manifest/init.pp of a module I am writing in puppet 3.6.2 I have if $selinux { selboolean { 'authlogin_nsswitch_use_ldap': persistent => true, value => on, } } How when this runs on machine with selinux disabled (facter clearly shows $selinux is fal

Re: [Puppet Users] selinux / selboolean error

2014-12-26 Thread Sebastian Otaegui
When you run facter on the node do you get the right value? On Tuesday, December 23, 2014, Paul Raines wrote: > In the manifest/init.pp of a module I am writing in puppet 3.6.2 I have > > if $selinux { >selboolean { 'authlogin_nsswitch_use_ldap': > persistent => true, >

Re: [Puppet Users] selinux / selboolean error

2014-12-26 Thread Johan De Wit
facter returns strings, and "false" (the string) evaluates to true. if $selinux == "true" ?? On 26/12/14 17:01, Sebastian Otaegui wrote: When you run facter on the node do you get the right value? On Tuesday, December 23, 2014, Paul Raines > wrote: In the ma

Re: [Puppet Users] Use ftp as source for file

2014-12-26 Thread Felix Frank
Hi, support for HTTP is a long standing feature request. https://tickets.puppetlabs.com/browse/PUP-1072 It's currently work in progress, you can expect it in version 4.1, perhaps even 4.0. As for FTP, I'm a little doubtful that support will go mainline any time soon, or at all. In the meantime,

Re: [Puppet Users] Transferring files from node to node

2014-12-26 Thread Felix Frank
Hi, I assume that you're hoping for the export to pick up file contents on the exporting agent node and distribute it to all collecting nodes, yes? This cannot work. Exported resources are basically just key/value containers. The collecting catalog will just receive a resource with a `source` par

Re: [Puppet Users] Disabling a module on a particular node type ...

2014-12-26 Thread Felix Frank
Hi, On 12/16/2014 06:14 PM, Matt Wise wrote: > We're using Puppet to build up a few docker containers, and we find > that the puppetlabs-firewall module throws some errors during initial > compilation. These errors are ignorable ... but they're obnoxious. Is > there a way to explicitly disable a m

[Puppet Users] Did PE 3.7 kills r10k?

2014-12-26 Thread Vadym Chepkov
Hi, I really hope I am mistaken, but it seems you can't use r10k with it's full potential anymore in Puppet Enterprise 3.7. In the past (PE3.3) I could create any branch, feature_something, in git repository. r10k would create a branch/environment ​ ​ and I ​ could ​ ​ apply it from the command l