Re: [Puppet Users] Removal of CentOS 8 Support

2021-10-11 Thread Peter Meier
Hi Great questions! I'm adding Margaret Lee, one of our Product Managers, to help get your questions answered. She'll be back from PTO on Monday! Thanks. Just to re-iterate what I brought up a few months ago: It would be very welcoming, when Puppet ships at least a "supported" agent (or at l

Re: [Puppet Users] Removal of CentOS 8 Support

2021-09-24 Thread Peter Meier
Hi All, This is an announcement that we’ll be removing support for CentOS 8 in February 2022 because CentOS 8 is EOLed from the vendor in December 2021. For a list of other supported operating systems for your primary server, see the supported operating systems

Re: [Puppet Users] Newbie wants to know your favourite distro for Puppet Server

2021-06-17 Thread Peter Meier
On 17.06.21 02:58, Ian Mortimer wrote: > On Wed, 2021-06-16 at 05:44 -0700, Jarod Schoen wrote: > >> I went CentOS 7.9 because some body of people is saying that version >> 8 is beleaguered already... I dont know who to believe. > > You probably don't want to install CentOS 8 on any production se

Re: [Puppet-dev] Re: [Puppet Users] Upcoming changes to the rolling 'puppet' repos!

2020-12-03 Thread Peter Meier
Hi Josh, > All resolved issues should be available in nightly puppet7 builds, such > as http://nightlies.puppet.com/yum/puppet7-nightly-release-el-8.noarch.rpm > . > It'd be great to get confirmation in the next few days that

Re: [Puppet Users] Upcoming changes to the rolling 'puppet' repos!

2020-12-02 Thread Peter Meier
Hi All, > Tomorrow morning (~9am Pacific) we'll be updating the rolling 'puppet' > repos to point to the new 'puppet7' release from a couple of weeks ago. > If you're already using the 'puppet' release packages (such > as http://yum.puppetlabs.com/puppet-release-el-7.noarch.rpm >

Re: [Puppet Users] Issue with puppet6 release packages

2020-11-20 Thread Peter Meier
> * If /etc/yum.repos.d/puppet.repo exists -- you are affected. Unless > you want to be subscribed to the repo with rolling updates, you > should uninstall and reinstall the release package. > * If /etc/yum.repos.d/puppet6.repo exists -- you are not affected. So what is the intend for

REGRESSION - Re: [Puppet Users] Announcement: Release of Puppet Platform 6.0.1

2018-10-03 Thread Peter Meier
Hi All, > We're happy to announce the release of Puppet Platform 6.0.1. This is > primarily a bug release, with some improvements to Puppet, some new > features in Puppet Server, and some new component versions in Puppet > Agent. Just a heads up to everybody: There is a pretty severe regression i

Re: [Puppet Users] Announce: Puppet Platform 5.5.6 is now available!

2018-08-23 Thread Peter Meier
Hi thanks for the answer. > We hope to have another release relatively soon that allows you update > the settings (and resolve the deprecation warnings). Yeah would make sense to have that rather sooner than later. While I understand why you want to get deprecation warnings in as early as possib

Re: [Puppet Users] Announce: Puppet Platform 5.5.6 is now available!

2018-08-23 Thread Peter Meier
On 08/22/2018 08:42 PM, Molly Waggett wrote: > Puppet Platform 5.5.6 is a bug-fix, feature, and deprecations release > that includes updates for Puppet 5.5.6, Facter 3.11.4, and Puppet agent > 5.5.6. For details, see the Puppet > , Facter >

Re: [Puppet Users] Announce: Puppet Platform 5.3.4 is now available

2018-02-06 Thread Peter Meier
> The puppet agent indeed has a default config that I did not specify – > and don’t want to, I’m running with a puppetserver : > > # puppet config print environmentpath > > /etc/puppetlabs/code/environments > > # grep env /etc/puppetlabs/puppet/puppet.conf > > environment = dev > > ð Question

Re: [Puppet Users] PuppetServer 2.8 resource Leak

2017-10-18 Thread Peter Meier
> There still a leak on Trocla database connections (latest > gem/module/hiera backend). > > I've installed a puppetserver, with only a node connected on; after 5 > days, there is 240 opened connections. So, as you were changing a lot (new gem, module and switching to new backend) I'm not sure wh

Re: [Puppet Users] PuppetServer 2.8 resource Leak

2017-10-03 Thread Peter Meier
> We are on hiera v3, we only tuned "max-requests-per-instance: 5000" > because of a databases connection leak with our Trocla library. This is fixed with the trocla module 1.0.1 [1] are you on that version? best ~pete [1] https://github.com/duritong/puppet-trocla/commit/bbedb788a7951e2f69c1c2

Re: [Puppet Users] Config test when restarting a service

2015-07-06 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Notify on its own is no good, since if the exec fails, the service > gets restarted anyway. > > Require on its own is no good, since the exec runs every time. > > Is there some way to combine the two? The problem is that a notify includes a before

Re: [Puppet Users] How to use multiple versions of same module

2015-07-05 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Ultimately, it seems that we should move to librarian puppet, but > I'm not sure that that solves the basic problem, which is that I > need to have multiple versions of the same modules. > > How do I accomplish this? At the moment the best thing is

Re: [Puppet Users] Puppet open source > Puppet Enterprise

2014-10-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > We are evaluating Puppet open source for our infrastructure and so > far so (very) good. Now my question is if in the future we want to > migrate to Puppet Enterprise will be an easy job or we need > basically to re-create everything from scratch?

[Puppet Users] exported resources with puppet apply and deprecation of activerecord

2014-08-15 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, So as activerecord based storeconfigs are getting deprecated, what options to use modules with exporting & collecting resources do we have? The main problem that without a PuppetDB you are currently not able to run puppet apply without gettin

Re: [Puppet Users] Puppet copy not working

2014-07-11 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/11/2014 08:09 PM, Rich Burroughs wrote: > http://docs.puppetlabs.com/guides/file_serving.html If you intend to get more help than this, it might be worth thinking about what others could get from your statement "it throws some error". Btw: It w

Re: [Puppet Users] Hook before Puppet compiles a catalog (for pulling update from GIT)

2014-06-09 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Perhaps the prerun_command[1] configuration setting might help. It > allows you to run a command before every agent run. I use it to run > r10k. > > [1] - > http://docs.puppetlabs.com/references/latest/configuration.html#preruncommand But > this

Re: [Puppet Users] Puppet 3.6.1 Virtual Packages, and unrelated facts questions...

2014-05-23 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> I know we can set a top level default but does that really have >> to come out constantly ? > > I agree, I was thinking of filing a bug for this to request that > it's dialled down to info or notice level, if it must be printed at > all. > > Depre

Re: [Puppet Users] Workaround for user password hash

2014-02-06 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I suppose it will be useful if I share a workaround I just found > for a problem I encountered. > > I needed a "user" puppet resource to add a user and set its > password, on CentOS 6.4. The manifest was applied with no errors, > but the password wa

Re: [Puppet Users] puppet & augeas - where to put augeas definition?

2014-01-23 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi > Per the snippet above, I'm simply trying to add in an extra entry > into my /etc/apt/sources.list but I'm not sure where I would > actually put the above piece of code. I currently have it sitting > in my init.pp file for the corresponding class

Re: [Puppet Users] The Future - ENCs vs Hiera?

2014-01-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > But as I'm starting down the road of writing *another* ENC - > hopefully "a good one" this time - and more and more people whose > advice and knowledge I've respected for years say "use Hiera", I'm > starting to wonder if either (a) I'm totally missi

Re: [Puppet Users] Upgrade from Puppet 2.7.20 to latest !!!

2013-11-15 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > But the problem is that I have a lot of modules (downloaded from > forge and few of my own) which used by hundreds of puppet clients. > > I need to know 1) Will the functionality of these modules get > affected after this upgrade ? There might be s

Re: [Puppet Users] hiera oddities

2013-09-28 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > My current setup has a puppet master and an agent. On both I have > the same /etc/hiera.yaml file linked into the /etc/puppet > directory. I've also been able to confirm that hiera is seeing the > right json files in /var/lib/hiera. Note: if you w

Re: [Puppet Users] Re: Understanding how Puppet SSL works !

2013-04-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Thanks for the reply. It turns out "puppet cert clean" is not good > enough, one has to restart either puppetmaster or the httpd service > (I am running puppetmaster behind apache) to clean it up from > memory. Yes, this is a long outstanding bug in

Re: [Puppet Users] Question on Variable Scope

2013-04-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Is there a way to export a $variable from a node so it can be read > when the node processes one of its inherited modules? Is there > something I can put in the inherited node like import $variable > before the included modules execute? > > FYI run

Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Is there a setting or search path I need to create? > > Details: > > puppet 3.0.1 facter 1.6.14-1.el6 I don't think this is supported in facter 1.6. One used to have the stdlib module for it until facter 1.7 should be released, which will provide

Re: [Puppet Users] Reassigning value of class declared in templates file

2013-03-26 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Does anyone have any ideas host to do this? Do not use node inheritance, simply don't - it will hurt you badly at some point. It does not work in the same way as class inheritance does. And also class inheritance should not used that widely (more o

Re: [Puppet Users] Query for file synchronization

2013-03-21 Thread Peter Meier
*My requirement:* Let say file on master server *test_1.txt *got modified by some binary. After modification I want to replicate the changes instantly on all other nodes (agent nodes/servers). Do puppet synchronize the file instantly to all servers? No, puppet nodes usually pull a new catalog fr

Re: [Puppet Users] Passing variables from one template to another "included" template

2013-03-20 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > So what options do I have in 3.x to address my requirements? > Something that would also work on < 3.x would be nice. I figured out that I can achieve that with an extended templatewrapper: http://forge.puppetlabs.com/duritong/templatewlv ~pete ---

Re: [Puppet Users] Puppet modifying directories by executing shell script as non-root user results in kernel-level insufficient privilege complaints

2013-03-19 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > [root@host]# su postgres > > bash-4.1$ ./initializePostgres.sh (in SELinux terms) this is not the same as bash initializePostgres.sh Maybe try with the following exec: exec{'postgres init': command => '/applications/module/initializePostgres.sh

Re: [Puppet Users] OS specific configuration

2013-03-19 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Does Facter need direct connection to clients ? If yes I cannot use > it since my clients are behind firewalls/routers. facter runs on the clients before the client asks (with the gathered facts) the master for the catalog. In your manifests you ca

Re: [Puppet Users] Error: stack level too deep

2013-03-19 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > The problem is that when I install activerecord-mysql-adapter it > automatically install the latest activerectord gem Is there a way > to disable it or there is a fix for activerecord gem? Maybe install an older mysql-adapter? ~pete -BEGIN PGP

Re: [Puppet Users] Error: stack level too deep

2013-03-19 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I've eliminated a few duplicate gems and installed the most recent > rails (mind I'm no ruby developer so I'm going blind here) This seems to be the problem that newer activerecord will get into an endless loop while serializing. I use the followin

Re: [Puppet Users] How to loop through entries in nodes definition for puppet

2013-03-19 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I'd like to print out the above using my template file, however I > can't be certain of how many entries will exist, I want to end up > with a file like so: pass a hash to your ip::addr define and loop over keys/values as indication which interfaces

[Puppet Users] Passing variables from one template to another "included" template

2013-03-19 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I have the following basic requirement to pass variables from one template to another "included" one: #some_template.erb <%- [:foo, :bar].each do |state| %> <%= scope.function_template('some/other_template.erb') %> <%- end %> # some/other_

Re: [Puppet Users] Does facter 2.x need cfengine key support?

2012-12-07 Thread Peter Meier
On 12/07/2012 03:24 AM, John Warburton wrote: > We were tripped up (we shot ourselves) on facter 1.6.x looking in a missing > NFS mounted /usr/local, which got me thinking - does facter 2.x really need > this? > > https://github.com/puppetlabs/facter/blob/2.x/lib/facter/Cfkey.rb And why shouldn't

Re: [Puppet Users] puppet agent cache files used in exec?

2012-11-28 Thread Peter Meier
> Could puppet cache /root/.my.cnf and reread it only after reboot. > I see no other explanation. Is it bug? No, puppet does nothing like that. It's strange that it works *now* but I would say the problem is definitely somewhere else. ~pete signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] in-module data with hiera

2012-10-02 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/30/2012 05:01 PM, Ashley Penney wrote: > This is -exactly- what I've wanted in my modules since I heard of > Hiera and I am strongly supporting this proposal. I'll be > experimenting with your gem. I can't give this enough support as > this i

Re: [Puppet Users] any cobbler management modules out there?

2012-01-21 Thread Peter Meier
> Cobbler manages all its internal info. To get Puppet to manage it > would, IMO, either involve hacking Cobbler or wrapping Cobbler > command line calls in Puppet "exec" resources. Cobbler has also an API you can talk to. There is a cobbler gem [1], [2] that provides you an easy way to interact

Re: [Puppet Users] uppet and ruby 1.9

2011-12-14 Thread Peter Meier
Are there still any known issues with puppet and ruby 1.9? Or 1.8.7 is still the preferred version to use with puppet? latest 2.7 is imho fully supported by 1.9 ~pete -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

Re: [Puppet Users] Escaping Quotes

2011-11-21 Thread Peter Meier
Zitat von Max Schubert : How about using the alternate single quotes in ruby %q{string string string} puppet manifests are not ruby code. ~pete -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-use

Re: [Puppet Users] Escaping Quotes

2011-11-21 Thread Peter Meier
exec { 'oracle-extract-part': command => "/usr/bin/printf \"n\np\n2\n2091\n+16384M\nw\n\" | /sbin/fdisk /dev/xvdj", unless => "/bin/cat /proc/partitions | /bin/grep ${orcl_ephm_device}2"; } if you don't need to interpolate a variable, you can simply use single

Re: [Puppet Users] Puppet Dashboard 1.2.2; node report; change sort in log tab

2011-11-11 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/07/2011 08:55 PM, Stefan Heijmans wrote: > The sorting in the log tab on a node report seems to be on the > level column, which is hard to read when multiple changes take > place, as notice and info of the actions are on the top and bottom > of t

Re: [Puppet Users] How does puppet copy files?

2011-11-11 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > When agent notices that master.passwd should be refreshed, how > exactly does copy process happen? Is it atomic (e.g. fetch to some > temp filename on local filesystem and then rename)? it does it this way. ~pete -BEGIN PGP SIGNATURE- Ver

Re: [Puppet Users] Hiera - How to set a parameter to the value false

2011-11-11 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I've been using hiera for a few weeks now, but I'm stuck now trying > to set a value to false > > Basically, I have a class that read its parameter in hiera, and in > a yaml file I have the following code: > > --- use_ecrypt_fs: true server_region:

Re: [Puppet Users] organizing Ruby DSL manifests

2011-11-02 Thread Peter Meier
> Thanks Chris, that's helpful. I am wondering if I should be mixing > Ruby DSL manifests with the Puppet DSL manifests. Is there any > recommended practice for keeping both styles together? Afaik you can mix both DSL. If one file in a module ends with .rb it's ruby dsl, if it ends with .pp it's

Re: [Puppet Users] severe bug in 2.6.12: Caught TERM; calling stop

2011-11-01 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/01/2011 02:50 AM, Jo Rhett wrote: > Mon Oct 31 23:03:31 + 2011 Puppet (notice): Caught TERM; > calling stop > > Ever since the 2.6.12 upgrade I've been seeing these reports reach > us. As in, about a hundred of a half thou machines. Most of

Re: [Puppet Users] Regenerating puppet master certificate

2011-10-26 Thread Peter Meier
Wish I could've found that in the docs. This will certainly get me going again. Sounds like a ticket for puppet documentation... ~pete -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegro

Re: [Puppet Users] [ask] Upgrade for CVE-2011-3872 AltNames Vulnerability

2011-10-26 Thread Peter Meier
Is it ok if i just upgrade puppetmaster to 2.6.12 and still using old puppet.conf with certdnsnames? The certdnsnames have been abandonned in favor of a new option: http://docs.puppetlabs.com/references/stable/configuration.html#certdnsnames And if your current client certificates contain a

Re: [Puppet Users] Re: Using puppet to install debian packages from backports

2011-09-25 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi > I'll try to setup apt-pinning. the apt module @ https://labs.riseup.net/code/projects/shared-apt/ Can help you by setting up pinning: https://labs.riseup.net/code/projects/shared-apt/repository/revisions/master/entry/README#L303 ~pete -BE

Re: [Puppet Users] Variable number of variables in external node output...

2011-09-21 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > 1) Use a template. Templates have embedded ruby code and run on the clients. template() is a function and as any other function it will run on the server. ~pete -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG w

