search for: masterless

Displaying 15 results from an estimated 15 matches for "masterless".

Did you mean: masterclass
2012 Jul 07
1
plugin sync in masterless mode
So, I''m reading that this works, but I''m obviously missing something somewhere, cause its not... I''m testing a masterless setup, and thus far, pluginsync isn''t doing anything. my puppet.conf looks like [main] vardir = /var/lib/puppet logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl classfile = $vardir/classes.txt localconfig = $vardir/localconfig report = tru...
2013 Nov 18
4
Puppet Masterless on Windows
Hi all, I have been working on a configuration of a Masterless configuration on Windows. I am able to get individual jobs to run like: puppet apply <path to my puppet .pp file> However, I would like to spin up the Vagrant box off a base VM, and have a puppet manifest file in a location where puppet knows to look and provision based off that file....
2012 Sep 05
6
Weird variable dependency issue + different behavior between master/masterless
...edis/redis.conf.erb"), } And redis.conf.erb contains : <% if master_host -%> slaveof <%= master_host %> <%= master_port %> <% end -%> When the hostname matches the regexp, here''s what I get in redis.conf depending on how I run puppet : - If I run puppet masterless using "puppet apply testing.pp" (with testing.pp being a simple manifest that just include the module that contains the class above) : "slaveof live-yya-redis1 6379" This is fine - But if I run puppet through "puppet agent --test", with the exact same manifest on th...
2013 Nov 05
5
Deployed custom facts with module do not show up
When I deploy a module I wrote with couple of custom facts, those facts do not show up in factor. But when I point FACTORLIB to the directory with those factor, they work just fine. I am running a masterless puppet version 2.7.22 and factor 1.7.1 The module structure looks like so: -license ---lib -----facter -------license.rb -------hardware_serial.rb -----puppet Any idea what is causing this problem or at least where to start the debugging? -- You received this message because you are subscribe...
2012 Apr 18
2
Virtual resources for a list of server ip addresses in Apache config
I have an internal web site that can only be accessed from other servers. It seems to me that I should pass an array of the addresses to the class that instantiates the template for the Apache configuration. That seems easy. The hard part is getting every node to "register" itself so that it''s IP address is added to the array. I imagine using virtual resources, e.g.
2012 Mar 06
2
Long config retrieval on nodes
...nted the nodeless, truth driven module outlined by Jordan Sissel here http://www.semicomplete.com/blog/geekery/puppet-nodeless-configuration. It''s quite an effective model, especially in the realm of EC2... we still have a puppetmaster configuration, and have decided not to go with the masterless option, since we''d like to implement a nagios module using the storeconfigs approach and exported resources. Problem is, we''re seeing large latency during agent runs, which appears to be down to the config retrieval step, so much so that we''ve needed to increase timeo...
2012 Dec 12
4
Converting puppet client to servr
Is there an easy way to convert a puppet client into being a puppet master? Here''s the scenario. I''m using puppet to configure all my systems, and would like it to be able to deploy a new puppet master as well. We have systems worldwide so having local puppet masters is very desirable for fault tolerance. So Kickstart (via cobbler) installs a puppet client during the initial
2013 Oct 31
1
Undo changes from removed class (ENC)
Hey guys, i hope someone has an idea for me. At this time im using Puppet Dashboard as enc for a masterless puppet infrastructure.No im searching for a best practise to undo the changes from a removed class. Example: In the enc I´ve added the class auth::test to a node. The class will be loaded on the next puppet apply, works fine. But now if i remove the class from the node in the enc, how is the be...
2013 Jun 25
2
how to run backtick in erb file
Hi I am very new to puppet and wants to implement something like this in my puppet template (erb file) the logic i am trying to do is : sssd_count=`rpm -qa | grep ''sssd'' | wc -l` <% if sssd_count =2 -%> session optional sss.so <% else %> session optional pam_ldap.so <% end -%> but the backtick does not work.. or i am unable to store the
2012 May 18
0
Installing RT4 with preseed on Ubuntu 12.4
Hi All, I''m trying use use puppet in masterless mode to automate the setup of an RT4 server. I''ve used the example preseed define from http://projects.puppetlabs.com/projects/1/wiki/Debian_Preseed_Patterns. I set up RT4 manually, dumped the debconf keys into a preseed file, rolled back the VM snapshot and tried to apply the manifes...
2012 Sep 14
0
puppet master replica in different data center and subnet
Any suggestions on the best way to configure a puppet master replica/puppet HA/failover in different data center and subnet? Thought about masterless puppet, but seems like it is only good for some number of puppet agents. Thanks, Myra -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/e8mMk9SG9VQ...
2012 Dec 19
1
Hiera, AIX, please help :)
Hi Everyone; First, is my understanding correct that all boxes with agents >3.0 will need to have hiera installed? I have gotten conflicting answers and I have found different answers in the documentation as well. Can anyone clear this up for me? And, if it is needed.. has anyone gotten it working on AIX? Thanks! Bee -- You received this message because you are subscribed to the Google
2013 Jun 08
4
Using yum provider to install local RPM
Hey guys, puppet n00b here. I think I already found an answer for my question here, but the topic was dated back in november of 2011, so I''m hoping things have changed since then! Here''s the topic I''m referring to. https://groups.google.com/forum/?fromgroups#!topic/puppet-users/oSHWWjMX-sE I''m running: CentOS 6.3 yum 3.2.29 puppet 3.2.1 To sum it up, I
2013 Jun 13
4
How to apply puppet manifests toa remote host?
Hi All, Am new to puppet and started writing simple manifest files. I have setup Server/Client mode for puppet and when I try to apply my manifest to local machine using "puppet agent" everything works well. Is there any option to apply the manifests to a remote machine without ssh into the machine? -- You received this message because you are subscribed to the Google Groups
2013 Oct 07
17
Sync data between various PuppetDB instances
Dear all, We have a few reasons to have various PuppetDBs (and Masters, one per cluster) in our datacenter and, eventually, there may be a need to share *only* a few exported resources between clusters, like a few ssh-keys or nagios tests. Is there a mechanism to pull and push some exported resources from one PuppetDB to another? I guess this could be done with the API, but has anybody tried it,