Re: [Puppet Users] Re: Puppet 2.7.3 Cannot alias .. already defined

2011-09-17 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > A single manifests works fine, but this is not the only module I have > where I set permissions using the sysconfig::permissions module. Ah, now I as I read your problem better: The error indicates more that you name two resources with the same name

Re: [Puppet Users] Puppet 2.7.3 Cannot alias .. already defined

2011-09-16 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I would reference from back from the sysconfig::permissions module to > the ntp module file by specifying > name => "/var/lib/ntp" > > Do I need to change all my modules because I used a feature of puppet > which should not be there, and if so, how

Re: [Puppet Users] OpenBSD/i386 Puppet 2.7.3

2011-09-16 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I expect the default user provider should be useradd(8) but > ProviderUseradd seems to be looking for 'chage' binary which isn't > used on OpenBSD. I've checked out the 'Puppet OpenBSD' doc but didn't > find anything applicable. Searching archives an

Re: [Puppet Users] Storeconfigs seem slow

2011-09-12 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > The good thing with this method is that you can manage the module > directory (where the different config file excerpts are stored) with > 'purge => true' so that only exported resources are present in the final > nagios configuration (something that

Re: [Puppet Users] Storeconfigs seem slow

2011-09-12 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > We're at about the 100 hosts, but have closer to 1500 services - maybe we > have exceeded what storeconfigs can do then. If that is the case, is there > a recommended alternative that isn't manually maintaining config files? Just to be clear: Afte

Re: [Puppet Users] A new-to-puppet question

2011-09-09 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Let me start by saying I'm really jazzed by what i'm uncovering on the > *nix front with Chef - seems like a LOT of what I'm looking for is > already done. > > Is there a writeup somewhere that shows/documents manipulating an esx > server/creating/c

Re: [Puppet Users] Re: The require function

2011-09-08 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> You've seen this with your own resources where the parent is a directory and >> the child is a file? >> Please bug report, as it's been a very long time since that autorequire was >> put in (0.24.x ? 0.25.x?), and I haven't seen a reported bug since

Re: [Puppet Users] small problem with init script on RHEL6

2011-09-07 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > This change in the init script fixed the problem: > > #pidfile=/var/run/puppet/puppetmasterd.pid > pidfile=/var/lib/puppet/run/puppetmasterd.pid > > Is that a bug worth reporting? I would, at least somebody can then decide if it's really a bug or

Re: [Puppet Users] undefined method `function_extlookup'

2011-09-07 Thread Peter Meier
On 09/07/2011 11:44 AM, piavlo wrote: > Trying to use extlookup from within template i use > > <%= scope.function_extlookup("blah") %> > > but get the undefined method `function_extlookup' error > > According to > http://docs.puppetlabs.com/guides/templating.html#access-to-variables-and-puppet-

Re: [Puppet Users] Re: The require function

2011-09-06 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Well this is all awfully confusing. The documentation pretty clearly > says that using the require function automatically adds that class as > a dependancy. If so, why would I need to explicitly add require => to > resources? If I had to do that, I'd

Re: [Puppet Users] Question on accessing a variable from another class

2011-08-09 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > modules/rep/templates/test_template.xml.erb > > > But for reusable modules etc. I would recommend you to look into hiera [1] and to combine it with parametrized classes as shown in [2], it makes it quite easy and really extensible. ~pete [1]

Re: [Puppet Users] Re: Unable to display Filebucket in Dashboard 1.2rc3 : We're sorry, but something went wrong

2011-08-07 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Also I noticed I can only read the first file, the changed file, not > the second, the original (content changed '{md5} > 70c1c6de6d4b1a02ec32b463e4d255b0' to '{md5} > 78124298c2b4c1e63658599a2c208853') : > > info: FileBucket read 70c1c6de6d4b1a02ec

Re: [Puppet Users] Workaround to "Provider groupadd does not support features manages_members" ?

2011-08-07 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi > I wanted to manage a couple of groups membership, under RedHat, > without managing the users (as they are LDAP users) but found out it > is not supported Is there a workaround to this? As denmat mentioned as well I would generally try to avo

Re: [Puppet Users] Step by step guide to setting user passwords

2011-08-03 Thread Peter Meier
On 08/03/2011 04:44 PM, Matthew J Black wrote: > Not sure if that'll work right but one option is you should be able to use > the generate function in the manifest to make an external call within the > puppetmaster to create the encrypted password. The downside is that its > going to execute every

Re: [Puppet Users] pluginsync before catalogue?

2011-08-03 Thread Peter Meier
> Its my understanding the 'customfact1' fact is meant to be transferred > to the host as part of the pluginsync process before the catalogue is > rendered, but this doesn't seem to be happening on our new builds from > the above error. Yes it works exactyl that way. > Does anyone have any insigh

Re: [Puppet Users] Step by step guide to setting user passwords

2011-08-03 Thread Peter Meier
>> Can someone walk me through the steps of sending out a password to all >> my computers for user "student." > > I do this a lot: > > yes 'PASSWORD' | passwd username > > Then you can extract the password from /etc/shadow > > also see here: > > http://serverfault.com/questions/87874/how-shou

Re: [Puppet Users] Re: Puppet 2.7.1, variable scoping, best practices

2011-08-02 Thread Peter Meier
On 08/02/2011 04:20 AM, Aaron Grewell wrote: > I recommend taking a look at R I Pienaar's alternative extlookup > implementation. It supports YAML in addition to csv which allows for the > full range of available variable types to be pulled in from external > sources. I've combined this with a Y

Re: [Puppet Users] Facter 1.6.0 and CentOS 6.0

2011-08-01 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> Is this a known issue? Is there any work-around? It's really breaking my >> CentOS 6 servers' ability to find their REPOs. :-) > > You need to have the lsb_release command installed for the lsb* results > to appear. > > Fedora/Redhat have it in t

Re: [Puppet Users] Master failover and cert names.

2011-07-31 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I know that there's a 'certname' option but it looks like it's only valid in > the [agent], not the master section. How do I do this? It works in the master section as well. ~pete -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Com

Re: [Puppet Users] Is class?

2011-07-29 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > It just seemed to me that there must be some way to derive what is > installed on the client within a manifest but I couldn't find any > suggestions on Google or PuppetLabs site so I asked. Manifests are compiled to a catalog on the master. The cata

Re: [Puppet Users] Upgrading 0.25.5 to 2.7.1

2011-07-27 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/28/2011 12:09 AM, Nick Moffitt wrote: > vagn scott: >> Funny you should mention that. I have been playing around with >> separating the puppetmaster config from the agent config. See here: >> >> http://agawamtech.com/blog/?p=383 > > I solv

Re: [Puppet Users] Random error in the recovery catalog

2011-07-25 Thread Peter Meier
> I have about 130 customer puppet. > I left the default time interval. Are you still running with default webrick on the puppetmaster? (If you didn't change anything, then yes you are). If yes, it's time to scale out and use either a Mongrel or Passenger-based Setup: http://projects.puppetlabs.c

Re: [Puppet Users] Accessing puppet.conf settings in a manifest

2011-07-25 Thread Peter Meier
On 07/25/2011 05:07 AM, Zain Memon wrote: > Is there some way I can access variables from puppet.conf (e.g. > $confdir) in my manifest? ${settings::confdir} but in a master client/setup these are the settings from the master. So what you want to do is to write a custom fact that exposes your setti

Re: [Puppet Users] lstat on a large dir done by puppet

2011-07-25 Thread Peter Meier
> The swapfiles is a large directory with lots of files. Is there a way > to avoid this, since its taking lots of time to compile the catalog > from the puppetmaster. Can i somehow prevent this? I guess it's not during compilation, as this happens on the master, rather while applying the catalog.

Re: [Puppet Users] Re: Not getting errors/warnings/etc in reports

2011-07-21 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> I'm guessing I'll have to write my own to do that -- does anyone have >> any examples of logging the error message and also adding it to the >> report object? (... and I don't really want to use the exec { >> "/bin/false": } workaround) > > Diggi

Re: [Puppet Users] Re: Seemingly random failures after 2.7.1 upgrade

2011-07-15 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > same problem for me.. I've notice the problem on modules using > autoloading... > > I think I will stick to version 2.6.9... can you at least file a detailed bug report? Thanks! Otherwise the situation can't be really improved... ~pete -BEGIN

Re: [Puppet Users] puppet manifest execution orders

2011-07-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/13/2011 08:51 AM, Roni wrote: > I created manifest for our webserver. manifest included git clone, > database creation and restore database etc How to order the > installation and exec exactly by using require, before, notify, subscribe...

Re: [Puppet Users] Re: how to write classes to install package from source

2011-07-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/12/2011 12:19 PM, Al @ Lab42 wrote: > You might find this define useful ( > https://github.com/example42/puppet-modules/blob/master/common/manifests/defines/netinstall.pp > > ): > or as a general best practice you might want to build your ow

Re: [Puppet Users] Seemingly random failures after 2.7.1 upgrade

2011-07-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Is using an empty class in init.pp problematic ? All of these modules > worked just fine before going from 2.6.8 to 2.7.1. I have no idea, whether this is the problem. But why do you do: > # manifests/init.pp > import "classes/*.pp" > > class kv

Re: [Puppet Users] Re: A Question about mixing Puppet with other things

2011-07-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/12/2011 05:26 PM, Dan White wrote: > This tells me RedHat picked Foreman over Cobbler. It does not tell > me WHY. > > Their reasons may not apply to my situation. > > I am not trying to be difficult, but I find that I cannot accept an > opinio

Re: [Puppet Users] proposed syntax: order { }

2011-07-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This > file { "a": > path => " aaa ", > before => Exec[ "b" ], > } > > exec { "b": > command => "bbb", > before => File[ "c" ], > } > > file { "c

Re: [Puppet Users] Re: puppet master and puppet client running very slow

2011-07-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > File: 1539.03 This indicates clearly a problem in serving files, so does the other error you posted. As others asked: Are you still running with Webrick (means default puppetmaster without setting up passenger/mongrel)? And how many c

Re: [Puppet Users] Re: err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "File[]"

2011-07-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/04/2011 08:49 PM, Michael Halligan wrote: > Forgive my cluelessness, but why is it so difficult for Puppet to at least > tell me what file this came from like 90% of other errors I've encountered? I don't think there is a particular reason. Did

Re: [Puppet Users] Re: puppet master and puppet client running very slow

2011-07-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > as i m able to see that puppet master taking around 7-8 seconds to > compiler catalog > and puppet client taking around 1106 second to apply catalog . run the client with --summarize and see on which resource types it is spending most of the time, t

Re: [Puppet Users] Ruby 1.8.7 manifest

2011-07-04 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi > If you have used a public accessible manifest for ruby 1.8.7 ree or > you are willing to share ... I am looking for one! I would look on how to generate packages for your distro for REE (if they aren't yet available) put them in a local reposito

Re: [Puppet Users] Ruby script to download files without 'puppet agent'

2011-06-29 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > [root@foo me]# ./puppet-wget file_content/sudo/sudoers > https://foo.bar:8140/file_content/sudo/sudoers > warning: peer certificate won't be verified in this SSL session > /usr/lib/ruby/1.8/net/http.rb:2099:in `error!': 403 "Forbidden request: > foo.

Re: [Puppet Users] How to add extra lines in the existing files?

2011-06-23 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >>> I am hesitant for us to put something like this in the core distribution >>> though, simply because we know it's a maintenance problem over time. >> >> Fair enough. >> >> Though I imagine not having this feature will lose puppet some people. > > T

Re: [Puppet Users] Concat Module posted to Onyx Point Github.

2011-06-12 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi > After an hour or three of hacking, I've managed to add the insync? checks to > both the build and fragment types. It's the first time I've ever really > messed with types and providers, so it's very ugly (and probably has bugs), > however I'm

Re: [Puppet Users] Server side filebucket issue

2011-06-03 Thread Peter Meier
filebucket { puppet: server => puppetmaster-cbr.it.csiro.au } you need to add path => false, as you're hitting a long outstanding bug. [1] ~pete [1] http://projects.puppetlabs.com/issues/5362 -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Re: "Open Source Team" planning meeting summary

2011-06-01 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi First, I would like to thank for that open process and the commitment you are putting into that. And I'm really excited that there is now a team dedicated to address the things in core puppet. Awesome! Thanks! However, as this thread seemed to bec

testing new puppet versions - was Re: [Puppet Users] enabling of 'thin_storeconfigs'

2011-05-27 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi >> I'd avoid any version of puppet that ends in a "0" like the plague if you >> want stability. > > > The project has been steadily improving in this regard, but it's definitely > been a problem. > > I have great hopes for 2.7.0 though, and the

Re: [Puppet Users] PC EU feedback: exported resource syntax is too magical, hard to read

2011-05-24 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > If you really want to simplify people's life, make those extra > attributes become metaparameters (but please keep the old syntax): > > user { luke: ensure => present, virtual => [boolean] } > > That would even allow us to parametrize virtuality/ex

Re: [Puppet Users] Re: Applying Catalogs

2011-05-24 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Yushu, > My case is a little bit different. Because my webserver might need the IP > address of the mysql node, and before mysql node is deployed and configured, > it's IP address is not known. you should probably look into exported resources and

Re: [Puppet Users] ruby 1.9.2 rpms for testing

2011-05-24 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi > I noticed from the list that puppet is not ready for ruby 1.9.2 yet. > I'm working at a ruby shop so I gave a shot at building ruby 1.9.2 rpms > with supporting gems for RHEL/CentOS. I have ruby-1.9.2 rpms that > replace the vendor rpms and ru

Re: [Puppet Users] Fun with hashes and ERB

2011-05-20 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Thanks, that worked perfectly! I had no idea key and value were reserved > words. they aren't and imho your example looks quite fine. But as you didn't post the erb error in the first place, it's hard to tell what is actually really wrong. ~pete -

[Puppet Users] Next SPUG Meeting 19.5.2011 @swisstopo in Bern - 19.00 o'clock

2011-05-10 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Swiss Puppet User Group (SPUG) meets again on Thursday 19th May. If you like to attend the meeting, please announce your attendance to Hanspeter Christ (hanspeter.christ(at)swisstopo.ch), as noted in the announcement mail. If you like to receive

Re: [Puppet Users] parse puppet yaml in java

2011-04-29 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I am playing with snakeyaml and trying to use a custom class to parse > yaml returned by puppet as mentioned in > http://code.google.com/p/snakeyaml/wiki/Documentation#Custom_Class_Loader > > But I am not sure how to deal with "--- !ruby/object:Pupp

Re: [Puppet Users] Re: Passenger

2011-03-21 Thread Peter Meier
> Thanks for the reply. Is there a way to install passenger without a > compiler? Friends of Phusion (Passenger People) are now providing RPMs for Passenger: http://blog.phusion.nl/2011/01/04/phusion-passenger-native-packages-for-redhatfedoracentos/ ~pete -- You received this message because yo

  1   2   3   4   5   6   7   >